extended-salmon
extended-salmon17mo ago

Memory

I'm wondering, the {vf_memory} variable holds a 10 messages (input & system) count, but I have 2 questions: 1. That's a sliding window input right? I mean it seems obvious but I just wanna be sure... 2. Is there a way to increase that count? Maybe up to 20 as an example Thanks!
2 Replies
Tico | Voiceflow Assistant
1. Yes, you're correct. The {vf_memory} variable in Voiceflow holds the last 10 turns of the conversation, which includes both user inputs and system responses. This is indeed a sliding window, meaning as new turns are added, the oldest ones are removed to maintain the count of 10. 2. Currently, the count of turns stored in the {vf_memory} variable is fixed at 10 and cannot be increased to 20 or any other number. This is a design decision made by Voiceflow to balance the need for context with the computational resources required to process and store conversation history. However, Voiceflow is always working on improving and expanding its features, so there may be changes to this in the future.
W. Williams (SFT)
You can create a new variable and store the user / assistant data.

Did you find this page helpful?