Find answers from the community

Updated last year

is there a way to assign the chat store

At a glance

The community member who posted the original question asked if there is a way to assign a chat store to an agent after initializing the agent, using the example agent.chat_store = redis_chat_store. In the comments, another community member responded that this may not be possible after initializing the agent. The recommended approach is to manage the chat store/memory outside of the agent and pass in the chat history when calling the agent's chat method, like agent.chat("msg", chat_history=chat_history). There is no explicitly marked answer in the provided information.

is there a way to assign the chat store to an agent after initializing the agent? something like agent.chat_store = redis_chat_store
L
1 comment
After initializing? I don't think so.

Your best bet is managing the chat store/memory outside of the agent, and passing in the chat history like agent.chat("msg", chat_history=chat_history)
Add a reply
Sign up and join the conversation on Discord