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
announced in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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