Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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-
|
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,
|