Having trouble with the conversation memory…

Hey, i have an issue regarding the memory of my bot using the set block. It seems as when i implemented the buttons, the memory won’t work and i can’t ask it questions as “simplyfi” or “can you explain that in more detail?” Here is my design:
No description
8 Replies
xenial-black
xenial-black2y ago
Can you see your variable is being updated with new memory in the left side panel? If so, are you passing that info into your prompt?
W. Williams (SFT)
Are you using AI with KB? This will not work b/c of the KB call and not finding chunks with something like "simplify.". This is a bit complicated to do, but it can be done.
Radiant raindrop
Radiant raindropOP2y ago
Yes im using only KB for this spesific project because of where the sources are coming from. Im sorry im pretty new to memory, but what do you mean with «is being udated»? But yes i am using it in my prompt as the variable «memory» wich is JSONStringify(memory)
harsh-harlequin
harsh-harlequin2y ago
@Radiant raindrop we actually just launch memory as a build in variable so you dont need to do the stringify method anymore! You can access it with the {vf_memory} variable. Its built into every project now. It dynamically updates with the last 10 messages
Radiant raindrop
Radiant raindropOP2y ago
Ay thats amazing! You guys are great👍 So i place it in a «set» block before every response block?
Radiant raindrop
Radiant raindropOP2y ago
Like in this setup?
No description
harsh-harlequin
harsh-harlequin2y ago
Check #🔊┃product-updates - just posted how to use it 🙂 Its much easier than that
Radiant raindrop
Radiant raindropOP2y ago
Ah ok, Thanks👍

Did you find this page helpful?