# Terminate Session ID within UE

**URL:** <https://forum.convai.com/t/terminate-session-id-within-ue/1266>\
**Category:** Unreal Engine Plugin\
**Tags:** question, unreal-engine\
**Created:** [July 18, 2024, 2:08pm UTC](https://forum.convai.com/t/terminate-session-id-within-ue/1266 "2024-07-18T14:08:51Z")\
**Posts on this page:** 3\
**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 18, 2024, 2:08pm UTC](https://forum.convai.com/t/terminate-session-id-within-ue/1266/1 "2024-07-18T14:08:51Z")

</div>

**Original Discord Post by triiqzter | 2024-07-18 14:08:51**

I’m working on a digital assistant in UE. I wonder if there is a way to terminate the session ID and reset the Ai avatar without having to close the .exe and opening it again.  
The reason for this is because I added an extra state in the State Machine so the character Bows when someone starts talking to them for the first time. It will also make the Ai experience more user-friendly to consumers.  
Maybe this could be done using a timer or a keyword that somehow send a signal to Convai to reset the session or something like that. Is this possible? Any suggestions?

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/a/a8cefe3e701539628db96a02825e27f87738d81e.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:** [August 3, 2024, 2:04pm UTC](https://forum.convai.com/t/terminate-session-id-within-ue/1266/2 "2024-08-03T14:04:25Z")

</div>

**Reply by k3kalinix | 2024-08-03 14:04:25**

Hello \<@563096950887677952\>,

You can use this function.

**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:** [November 25, 2024, 12:14pm UTC](https://forum.convai.com/t/terminate-session-id-within-ue/1266/3 "2024-11-25T12:14:51Z")

</div>

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