From 4a31da4ab40e87dd0b9f53a2763f38461e1fbff6 Mon Sep 17 00:00:00 2001 From: jonmatthis Date: Tue, 2 Jan 2024 09:19:41 -0500 Subject: [PATCH] update memory docs --- Writerside/s.tree | 1 + Writerside/topics/ConversationMemory.md | 20 +++++++++++++------- Writerside/topics/Tools.md | 9 +++++++++ 3 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 Writerside/topics/Tools.md diff --git a/Writerside/s.tree b/Writerside/s.tree index 03bf170..9463096 100644 --- a/Writerside/s.tree +++ b/Writerside/s.tree @@ -9,6 +9,7 @@ + diff --git a/Writerside/topics/ConversationMemory.md b/Writerside/topics/ConversationMemory.md index 83428e5..016b634 100644 --- a/Writerside/topics/ConversationMemory.md +++ b/Writerside/topics/ConversationMemory.md @@ -1,9 +1,15 @@ # Conversation Memory - - [ ] Token Buffer ([Langchain](https://python.langchain.com/docs/expression_language/cookbook/memory ) - - [ ] With summary? - - [ ] Summarization at different scales: - - Full summary - - course summary - - fine summary - - [ ] Topic/Tag extraction +Memory within a conversation,[LangChain Memory Docs](https://js.langchain.com/docs/modules/memory/) + +Development plan: + +Required functionality: +[ ]- Simple Buffer (keep `n` most recent messages) + - [https://python.langchain.com/docs/expression_language/cookbook/memory](https://python.langchain.com/docs/expression_language/cookbook/memory) + +Future development: +[ ]- Token Buffer (keep a buffer of messages that is less than `n` tokens) +[ ]- Summary Buffer (keep a buffer of messages that is less than `n` tokens, but also summarize the messages) +[ ]- Time weighted Vectorstore (keep a vectorstore of messages, weighted by time) + - [https://js.langchain.com/docs/modules/data_connection/retrievers/time_weighted_vectorstore](https://js.langchain.com/docs/modules/data_connection/retrievers/time_weighted_vectorstore) diff --git a/Writerside/topics/Tools.md b/Writerside/topics/Tools.md new file mode 100644 index 0000000..5334d5d --- /dev/null +++ b/Writerside/topics/Tools.md @@ -0,0 +1,9 @@ +# AI Tools + +Useful tools, packages, softwares etc. + + +- [LangChain](LangChain.md) +- [OpenAi](OpenAI.md) + +- [ContinueDev](ContinueDev.md) \ No newline at end of file