How to pass retrieved context to later steps in the chain #30166
Unanswered
ignaceHelsen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checked other resources
Commit to Help
Example Code
Description
Greetings,
I'm trying to access the retrieved context from 'chain_with_context' in 'chain'. However, the only things that are being passed are:
{
"context": [],
"question": "..."
"chat_history": [...],
}
Although I see a filled context in my logs, the context is empty because it's not passed from chain_with_context. What am I doing wrong here?
Any help is greatly appreciated!
System Info
System Information
Package Information
Other Dependencies
Beta Was this translation helpful? Give feedback.
All reactions