Przeglądaj źródła

Update outdated 'OpenAI' Model (#735)

Prikshit 1 rok temu
rodzic
commit
7a1866d280
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      docs/advanced/app_types.mdx
  2. 1 1
      embedchain/llm/openai.py

+ 1 - 1
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>

+ 1 - 1
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": {},