https://retellai.com/?utm_source=discord&utm_medium=seo logo
how to handle mid to long-term memory issues with ...
# ❓・bug-report
r
how should we be dealing with mid to long-term memory issues and context window limits? For example., our voice and text is integrated into one conversational thread such that messages in both modes should be taken into account. Voice based calls can be on average 3 to 5 minutes, so the transcripts are quite verbose. One way we are thinking to handle this is for the transcripts to be summarized by another agent. How are others handling this?
u
I did something similar where a client needed a summary of past conversations, which is somewhat like your use case. I suggest passing the entire transcript of the previous conversation and summarizing other past conversations. Also, consider using services like LLMLinqua for token compression. @rayray408_74985
r
Thanks. Have you checked out Langgraph or something similar? Any thoughts?
u
Never used Langgraph so idk
n
I have used something similar called Langroid. It's based on multi-agent LLM setup.