Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

Update outdated 'OpenAI' Model (#735)

Prikshit7a1866d28020
diff --git a/docs/advanced/app_types.mdx b/docs/advanced/app_types.mdx
index 8ff600af5..d8a8f54fd 100644
--- a/docs/advanced/app_types.mdx
+++ b/docs/advanced/app_types.mdx
@@ -11,7 +11,7 @@ Our app gives you full control over which components you want to use, you can mi
<Tip>
Out of the box, if you just use `app = App()`, Embedchain uses what we believe to be the best configuration available. This might include paid/proprietary components. Currently, this is
-* LLM: OpenAi (gpt-3.5-turbo-0613)
+* LLM: OpenAi (gpt-3.5-turbo)
* Embedder: OpenAi (text-embedding-ada-002)
* Database: ChromaDB
</Tip>
diff --git a/embedchain/llm/openai.py b/embedchain/llm/openai.py
index 5e3191a63..22189b036 100644
--- a/embedchain/llm/openai.py
+++ b/embedchain/llm/openai.py
@@ -27,7 +27,7 @@ class OpenAILlm(BaseLlm):
messages.append(SystemMessage(content=config.system_prompt))
messages.append(HumanMessage(content=prompt))
kwargs = {
- "model": config.model or "gpt-3.5-turbo-0613",
+ "model": config.model or "gpt-3.5-turbo",
"temperature": config.temperature,
"max_tokens": config.max_tokens,
"model_kwargs": {},