Find answers from the community

Updated 2 months ago

Hello Guys @WhiteFang_Jr @Logan M ,

Hello Guys @WhiteFang_Jr @Logan M ,

I’m working on memory management using LlamaIndex and have created an agent (Function Calling Agent). I need your help in choosing the best approach for my use case.

In LlamaIndex, is it possible to store previous questions and answers as memory within an agent?

For example:
Question: What happens if you multiply 2 and 3?
Answer: Provided by the agent.

Can we store this interaction in the agent's memory before asking another question, so the agent retains the context for future queries?
W
L
p
5 comments
And you can pass chat history while doing agent.chat(message, chat_history)
Attachment
image.png
yea with an agent, its automcatically keeping track of chat history

If you pass it into .chat() it will override any memory attached to the agent
Hello @WhiteFang_Jr @Logan M I sincerely apologize for the delayed response. I got caught up with other work. Thank you!
Add a reply
Sign up and join the conversation on Discord