https://github.com/jmaczan/context-frugal-langchain
🦜️🔗 Experimental chatbot to enable longer conversations by strong context summarization and history replacement
https://github.com/jmaczan/context-frugal-langchain
Last synced: 9 months ago
JSON representation
🦜️🔗 Experimental chatbot to enable longer conversations by strong context summarization and history replacement
- Host: GitHub
- URL: https://github.com/jmaczan/context-frugal-langchain
- Owner: jmaczan
- Created: 2023-08-15T18:05:39.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-16T12:45:25.000Z (almost 3 years ago)
- Last Synced: 2025-09-05T06:49:29.543Z (9 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Citation: CITATION.cff
Awesome Lists containing this project
README
# context-frugal-langchain
🦜️🔗 Experimental chatbot to enable longer conversations by strong context summarization and history replacement
## The idea
Build a summary of conversation, similarly to ConversationSummaryMemory but with more compression of conversation. As the conversation is going on, keep only a summary, summarize strongly `N` last messages, summarize midly `M` last messages and repeat the process after each message
## Author
[Jędrzej Paweł Maczan](https://maczan.pl)