shinychat Reference
Shiny Core
| Chat | Create a chat interface. |
| types.ChatClient | Wraps a chatlas client bound to a :class:~shinychat.Chat instance. |
| types.ChatMessage | |
| types.Attachment | An image, PDF, or text file to attach to a chat message. |
| chat_ui | UI container for a chat component (Shiny Core). |
| chat_greeting | Create a greeting for a chat UI. |
Tool display
| types.ToolResultDisplay | Customize the condensed display for a tool result. |
| message_content | Extract content from various message types into a ChatMessage. |
| message_content_chunk | Extract content from various message chunk types into a ChatMessage. |
Shiny Express
| express.Chat |
Conversation history
| types.HistoryOptions | Configuration for :class:~shinychat.Chat conversation history. |
| types.ConversationPartition | Storage partition for a chat history collection. |
| types.ConversationStore | Storage interface for chat conversation history. |
| types.FileConversationStore | Default store: each conversation is a directory at |
| types.ConversationRecord | |
| types.ConversationMeta |
Testing
| playwright.ChatController | Controller for :func:shiny.ui.chat. |