Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def get_conversation_chain(vectorstore, model_name):
|
|
67 |
memory = ConversationBufferMemory(memory_key='chat_history', return_messages=True)
|
68 |
|
69 |
conversation_chain = ConversationalRetrievalChain.from_llm(llm=llm,
|
70 |
-
condense_question_prompt=CONDENSE_QUESTION_PROMPT
|
71 |
retriever=vectorstore.as_retriever(),
|
72 |
memory=memory
|
73 |
)
|
|
|
67 |
memory = ConversationBufferMemory(memory_key='chat_history', return_messages=True)
|
68 |
|
69 |
conversation_chain = ConversationalRetrievalChain.from_llm(llm=llm,
|
70 |
+
condense_question_prompt=CONDENSE_QUESTION_PROMPT,
|
71 |
retriever=vectorstore.as_retriever(),
|
72 |
memory=memory
|
73 |
)
|