Features
Options
Display the prompt playground when passing a prompt to a message.
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).
Process and display mathematical expressions. This can clash with ”$” characters in messages.
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).
Threshold for audio recording.
If the user does not speak for this duration (MS), the recording will be ignored.
Delay for the user to continue speaking in MS. If the user stops speaking for this duration, the recording will stop.
Above this duration (MS), the recording will forcefully stop.
Duration of the audio chunks in MS.
Sample rate of the audio.
Automatically tag threads with the current chat profile (if a chat profile is used)
Default configuration
[features]
prompt_playground = true
unsafe_allow_html = false
latex = false
[features.spontaneous_file_upload]
enabled = true
accept = ["*/*"]
max_files = 20
max_size_mb = 500
[features.audio]
min_decibels = -45
initial_silence_timeout = 3000
silence_timeout = 1500
max_duration = 15000
chunk_duration = 1000
sample_rate = 44100
auto_tag_thread = true