# Delete Chat Memory

**URL:** <https://forum.convai.com/t/delete-chat-memory/1228>\
**Category:** Unreal Engine Plugin\
**Tags:** question, unreal-engine\
**Created:** [July 15, 2024, 9:22am UTC](https://forum.convai.com/t/delete-chat-memory/1228 "2024-07-15T09:22:31Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [July 15, 2024, 9:22am UTC](https://forum.convai.com/t/delete-chat-memory/1228/1 "2024-07-15T09:22:31Z")

</div>

**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.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [July 15, 2024, 5:30pm UTC](https://forum.convai.com/t/delete-chat-memory/1228/2 "2024-07-15T17:30:49Z")

</div>

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

Hello \<@1133141372501753857\>,

Why do you want to delete Character Memory?

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [July 15, 2024, 6:09pm UTC](https://forum.convai.com/t/delete-chat-memory/1228/3 "2024-07-15T18:09:18Z")

</div>

**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?

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [July 16, 2024, 1:33pm UTC](https://forum.convai.com/t/delete-chat-memory/1228/4 "2024-07-16T13:33:50Z")

</div>

**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

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [July 16, 2024, 6:53pm UTC](https://forum.convai.com/t/delete-chat-memory/1228/5 "2024-07-16T18:53:32Z")

</div>

**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.

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [July 16, 2024, 7:48pm UTC](https://forum.convai.com/t/delete-chat-memory/1228/6 "2024-07-16T19:48:53Z")

</div>

**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`

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [July 18, 2024, 8:58pm UTC](https://forum.convai.com/t/delete-chat-memory/1228/7 "2024-07-18T20:58:02Z")

</div>

**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”?

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [July 18, 2024, 9:16pm UTC](https://forum.convai.com/t/delete-chat-memory/1228/8 "2024-07-18T21:16:48Z")

</div>

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

sorry the correct name is `Reset Conversation`

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/b/b3b67502b931067e74cd2421357817435400e900.png)

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [July 19, 2024, 2:06pm UTC](https://forum.convai.com/t/delete-chat-memory/1228/9 "2024-07-19T14:06:34Z")

</div>

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

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

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [July 19, 2024, 2:08pm UTC](https://forum.convai.com/t/delete-chat-memory/1228/10 "2024-07-19T14:08:06Z")

</div>

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

how would I trigger the Conversation to reset?

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [July 19, 2024, 2:33pm UTC](https://forum.convai.com/t/delete-chat-memory/1228/11 "2024-07-19T14:33:25Z")

</div>

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

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

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [July 19, 2024, 2:33pm UTC](https://forum.convai.com/t/delete-chat-memory/1228/12 "2024-07-19T14:33:54Z")

</div>

**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

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [July 19, 2024, 2:53pm UTC](https://forum.convai.com/t/delete-chat-memory/1228/13 "2024-07-19T14:53:52Z")

</div>

**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

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [July 19, 2024, 2:55pm UTC](https://forum.convai.com/t/delete-chat-memory/1228/14 "2024-07-19T14:55:03Z")

</div>

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

Hey \<@563096950887677952\> 👋🏻,

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](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](https://www.unrealengine.com/marketplace/en-US/product/convai/reviews)

 ![Thumbnail](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/1X/d4942b69290dd814bc51186dd2480457996701bf.png)

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [July 19, 2024, 3:34pm UTC](https://forum.convai.com/t/delete-chat-memory/1228/15 "2024-07-19T15:34:27Z")

</div>

**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

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 25, 2024, 12:14pm UTC](https://forum.convai.com/t/delete-chat-memory/1228/16 "2024-11-25T12:14:57Z")

</div>

Closed on November 25, 2024, 12:14pm UTC

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