Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -88,7 +88,7 @@ def get_conversation_chain(vectorstore):
|
|
| 88 |
- ConversationalRetrievalChain: An initialized conversational chain object.
|
| 89 |
"""
|
| 90 |
try:
|
| 91 |
-
llm = ChatOpenAI(model_name="gpt-4o")
|
| 92 |
memory = ConversationBufferMemory(
|
| 93 |
memory_key="chat_history", return_messages=True
|
| 94 |
)
|
|
|
|
| 88 |
- ConversationalRetrievalChain: An initialized conversational chain object.
|
| 89 |
"""
|
| 90 |
try:
|
| 91 |
+
llm = ChatOpenAI(model_name="gpt-4o", temperature=0.5, top_p=0.5)
|
| 92 |
memory = ConversationBufferMemory(
|
| 93 |
memory_key="chat_history", return_messages=True
|
| 94 |
)
|