...
Removes the embedded chat icon in the corner of the screen. You can use this method when navigating away from a screen in a single page application. The method is accessible both from the profound.ai.agent
and the profound.ai
client-side objects. The following 2 lines are equivalent:
Code Block |
---|
profound.ai.removeEmbedIcon();
profound.ai.agent.removeEmbedIcon(); |
destroy()
Destroys the chat user interface and cleans up resources.