Skip to content

Commit

Permalink
update memory docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmatthis committed Jan 2, 2024
1 parent aaeada3 commit 4a31da4
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
1 change: 1 addition & 0 deletions Writerside/s.tree
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<toc-element topic="ProjectNotes.md">
<toc-element topic="Chatbot.md">
<toc-element topic="AI.md">
<toc-element topic="Tools.md"/>
<toc-element topic="LangChain.md">
<toc-element topic="OpenAI.md"/>
</toc-element>
Expand Down
20 changes: 13 additions & 7 deletions Writerside/topics/ConversationMemory.md
Original file line number Diff line number Diff line change
@@ -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)
9 changes: 9 additions & 0 deletions Writerside/topics/Tools.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# AI Tools

Useful tools, packages, softwares etc.


- [LangChain](LangChain.md)
- [OpenAi](OpenAI.md)

- [ContinueDev](ContinueDev.md)

0 comments on commit 4a31da4

Please sign in to comment.