You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want a button outside of the chat - you can simply add it anywhere in your view and trigger the clearMessages method on a reference of Deep Chat component via the v-on:click event. I am not an expert on vue2 so I can't give you a raw example, but what I have described is definitely possible in vue2.
If you want to add a button for this inside the Deep Chat component itself you will unfortunately have to fork/clone the project and add this in yourself. Setting up the project is actually not that difficult and we have listed the instructions to do this here.
I'm building a RAG application which using deep chat as the interface.
How to add a button to clear the conversation?
The text was updated successfully, but these errors were encountered: