Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ def setup_conversation_chain():
|
|
99 |
# memory=memory,
|
100 |
# combine_docs_chain_kwargs={"prompt": PROMPT}
|
101 |
# # condense_question_prompt=CUSTOM_QUESTION_PROMPT
|
102 |
-
)
|
103 |
chain = (
|
104 |
{"context": vector.as_retriever(search_kwargs={'k': 5}) | format_docs, "question": RunnablePassthrough()}
|
105 |
| prompt
|
|
|
99 |
# memory=memory,
|
100 |
# combine_docs_chain_kwargs={"prompt": PROMPT}
|
101 |
# # condense_question_prompt=CUSTOM_QUESTION_PROMPT
|
102 |
+
# )
|
103 |
chain = (
|
104 |
{"context": vector.as_retriever(search_kwargs={'k': 5}) | format_docs, "question": RunnablePassthrough()}
|
105 |
| prompt
|