Options

prompt_playground
bool
default: true

Display the prompt playground when passing a prompt to a message.

unsafe_allow_html
bool
default: false

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).

latex
bool
default: false

Process and display mathematical expressions. This can clash with ”$” characters in messages.

multi_modal
bool
default: true

Authorize users to upload files with messages. The files are then accessible in cl.on_message.

speech_to_text.enabled
bool
default: false

Allows user to write messages with speech.

speech_to_text.language
string

The language spoken by the user. Greatly improve the quality of the transcription. See available languages here https://github.com/JamesBrill/react-speech-recognition/blob/HEAD/docs/API.md#language-string

Default configuration

[features]
prompt_playground = true
multi_modal = true
unsafe_allow_html = false
latex = false
# Allows user to use speech to text
[features.speech_to_text]
    enabled = false
    # language = "en-US"