How to add conversation additional history to ConversationChain? #3224
TysBradford
started this conversation in
General
Replies: 2 comments 1 reply
-
I think you might be looking for something like this: |
Beta Was this translation helpful? Give feedback.
0 replies
-
I figured it out.
Then |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I'm using a ConversationChain to have a discussion with my bot. In some parts of my application I want to go "off-chain" and perform some operations (i.e fetch some results from an API).
I'm having trouble seeing how I can then add any off-chain information back into the conversation history. This info would be either a SystemMessage or a AIMessage. I was expecting I could easily just append this info somewhere but it's not obvious how. Am I missing something simple?
Beta Was this translation helpful? Give feedback.
All reactions