An open API service indexing awesome lists of open source software.

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

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)