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
Hello,
I am using the Conversation Chain feature in Flowise and have integrated it with a memory module (e.g., RedisBackedChatMemory or MongoDB-backed memory). However, I noticed that the chat history retrieved always starts from the oldest messages rather than the latest ones.
Here are some details of my setup:
Memory Type: (e.g., Redis, MongoDB, etc.)
Integration: I am using memory for retrieving and managing chat history in the Conversation Chain.
Behavior Observed: When calling the getChatMessages() function or fetching the chat history, the messages are ordered from the oldest to the newest.
Expected Behavior: I would like to retrieve chat history starting from the most recent messages to maintain relevance for the AI's context.
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
-
Hello,
I am using the Conversation Chain feature in Flowise and have integrated it with a memory module (e.g., RedisBackedChatMemory or MongoDB-backed memory). However, I noticed that the chat history retrieved always starts from the oldest messages rather than the latest ones.
Here are some details of my setup:
Memory Type: (e.g., Redis, MongoDB, etc.)
Integration: I am using memory for retrieving and managing chat history in the Conversation Chain.
Behavior Observed: When calling the getChatMessages() function or fetching the chat history, the messages are ordered from the oldest to the newest.
Expected Behavior: I would like to retrieve chat history starting from the most recent messages to maintain relevance for the AI's context.
getChatMessages()
Flowise/packages/components/nodes/memory/RedisBackedChatMemory/RedisBackedChatMemory.ts
Line 150 in aeb82c2
addChatMessages()
Flowise/packages/components/nodes/memory/RedisBackedChatMemory/RedisBackedChatMemory.ts
Line 169 in aeb82c2
Beta Was this translation helpful? Give feedback.
All reactions