Voiceflow PartnersVPVoiceflow Partners
Powered by
chirashiC
Voiceflow Partners•6mo ago•
4 replies
chirashi

How do I wipe out memory?

What I want to do: wipe out both memory and vf_memory
Why: I want to loop back to an agent step, but have that step use new variable values. But apparently, when an agent step is first called, it generates an LLM session that persists permanently. Even if variable values have changed, the agent step sticks with the initial values the second time around. I can see this persistent approach being useful in some situations, but it is counterproductive in others.
Workarounds: Tico suggested duplicating the agent step, or ending the session, but these won't work for me. Duplicating it many times is not scalable. Ending the session means losing other client inputs and starting over.
What I tried: Followed Tico's advice to use a Set Expression step with 2 rows. See attached screenshots for its recommended workaround to wipe out memory
What happened: vf_memory gets wiped out, but memory still retains full history
What debug log shows: There is a Debug row saying [Set] 1 variable changed. Variables tab shows vf_memory being wiped out, but memory still is retained

How can I wipe out memory? If I can't loop back to an agent step with a clean session, I think I will have to overhaul my project design (yes I'm an idiot for not discovering this foundational problem earlier)
Set_Expression_1.png
Set_Expression_2.png
Set_Expression_3.png
Voiceflow Partners banner
Voiceflow PartnersJoin
Exclusive community for Voiceflow Solutions Providers & Content Creators.
13,076Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
jacklyn

# Let your agents search the web 🔎 Hey everyone! We just released the web search tool for the agent step! Your agents can now automatically search the web for information, letting your agent supplement the LLM's knowledge and the data in its knowledge base with live, up-to-date information. Plus.... * You can restrict searches to specific domains, so your agent only searches sites that you own * This is a tool, so you remain in control of when the agent searches the web * Results are automatically summarized in a way that your agent can automatically understand Under the hood, we're using OpenAI's web search API. Give it a try, and let us know what you think! https://docs.voiceflow.com/changelog/native-web-search-tool

jacklyn · 4mo ago

jacklyn

jacklynbiggin's Thread

jacklyn · 4mo ago

hurt-tomato

connor_maclean's Thread

hurt-tomato · 4mo ago

Similar Threads

How do I access _memory_ from a function?
chirashiCchirashi / ❓┃ask-a-question
7mo ago
Memory
incredible-moccasinIincredible-moccasin / ❓┃ask-a-question
2y ago
_memory_
recent-tealRrecent-teal / ❓┃ask-a-question
3y ago
how do i send Custom Variables
radical-limeRradical-lime / ❓┃ask-a-question
2y ago