-
-
Notifications
You must be signed in to change notification settings - Fork 125
Description
Description
The README says:
"Smart conversation history with multi-threaded support"
But the current chatbot behavior does not reference past conversation. And each and every prompt is dealt with independently without any context. This results in disjointed interactions. For example:
User: I had a bad day at work
Bot: I'm sorry to hear that...
User (later): Did I have a good day or bad day at work?
Bot: Tell me more about your day...
This shows there's no real memory of previous exchanges.
Expected Behavior
The chatbot should:
- Remember key parts of the user’s past messages
- Be able to refer back to them in future prompts (at least in-session)
Proposed Fix
Use Gemini's chat()
method with a message thread context.
Store chat history (last 5–10 messages) using st.session_state.chat_history
or a similar mechanism.
I'm interested in implementing this feature if it's not already in development. Please assign me this issue if available.
Thanks!