| chatbot_ui | R Documentation |
Returns the UI elements for the AI chat panel: a header bar with a “New conversation” button and the shinychat widget.
When shinychat is not installed or the chat-bot is disabled via
options(shidashi.chatbot = FALSE), returns an empty
tagList().
Typically called inside shiny::renderUI by
chatbot_server() to fill a module_drawer.
Can also be placed anywhere in module UI directly.
chatbot_ui(id, modes = NULL, default_mode = NULL)
id |
character; the Shiny input/output namespace for the chat
widget. Default |
A shiny::tagList containing the chat UI or empty.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.