How Can I Edit Past Chat Output for Better Contextual Understanding in Future Interactions #6653
Unanswered
ramonsimon
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
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently working on a chatbot application in Flask that maintains an ongoing conversation with users. The application saves the chat history in a memory so that it can refer back to it for context during future interactions.
My current function looks like this:
This function is designed to:
My issue lies in editing past chat output. I want to be able to adjust or correct previous responses that the bot provided so it can use the revised information for future interactions. However, I'm unsure of how to achieve this.
Here are a few specific questions:
Beta Was this translation helpful? Give feedback.
All reactions