ArturG9 commited on
Commit
3cbef3e
1 Parent(s): 5a986b7

Update app.py

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