Upload config.toml
Browse files- .chainlit/config.toml +120 -0
.chainlit/config.toml
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[project]
|
| 2 |
+
# Whether to enable telemetry (default: true). No personal data is collected.
|
| 3 |
+
enable_telemetry = true
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
# List of environment variables to be provided by each user to use the app.
|
| 7 |
+
user_env = []
|
| 8 |
+
|
| 9 |
+
# Duration (in seconds) during which the session is saved when the connection is lost
|
| 10 |
+
session_timeout = 3600
|
| 11 |
+
|
| 12 |
+
# Enable third parties caching (e.g LangChain cache)
|
| 13 |
+
cache = false
|
| 14 |
+
|
| 15 |
+
# Authorized origins
|
| 16 |
+
allow_origins = ["*"]
|
| 17 |
+
|
| 18 |
+
# Follow symlink for asset mount (see https://github.com/Chainlit/chainlit/issues/317)
|
| 19 |
+
# follow_symlink = false
|
| 20 |
+
|
| 21 |
+
[features]
|
| 22 |
+
# 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)
|
| 23 |
+
unsafe_allow_html = false
|
| 24 |
+
|
| 25 |
+
# Process and display mathematical expressions. This can clash with "$" characters in messages.
|
| 26 |
+
latex = false
|
| 27 |
+
|
| 28 |
+
# Automatically tag threads with the current chat profile (if a chat profile is used)
|
| 29 |
+
auto_tag_thread = true
|
| 30 |
+
|
| 31 |
+
# Authorize users to spontaneously upload files with messages
|
| 32 |
+
[features.spontaneous_file_upload]
|
| 33 |
+
enabled = false
|
| 34 |
+
accept = ["*/*"]
|
| 35 |
+
max_files = 20
|
| 36 |
+
max_size_mb = 500
|
| 37 |
+
|
| 38 |
+
[features.audio]
|
| 39 |
+
# Threshold for audio recording
|
| 40 |
+
min_decibels = -45
|
| 41 |
+
# Delay for the user to start speaking in MS
|
| 42 |
+
initial_silence_timeout = 3000
|
| 43 |
+
# Delay for the user to continue speaking in MS. If the user stops speaking for this duration, the recording will stop.
|
| 44 |
+
silence_timeout = 1500
|
| 45 |
+
# Above this duration (MS), the recording will forcefully stop.
|
| 46 |
+
max_duration = 15000
|
| 47 |
+
# Duration of the audio chunks in MS
|
| 48 |
+
chunk_duration = 1000
|
| 49 |
+
# Sample rate of the audio
|
| 50 |
+
sample_rate = 44100
|
| 51 |
+
|
| 52 |
+
edit_message = true
|
| 53 |
+
|
| 54 |
+
[UI]
|
| 55 |
+
# Name of the assistant.
|
| 56 |
+
name = "MISIA"
|
| 57 |
+
|
| 58 |
+
# Description of the assistant. This is used for HTML tags.
|
| 59 |
+
# description = ""
|
| 60 |
+
|
| 61 |
+
# Large size content are by default collapsed for a cleaner ui
|
| 62 |
+
default_collapse_content = true
|
| 63 |
+
|
| 64 |
+
# Hide the chain of thought details from the user in the UI.
|
| 65 |
+
hide_cot = false
|
| 66 |
+
|
| 67 |
+
# Link to your github repo. This will add a github button in the UI's header.
|
| 68 |
+
# github = ""
|
| 69 |
+
|
| 70 |
+
# Specify a CSS file that can be used to customize the user interface.
|
| 71 |
+
# The CSS file can be served from the public directory or via an external link.
|
| 72 |
+
custom_css = "/public/stylesheet.css"
|
| 73 |
+
|
| 74 |
+
# Specify a Javascript file that can be used to customize the user interface.
|
| 75 |
+
# The Javascript file can be served from the public directory.
|
| 76 |
+
# custom_js = "/public/test.js"
|
| 77 |
+
|
| 78 |
+
# Specify a custom font url.
|
| 79 |
+
# custom_font = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap"
|
| 80 |
+
|
| 81 |
+
# Specify a custom meta image url.
|
| 82 |
+
# custom_meta_image_url = "https://chainlit-cloud.s3.eu-west-3.amazonaws.com/logo/chainlit_banner.png"
|
| 83 |
+
|
| 84 |
+
# Specify a custom build directory for the frontend.
|
| 85 |
+
# This can be used to customize the frontend code.
|
| 86 |
+
# Be careful: If this is a relative path, it should not start with a slash.
|
| 87 |
+
# custom_build = "./public/build"
|
| 88 |
+
|
| 89 |
+
[UI.theme]
|
| 90 |
+
default = "dark"
|
| 91 |
+
#layout = "wide"
|
| 92 |
+
#font_family = "Inter, sans-serif"
|
| 93 |
+
# Override default MUI light theme. (Check theme.ts)
|
| 94 |
+
[UI.theme.light]
|
| 95 |
+
#background = "#FAFAFA"
|
| 96 |
+
#paper = "#FFFFFF"
|
| 97 |
+
|
| 98 |
+
[UI.theme.light.primary]
|
| 99 |
+
#main = "#F80061"
|
| 100 |
+
#dark = "#980039"
|
| 101 |
+
#light = "#FFE7EB"
|
| 102 |
+
[UI.theme.light.text]
|
| 103 |
+
#primary = "#212121"
|
| 104 |
+
#secondary = "#616161"
|
| 105 |
+
|
| 106 |
+
# Override default MUI dark theme. (Check theme.ts)
|
| 107 |
+
[UI.theme.dark]
|
| 108 |
+
#background = "#FAFAFA"
|
| 109 |
+
#paper = "#FFFFFF"
|
| 110 |
+
|
| 111 |
+
[UI.theme.dark.primary]
|
| 112 |
+
#main = "#F80061"
|
| 113 |
+
#dark = "#980039"
|
| 114 |
+
#light = "#FFE7EB"
|
| 115 |
+
[UI.theme.dark.text]
|
| 116 |
+
#primary = "#EEEEEE"
|
| 117 |
+
#secondary = "#BDBDBD"
|
| 118 |
+
|
| 119 |
+
[meta]
|
| 120 |
+
generated_by = "1.1.306"
|