Skip to contents

Chat interfaces

chat_ui()
Create a chat UI element
chat_app() chat_mod_ui() chat_mod_server()
Open a live chat application in the browser
chat_append()
Append an assistant response (or user message) to a chat control
chat_append_message()
Low-level function to append a message to a chat control
chat_clear()
Clear all messages from a chat control
update_chat_user_input()
Update the user input of a chat control

Streaming markdown interface

markdown_stream()
Stream markdown content
output_markdown_stream()
Create a UI element for a markdown stream.

Bookmark chat history

chat_restore()
Add Shiny bookmarking for shinychat

Integration with ellmer

contents_shinychat()
Format ellmer content for shinychat