datacipen commited on
Commit
9410064
1 Parent(s): 33ce95c

Update .chainlit/config.toml

Browse files
Files changed (1) hide show
  1. .chainlit/config.toml +30 -47
.chainlit/config.toml CHANGED
@@ -16,84 +16,72 @@ cache = false
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
  # Show the prompt playground
23
- #prompt_playground = true
24
 
25
  # 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)
26
- unsafe_allow_html = true
27
 
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 = false
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 assistant.
57
- name = "EVENTIA"
58
 
59
- show_readme_as_default = false
 
60
 
61
- # Description of the assistant. This is used for HTML tags.
62
  # description = ""
63
 
64
  # Large size content are by default collapsed for a cleaner ui
65
- default_collapse_content = false
66
- default_expand_messages = true
 
 
 
67
  # Hide the chain of thought details from the user in the UI.
68
- cot = "full"
69
 
70
  # Link to your github repo. This will add a github button in the UI's header.
71
  # github = ""
72
 
73
  # Specify a CSS file that can be used to customize the user interface.
74
  # The CSS file can be served from the public directory or via an external link.
75
- custom_css = "/public/stylesheet.css"
76
 
77
  # Specify a Javascript file that can be used to customize the user interface.
78
  # The Javascript file can be served from the public directory.
79
  # custom_js = "/public/test.js"
80
 
81
  # Specify a custom font url.
82
- custom_font = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap"
83
 
84
- # Specify a custom meta image url.
85
- #custom_meta_image_url = "/public/logo-ofipe.jpg"
86
-
87
- # Specify a custom build directory for the frontend.
88
  # This can be used to customize the frontend code.
89
  # Be careful: If this is a relative path, it should not start with a slash.
90
- # custom_build = "./public/build"
91
 
92
- [UI.theme]
93
- #default = "dark"
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"
@@ -102,9 +90,6 @@ custom_font = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&d
102
  #main = "#F80061"
103
  #dark = "#980039"
104
  #light = "#FFE7EB"
105
- [UI.theme.light.text]
106
- #primary = "#212121"
107
- #secondary = "#616161"
108
 
109
  # Override default MUI dark theme. (Check theme.ts)
110
  [UI.theme.dark]
@@ -115,9 +100,7 @@ custom_font = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&d
115
  #main = "#F80061"
116
  #dark = "#980039"
117
  #light = "#FFE7EB"
118
- [UI.theme.dark.text]
119
- #primary = "#EEEEEE"
120
- #secondary = "#BDBDBD"
121
 
122
  [meta]
123
- generated_by = "1.1.301"
 
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
  # Show the prompt playground
23
+ prompt_playground = true
24
 
25
  # 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)
26
+ unsafe_allow_html = false
27
 
28
  # Process and display mathematical expressions. This can clash with "$" characters in messages.
29
  latex = false
30
 
31
+ # Authorize users to upload files with messages
32
+ [features.multi_modal]
33
+ enabled = true
 
 
 
34
  accept = ["*/*"]
35
  max_files = 20
36
  max_size_mb = 500
37
 
38
+ # Allows user to use speech to text
39
+ [features.speech_to_text]
40
+ enabled = false
41
+ # See all languages here https://github.com/JamesBrill/react-speech-recognition/blob/HEAD/docs/API.md#language-string
42
+ # language = "en-US"
 
 
 
 
 
 
 
 
43
 
44
  [UI]
45
+ # Name of the app and chatbot.
46
+ name = "Chatbot"
47
 
48
+ # Show the readme while the thread is empty.
49
+ show_readme_as_default = true
50
 
51
+ # Description of the app and chatbot. This is used for HTML tags.
52
  # description = ""
53
 
54
  # Large size content are by default collapsed for a cleaner ui
55
+ default_collapse_content = true
56
+
57
+ # The default value for the expand messages settings.
58
+ default_expand_messages = false
59
+
60
  # Hide the chain of thought details from the user in the UI.
61
+ hide_cot = false
62
 
63
  # Link to your github repo. This will add a github button in the UI's header.
64
  # github = ""
65
 
66
  # Specify a CSS file that can be used to customize the user interface.
67
  # The CSS file can be served from the public directory or via an external link.
68
+ # custom_css = "/public/test.css"
69
 
70
  # Specify a Javascript file that can be used to customize the user interface.
71
  # The Javascript file can be served from the public directory.
72
  # custom_js = "/public/test.js"
73
 
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"
 
90
  #main = "#F80061"
91
  #dark = "#980039"
92
  #light = "#FFE7EB"
 
 
 
93
 
94
  # Override default MUI dark theme. (Check theme.ts)
95
  [UI.theme.dark]
 
100
  #main = "#F80061"
101
  #dark = "#980039"
102
  #light = "#FFE7EB"
103
+
 
 
104
 
105
  [meta]
106
+ generated_by = "1.0.301"