taaha3244 itbyouri commited on
Commit
fb67cc1
1 Parent(s): 27e2e36

Update utils.py (#3)

Browse files

- Update utils.py (f921450b1288b880a79b365a5655d8fabf8b529a)


Co-authored-by: Youri Itterbeek <itbyouri@users.noreply.huggingface.co>

Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -22,7 +22,7 @@ def format_document_metadata(docs):
22
 
23
  def openai_llm(api_key: str):
24
  """Get a configured OpenAI language model."""
25
- return ChatOpenAI(model_name="gpt-3.5-turbo", temperature=0, openai_api_key=api_key)
26
 
27
  def delete_collection(collection_name, qdrant_url, qdrant_api_key):
28
  """Delete a Qdrant collection."""
 
22
 
23
  def openai_llm(api_key: str):
24
  """Get a configured OpenAI language model."""
25
+ return ChatOpenAI(model_name="gpt-4o", temperature=0, openai_api_key=api_key)
26
 
27
  def delete_collection(collection_name, qdrant_url, qdrant_api_key):
28
  """Delete a Qdrant collection."""