Pass context from previous steps. #30178
Replies: 1 comment 2 replies
-
Hello, @ignaceHelsen! I'm here to assist you with any bugs, questions, or contributions. Let's tackle this issue together! To ensure that the context retrieved in
If you continue to face issues, you might find it helpful to refer to similar discussions, such as this one on how to pass retrieved context to later steps in the chain [1]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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 in the later steps is empty. What am I doing wrong here?
Any help is greatly appreciated!
My code so far:
Beta Was this translation helpful? Give feedback.
All reactions