jeonghin commited on
Commit
666ff20
1 Parent(s): 26c25ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
  )