akash015 commited on
Commit
90483e5
·
verified ·
1 Parent(s): 4d2efca

Update .chainlit/config.toml

Browse files
Files changed (1) hide show
  1. .chainlit/config.toml +74 -120
.chainlit/config.toml CHANGED
@@ -1,120 +1,74 @@
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 = true
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
- [UI]
53
- name = "Shield Chat"
54
- custom_css = "/public/test.css"
55
-
56
-
57
- # Description of the assistant. This is used for HTML tags.
58
- # description = ""
59
-
60
- # Large size content are by default collapsed for a cleaner ui
61
- default_collapse_content = true
62
-
63
- # Hide the chain of thought details from the user in the UI.
64
- hide_cot = false
65
-
66
- # Link to your github repo. This will add a github button in the UI's header.
67
- # github = ""
68
-
69
- # Specify a CSS file that can be used to customize the user interface.
70
- # The CSS file can be served from the public directory or via an external link.
71
- # custom_css = "/public/test.css"
72
-
73
- # Specify a Javascript file that can be used to customize the user interface.
74
- # The Javascript file can be served from the public directory.
75
- # custom_js = "/public/test.js"
76
-
77
- # Specify a custom font url.
78
- # custom_font = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap"
79
-
80
- # Specify a custom meta image url.
81
- # custom_meta_image_url = "https://chainlit-cloud.s3.eu-west-3.amazonaws.com/logo/chainlit_banner.png"
82
-
83
- # Specify a custom build directory for the frontend.
84
- # This can be used to customize the frontend code.
85
- # Be careful: If this is a relative path, it should not start with a slash.
86
- # custom_build = "./public/build"
87
-
88
- [UI.theme]
89
- default = "dark"
90
- #layout = "wide"
91
- #font_family = "Inter, sans-serif"
92
- # Override default MUI light theme. (Check theme.ts)
93
- [UI.theme.light]
94
- #background = "#FAFAFA"
95
- #paper = "#FFFFFF"
96
-
97
- [UI.theme.light.primary]
98
- main = "#F80061"
99
- dark = "#980039"
100
- light = "#FFE7EB"
101
- [UI.theme.light.text]
102
- primary = "#212121"
103
- secondary = "#616161"
104
-
105
- # Override default MUI dark theme. (Check theme.ts)
106
- [UI.theme.dark]
107
- #background = "#FAFAFA"
108
- #paper = "#FFFFFF"
109
-
110
- [UI.theme.dark.primary]
111
- main = "#F80061"
112
- dark = "#980039"
113
- light = "#FFE7EB"
114
- [UI.theme.dark.text]
115
- primary = "#EEEEEE"
116
- secondary = "#BDBDBD"
117
-
118
-
119
- [meta]
120
- generated_by = "1.1.304"
 
1
+ [project]
2
+ enable_telemetry = true
3
+
4
+ user_env = []
5
+
6
+ session_timeout = 3600
7
+
8
+ cache = false
9
+
10
+ allow_origins = ["*"]
11
+
12
+ [features]
13
+ unsafe_allow_html = false
14
+
15
+ latex = false
16
+
17
+ auto_tag_thread = true
18
+
19
+ [features.spontaneous_file_upload]
20
+ enabled = true
21
+ accept = ["*/*"]
22
+ max_files = 20
23
+ max_size_mb = 500
24
+
25
+ [features.audio]
26
+ min_decibels = -45
27
+ initial_silence_timeout = 3000
28
+ silence_timeout = 1500
29
+ max_duration = 15000
30
+ chunk_duration = 1000
31
+ sample_rate = 44100
32
+
33
+ [UI]
34
+ name = "Shield Chat"
35
+ custom_css = "/public/test.css"
36
+
37
+
38
+
39
+ default_collapse_content = true
40
+
41
+ hide_cot = false
42
+
43
+ [UI.theme]
44
+ default = "dark"
45
+ layout = "wide"
46
+ font_family = "Inter, sans-serif"
47
+
48
+ [UI.theme.light]
49
+ background = "#FAFAFA"
50
+ paper = "#FFFFFF"
51
+
52
+ [UI.theme.light.primary]
53
+ main = "#F80061"
54
+ dark = "#980039"
55
+ light = "#FFE7EB"
56
+ [UI.theme.light.text]
57
+ primary = "#212121"
58
+ secondary = "#616161"
59
+
60
+ [UI.theme.dark]
61
+ background = "#FAFAFA"
62
+ paper = "#FFFFFF"
63
+
64
+ [UI.theme.dark.primary]
65
+ main = "#F80061"
66
+ dark = "#980039"
67
+ light = "#FFE7EB"
68
+ [UI.theme.dark.text]
69
+ primary = "#EEEEEE"
70
+ secondary = "#BDBDBD"
71
+
72
+
73
+ [meta]
74
+ generated_by = "1.1.304"