Update .chainlit/config.toml
Browse files- .chainlit/config.toml +23 -11
.chainlit/config.toml
CHANGED
@@ -28,18 +28,29 @@ unsafe_allow_html = false
|
|
28 |
# Process and display mathematical expressions. This can clash with "$" characters in messages.
|
29 |
latex = false
|
30 |
|
31 |
-
#
|
32 |
-
|
|
|
|
|
|
|
33 |
enabled = true
|
34 |
accept = ["*/*"]
|
35 |
max_files = 20
|
36 |
max_size_mb = 500
|
37 |
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
#
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
[UI]
|
45 |
# Name of the app and chatbot.
|
@@ -74,14 +85,15 @@ hide_cot = false
|
|
74 |
# Specify a custom font url.
|
75 |
# custom_font = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap"
|
76 |
|
77 |
-
# Specify a custom build directory for the frontend.
|
78 |
# This can be used to customize the frontend code.
|
79 |
# Be careful: If this is a relative path, it should not start with a slash.
|
80 |
-
custom_build = "./"
|
81 |
|
82 |
-
# Override default MUI light theme. (Check theme.ts)
|
83 |
[UI.theme]
|
|
|
84 |
#font_family = "Inter, sans-serif"
|
|
|
85 |
[UI.theme.light]
|
86 |
#background = "#FAFAFA"
|
87 |
#paper = "#FFFFFF"
|
@@ -103,4 +115,4 @@ custom_build = "./"
|
|
103 |
|
104 |
|
105 |
[meta]
|
106 |
-
generated_by = "1.
|
|
|
28 |
# Process and display mathematical expressions. This can clash with "$" characters in messages.
|
29 |
latex = false
|
30 |
|
31 |
+
# Automatically tag threads with the current chat profile (if a chat profile is used)
|
32 |
+
auto_tag_thread = true
|
33 |
+
|
34 |
+
# Authorize users to spontaneously upload files with messages
|
35 |
+
[features.spontaneous_file_upload]
|
36 |
enabled = true
|
37 |
accept = ["*/*"]
|
38 |
max_files = 20
|
39 |
max_size_mb = 500
|
40 |
|
41 |
+
[features.audio]
|
42 |
+
# Threshold for audio recording
|
43 |
+
min_decibels = -45
|
44 |
+
# Delay for the user to start speaking in MS
|
45 |
+
initial_silence_timeout = 3000
|
46 |
+
# Delay for the user to continue speaking in MS. If the user stops speaking for this duration, the recording will stop.
|
47 |
+
silence_timeout = 1500
|
48 |
+
# Above this duration (MS), the recording will forcefully stop.
|
49 |
+
max_duration = 15000
|
50 |
+
# Duration of the audio chunks in MS
|
51 |
+
chunk_duration = 1000
|
52 |
+
# Sample rate of the audio
|
53 |
+
sample_rate = 44100
|
54 |
|
55 |
[UI]
|
56 |
# Name of the app and chatbot.
|
|
|
85 |
# Specify a custom font url.
|
86 |
# custom_font = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap"
|
87 |
|
88 |
+
# Specify a custom build directory for the frontend.
|
89 |
# This can be used to customize the frontend code.
|
90 |
# Be careful: If this is a relative path, it should not start with a slash.
|
91 |
+
# custom_build = "./public/build"
|
92 |
|
|
|
93 |
[UI.theme]
|
94 |
+
#layout = "wide"
|
95 |
#font_family = "Inter, sans-serif"
|
96 |
+
# Override default MUI light theme. (Check theme.ts)
|
97 |
[UI.theme.light]
|
98 |
#background = "#FAFAFA"
|
99 |
#paper = "#FFFFFF"
|
|
|
115 |
|
116 |
|
117 |
[meta]
|
118 |
+
generated_by = "1.1.0rc1"
|