How do I write a Runnable function which I can apply after RetrievalQAWithSourcesChain. This function will take the answer and the source_documents as input and will return a text #17673
deepakagrawal
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checked
Feature request
How do I write a Runnable function which I can apply after RetrievalQAWithSourcesChain. This function will take the answer and the source_documents as input and will return a text. I would like to write a custom logic to write citations using the final LLM answer and the source urls.
Motivation
How do I write a Runnable function which I can apply after RetrievalQAWithSourcesChain. This function will take the answer and the source_documents as input and will return a text. I would like to write a custom logic to write citations using the final LLM answer and the source urls.
Proposal (If applicable)
No response
Beta Was this translation helpful? Give feedback.
All reactions