datacipen commited on
Commit
ca86a19
·
verified ·
1 Parent(s): cdf6b20

Update .chainlit/config.toml

Browse files
Files changed (1) hide show
  1. .chainlit/config.toml +16 -25
.chainlit/config.toml CHANGED
@@ -9,6 +9,9 @@ user_env = []
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
 
@@ -16,14 +19,11 @@ 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 = false
27
 
28
  # Process and display mathematical expressions. This can clash with "$" characters in messages.
29
  latex = false
@@ -31,6 +31,9 @@ latex = false
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
@@ -39,32 +42,20 @@ auto_tag_thread = true
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 = "MISIA"
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.
@@ -82,7 +73,7 @@ custom_css = "/public/stylesheet.css"
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.
@@ -90,7 +81,7 @@ custom_font = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&d
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)
@@ -120,4 +111,4 @@ custom_font = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&d
120
  #secondary = "#BDBDBD"
121
 
122
  [meta]
123
- generated_by = "1.1.301"
 
9
  # Duration (in seconds) during which the session is saved when the connection is lost
10
  session_timeout = 3600
11
 
12
+ # Duration (in seconds) of the user session expiry
13
+ user_session_timeout = 1296000 # 15 days
14
+
15
  # Enable third parties caching (e.g LangChain cache)
16
  cache = false
17
 
 
19
  allow_origins = ["*"]
20
 
21
  # Follow symlink for asset mount (see https://github.com/Chainlit/chainlit/issues/317)
22
+ # follow_symlink = false
23
 
24
  [features]
 
 
 
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
 
31
  # Automatically tag threads with the current chat profile (if a chat profile is used)
32
  auto_tag_thread = true
33
 
34
+ # Allow users to edit their own messages
35
+ edit_message = true
36
+
37
  # Authorize users to spontaneously upload files with messages
38
  [features.spontaneous_file_upload]
39
  enabled = false
 
42
  max_size_mb = 500
43
 
44
  [features.audio]
 
 
 
 
 
 
 
 
 
 
45
  # Sample rate of the audio
46
+ sample_rate = 24000
47
 
48
  [UI]
49
  # Name of the assistant.
50
+ name = "MIS IA"
 
 
51
 
52
  # Description of the assistant. This is used for HTML tags.
53
  # description = ""
54
 
55
  # Large size content are by default collapsed for a cleaner ui
56
+ default_collapse_content = true
57
+
58
+ # Chain of Thought (CoT) display mode. Can be "hidden", "tool_call" or "full".
59
  cot = "full"
60
 
61
  # Link to your github repo. This will add a github button in the UI's header.
 
73
  custom_font = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap"
74
 
75
  # Specify a custom meta image url.
76
+ custom_meta_image_url = "https://chainlit-cloud.s3.eu-west-3.amazonaws.com/logo/chainlit_banner.png"
77
 
78
  # Specify a custom build directory for the frontend.
79
  # This can be used to customize the frontend code.
 
81
  # custom_build = "./public/build"
82
 
83
  [UI.theme]
84
+ default = "dark"
85
  layout = "wide"
86
  font_family = "Inter, sans-serif"
87
  # Override default MUI light theme. (Check theme.ts)
 
111
  #secondary = "#BDBDBD"
112
 
113
  [meta]
114
+ generated_by = "2.0rc0"