Update outdated 'OpenAI' Model (#735)
This commit is contained in:
@@ -11,7 +11,7 @@ Our app gives you full control over which components you want to use, you can mi
|
|||||||
<Tip>
|
<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
|
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)
|
* Embedder: OpenAi (text-embedding-ada-002)
|
||||||
* Database: ChromaDB
|
* Database: ChromaDB
|
||||||
</Tip>
|
</Tip>
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ class OpenAILlm(BaseLlm):
|
|||||||
messages.append(SystemMessage(content=config.system_prompt))
|
messages.append(SystemMessage(content=config.system_prompt))
|
||||||
messages.append(HumanMessage(content=prompt))
|
messages.append(HumanMessage(content=prompt))
|
||||||
kwargs = {
|
kwargs = {
|
||||||
"model": config.model or "gpt-3.5-turbo-0613",
|
"model": config.model or "gpt-3.5-turbo",
|
||||||
"temperature": config.temperature,
|
"temperature": config.temperature,
|
||||||
"max_tokens": config.max_tokens,
|
"max_tokens": config.max_tokens,
|
||||||
"model_kwargs": {},
|
"model_kwargs": {},
|
||||||
|
|||||||
Reference in New Issue
Block a user