eastern-cyan
eastern-cyan2y ago

_memory_

is there any tutorial on how to use the memory variable?
8 Replies
NiKo | Voiceflow
Yes, check the #📚┃community-tutorials channel
eastern-cyan
eastern-cyanOP2y ago
thank you, i found it! 🙂 does it use a lot of tokens? if so ... is there a method to have less tokens being used, as the conversation could get very long
NiKo | Voiceflow
You can parse the memory object to get only assistant or user messages. You can also choose to use only last x messages. Another option is to use a cheaper model to summarize the memory and use this summary in the prompt instead of passing the full memory.
eastern-cyan
eastern-cyanOP2y ago
is there a tutorial for that? of course im trying it myself but its good to have a source if my way doesnt work
W. Williams (SFT)
@mansen Nope. But if you need some help, just DM me.
eastern-cyan
eastern-cyanOP2y ago
i did
other-emerald
other-emerald2y ago
@NiKo | Voiceflow how do you recommend summarizing the memory and use the summary in the prompt?
wise-white
wise-white2y ago
Voiceflow
YouTube
Adding Memory to the Knowledge Base in Voiceflow
This tutorial walks through how to access the memory object inside of Voiceflow! This way you can choose when you want to pass it in or manipulate it further for more advanced use cases (like selectively passing certain aspects of memory to the assistant). NOTE: The memory object in Voiceflow contains the last 10 messages of the conversation, i...

Did you find this page helpful?