Delete Chat Memory

Original Discord Post by diepro1481 | 2024-07-15 09:22:31

How can i delete the Chat-Memory of my character. It was perfect if it deleted the memory automatically with every time i start a new Chat.

Reply by k3kalinix | 2024-07-15 17:30:49

Hello <@1133141372501753857>,

Why do you want to delete Character Memory?

Reply by diepro1481 | 2024-07-15 18:09:18

Maybe i didn’t get the functions oft the Memory right. Is the Character learning from old Memory files? I am building a Convai Character for Unreal engine via Pixelstreaming. – Will the Character remember facts from a Chat with User, if another User opens a new instance of the Project?

Reply by kjj13020 | 2024-07-16 13:33:50

Hi <@1023671043287699568> I’m not affiliated with “Die-Pro” but deleting chat memory would be a great feature. From my end i’ve have accidently “pissed” off my character through chat prompts and have had trouble calming it down again. It was trained on some supportive material for a brand but quite literally said something along the lines of the brand being trash because it was pissed off, and this is not long before I had to show it to a representative of the same brand. Also when showing ai’s to people they tend to say some silly stuff, which the ai will remember and bring up at later dates which can be good but also annoying at times. If I show my ai to sally and then the same ai to justin I want to have an experience starting from the baseline for BOTH those people and not remembering details from each conversation and bringing them up. Like sally will say her name is sally and then the ai may say hi sally when justin is talking to it. I hope this helps, and I hope to see a delete memory feature soon because having to remake characters constantly for each new client/person is not fun UX design

Reply by nazbee | 2024-07-16 18:53:32

Chat memory is your “session id”. Just change the session id to -1 and it resets the chat “memory” every conversation.

Reply by freezfast | 2024-07-16 19:48:53

Hi <@1262352474765791376>, the character chat history gets reset every time you load it, you can even force reset the memory at runtime using the function Rest Conversation History

Replying to freezfast’s Message

Reply by freezfast | 2024-07-16 19:48:53
Hi <@1262352474765791376>, the character chat history gets reset every time you load it, you can even force reset the memory at runtime using the function Rest Conversation History

Reply by triiqzter | 2024-07-18 20:58:02

Where is the function “Rest Conversation History”?

Reply by freezfast | 2024-07-18 21:16:48

sorry the correct name is Reset Conversation

Images:

Reply by triiqzter | 2024-07-19 14:06:34

I’m guessing I connect this to the ConvaiBaseCharacter BP?

Reply by triiqzter | 2024-07-19 14:08:06

how would I trigger the Conversation to reset?

Reply by freezfast | 2024-07-19 14:33:25

You can connect it anywhere, as long as you can access the ConvaiChatbot component

Replying to triiqzter’s Message

Reply by triiqzter | 2024-07-19 14:08:06
how would I trigger the Conversation to reset?

Reply by freezfast | 2024-07-19 14:33:54

By calling the function above on the target chatbot

Reply by triiqzter | 2024-07-19 14:53:52

it worked. it creates a new Session ID every time it resets the chat.
I set it up on the Level BP. Thanks for the help

Reply by k3kalinix | 2024-07-19 14:55:03

Hey <@563096950887677952> :wave:t2:,

You are welcome!

If you have any other questions, please do not hesitate to ask.

We would be very grateful if you could leave a comment on our store pages with your company name or the name of your project. We value your feedback and comments as they help us improve our services and products.
https://www.unrealengine.com/marketplace/en-US/product/convai/reviews

Embedded Content:
AI for NPC, MetaHuman - Dialog, actions and general intelligence - …
Convai powers NPCs with human-like intelligence.
Link: https://www.unrealengine.com/marketplace/en-US/product/convai/reviews

Replying to triiqzter’s Message

Reply by triiqzter | 2024-07-19 14:53:52
it worked. it creates a new Session ID every time it resets the chat.
I set it up on the Level BP. Thanks for the help

Reply by freezfast | 2024-07-19 15:34:27

Great to hear! let us know if you have any other questions

This conversation happened on the Convai Discord Server, so this post will be closed.