Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def get_vectorstore(chunks):
|
|
63 |
|
64 |
# generating conversation chain
|
65 |
def get_conversationchain(vectorstore):
|
66 |
-
llm=ChatOpenAI(temperature=0.
|
67 |
memory = ConversationBufferMemory(memory_key='chat_history',
|
68 |
return_messages=True,
|
69 |
output_key='answer') # using conversation buffer memory to hold past information
|
|
|
63 |
|
64 |
# generating conversation chain
|
65 |
def get_conversationchain(vectorstore):
|
66 |
+
llm=ChatOpenAI(temperature=0.4,model_name='gpt-4o-mini')
|
67 |
memory = ConversationBufferMemory(memory_key='chat_history',
|
68 |
return_messages=True,
|
69 |
output_key='answer') # using conversation buffer memory to hold past information
|