annas4421 commited on
Commit
41d137b
·
verified ·
1 Parent(s): 8531bb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def get_vectorstore(chunks):
62
 
63
  # Create a conversational chain
64
  def get_conversationchain(vectorstore):
65
- llm = ChatOpenAI(temperature=0.4, model_name='gpt-4')
66
  memory = ConversationBufferMemory(memory_key='chat_history', return_messages=True)
67
  return ConversationalRetrievalChain.from_llm(
68
  llm=llm,
 
62
 
63
  # Create a conversational chain
64
  def get_conversationchain(vectorstore):
65
+ llm = ChatOpenAI(temperature=0.4, model_name='gpt-4o-mini')
66
  memory = ConversationBufferMemory(memory_key='chat_history', return_messages=True)
67
  return ConversationalRetrievalChain.from_llm(
68
  llm=llm,