You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My chat flow starts with a simple prompt template with JSON output parser to serve as an initial router. It analyzes the query with an If/else function and routes it to one of two conversation chains.
Since each conversation chain's objective is independent, I want them to have an independent buffer memory, and if possible, a conversation summary buffer memory from both conversation chains.
"Remember the context of your conversation with the user, but also have a summary of the conversation the user had with the other conversation chain as reference."
I already tried giving each buffer memory an independent memory key as a parameter and formatted prompt value.
For each of the chain prompts I tried formatting both the key and the value linking them to its respective buffer memory, but it throws an error.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My chat flow starts with a simple prompt template with JSON output parser to serve as an initial router. It analyzes the query with an If/else function and routes it to one of two conversation chains.
Since each conversation chain's objective is independent, I want them to have an independent buffer memory, and if possible, a conversation summary buffer memory from both conversation chains.
"Remember the context of your conversation with the user, but also have a summary of the conversation the user had with the other conversation chain as reference."
I already tried giving each buffer memory an independent memory key as a parameter and formatted prompt value.
For each of the chain prompts I tried formatting both the key and the value linking them to its respective buffer memory, but it throws an error.
Is this possible?
Beta Was this translation helpful? Give feedback.
All reactions