Documentation Index
Fetch the complete documentation index at: https://docs.chainlit.io/llms.txt
Use this file to discover all available pages before exploring further.
Options
File Upload
Authorize users to upload files with messages. The files are then accessible
in cl.on_message.
Restrict user to only upload accepted mime file types. Example: [“text/plain”,
“application/pdf”, “image/x-png”]
Restrict user to upload maximum number of files at a time.
Restrict uploading file size (MB).
Audio
Enable audio features.
Audio sample rate in hertz. Defaults to 24kHz
MCP
See MCP server-side configurationSlack
See Slack integration documentationFavorites
Enable favorite messages (prompt templates). When enabled, users can star their
own messages and reuse them as prompt templates from the composer. Requires
data persistence to store favorites.
Since version 2.9.5.
Other
Process and display mathematical expressions. This can clash with ”$”
characters in messages.
Autoscroll new user messages at the top of the window.
Autoscroll assistant messages as they stream. Set to
false to keep the
viewport stable while new assistant tokens arrive.Since version 2.9.4.
Process and display HTML in messages. This can be a security risk (see
https://stackoverflow.com/questions/19603097/why-is-it-dangerous-to-render-user-generated-html-or-javascript).
Automatically tag threads with the current chat profile (if a chat profile is
used)
Allow the user to edit their messages.
Allow users to share threads with other users. Requires authentication, data persistence, and an
on_shared_thread_view callback.