Replies: 1 comment
-
I have the same problem, even opened a discussion. No solution yet. |
Beta Was this translation helpful? Give feedback.
0 replies
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 other resources
Commit to Help
Example Code
Description
I would like to get the 'source', eventually the 'page' from the metadata after the 'answer' prompt from the model, which is contained in "metadata={'page': xx, 'source': 'example_source.pdf'}). In addition, I don't want to get the 'context' information.
Hence, the output of the chain should be:
'question': 'blablabla',
'answer': 'blablabla'
'source': 'example_source.pdf'
I'd be grateful if you could help me out!
System Info
langchain
Colab notebook
python3.10
Beta Was this translation helpful? Give feedback.
All reactions