Update app.py
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ def get_conversation_chain(vectorstore):
|
|
96 |
|
97 |
|
98 |
prompt = hub.pull("rlm/rag-prompt")
|
99 |
-
rag_chain = ({"context": retriever} | prompt | llm | StrOutputParser())
|
100 |
|
101 |
|
102 |
return rag_chain
|
|
|
96 |
|
97 |
|
98 |
prompt = hub.pull("rlm/rag-prompt")
|
99 |
+
rag_chain = ({"context": retriever} | prompt | llm | StrOutputParser(),return_source_documents = True)
|
100 |
|
101 |
|
102 |
return rag_chain
|