Swapping Character IDs

Original Discord Post by imdoldoli | 2024-08-28 07:27:28

<@&1163218672580575372> Hi, I want to swap the character ID when the button is pressed, it seems that the character ID has changed but it cannot generate responses by the changed ID, when I come back to the original Char ID that first generated a response, it talks. What could be wrong?

Images:

Reply by imdoldoli | 2024-08-29 07:21:54

<@&1163218672580575372>
the following is the warning log I got after updating the character and tried some conversation

ConvaiGRPCLog: Warning: OnStreamFinish: Status:Not Ok | Debug Log: | Error message:No conversation history result for sessionID: d6adfdf3340dedbe7af35aecaae8a1b1 characterID: 4e99337c-5554-11ef-8c47-42010a7be011 | Error Details: | Error Code:3 | Character ID:4e99337c-5554-11ef-8c47-42010a7be011 | Session ID:d6adfdf3340dedbe7af35aecaae8a1b1

ConvaiChatbotComponentLog: Warning: UConvaiChatbotComponent Get Response Failed! | Character ID : 4e99337c-5554-11ef-8c47-42010a7be011 | Session ID : d6adfdf3340dedbe7af35aecaae8a1b1

Reply by k3kalinix | 2024-08-29 07:32:32

Make sure to use the function Reset Conversation Ref to reset the previous chat history with the previous character as it will not be compatible with the new character

Embedded Content:
Convai Chatbot | API Docs
Actor component for the AI character
Link: Convai Chatbot | Documentation

Reply by k3kalinix | 2024-08-29 07:33:01

<@469160795406860298>

Reply by mighty_brute | 2024-08-29 07:35:07

You can do something like this :

Images:

Reply by imdoldoli | 2024-08-29 07:35:42

from what I remember, resetting conversation will also reset the conversation memory, but I still want the chat log to be save

Reply by imdoldoli | 2024-08-29 07:36:02

okay I’ll try what you’ve sent me just now, thanx :smile:

Reply by mighty_brute | 2024-08-29 07:36:24

Let me know if you need any more help!

Reply by imdoldoli | 2024-08-29 07:36:31

thank you brute!

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