#Which langchain memory best for customer selling agent bot?
1 messages · Page 1 of 1 (latest)
Remove previous messages based on tokens
but i needd all history i found redus database solutions but still not sure
Well you have 2 options: manage it through a token count or use a vector database for storing the conversation history but that has the downside of needing the context to match the query
The model is stateless and you can only fit a certain amount of tokens into the prompt
There is no way around it