How to implement Short Term Memory #548
Replies: 4 comments
-
Hi @roldengarm! I have implemented a simple solution in my Kernel Memory Service repository: https://github.com/marcominerva/KernelMemoryService. In particular, take a look to the ChatService.cs file and how it is used. |
Beta Was this translation helpful? Give feedback.
-
@marcominerva thanks for the tip. So you're using Semantic Kernel to do that. |
Beta Was this translation helpful? Give feedback.
-
You just need to use it just before calling |
Beta Was this translation helpful? Give feedback.
-
here's another take on long term and short term memory: https://github.com/microsoft/kernel-memory/tree/main/examples/302-dotnet-sk-km-chat
|
Beta Was this translation helpful? Give feedback.
-
Context / Scenario
We are building a chat bot and would like to use Kernel Memory to allow users to ask questions. How can we implement a short term memory / chat context?
The docs list this as a feature (Short Term Memory (partially implemented/work in progress), but I can't find any documentation about how to use it.
Semantic Kernel has some documentation about it.
We're using the Kernel Memory Webclient from our chat bot.
Question
How can I add a context / short term memory when using the Kernel Memory Webclient package and the AskAsync method to ask questions?
Beta Was this translation helpful? Give feedback.
All reactions