updated to gpt-4o

This commit is contained in:
ShubhamSaboo 2024-10-16 20:59:36 -05:00
parent d70d8701b7
commit e59dae8fb9

View file

@ -7,7 +7,7 @@ from embedchain import App
def embedchain_bot(db_path, api_key):
return App.from_config(
config={
"llm": {"provider": "openai", "config": {"model": "gpt-4-turbo", "temperature": 0.5, "api_key": api_key}},
"llm": {"provider": "openai", "config": {"model": "gpt-4o", "temperature": 0.5, "api_key": api_key}},
"vectordb": {"provider": "chroma", "config": {"dir": db_path}},
"embedder": {"provider": "openai", "config": {"api_key": api_key}},
}