Skip to contents

These functions create UI components for the querychat interface. querychat_ui creates a basic chat interface, while querychat_sidebar wraps the chat interface in a bslib::sidebar component designed to be used as the sidebar argument to bslib::page_sidebar.

Usage

querychat_sidebar(id, width = 400, height = "100%", ...)

querychat_ui(id)

Arguments

id

The ID of the module instance.

width

The width of the sidebar (when using querychat_sidebar).

height

The height of the sidebar (when using querychat_sidebar).

...

Additional arguments passed to bslib::sidebar (when using querychat_sidebar).

Value

A UI object that can be embedded in a Shiny app.