django-ai-assistant icon indicating copy to clipboard operation
django-ai-assistant copied to clipboard

Automatic trim / summarization of long conversations

Open fjsj opened this issue 6 months ago • 0 comments

To avoid errors due to token limit.

See:

  • https://langchain-ai.github.io/langgraph/how-tos/memory/manage-conversation-history/
  • https://python.langchain.com/docs/how_to/trim_messages/
  • https://langchain-ai.github.io/langgraph/concepts/memory/?ref=blog.langchain.dev#summarizing-past-conversations

fjsj avatar Aug 16 '24 17:08 fjsj