datacipen commited on
Commit
828892c
·
verified ·
1 Parent(s): eafb7d5

Upload config.toml

Browse files
Files changed (1) hide show
  1. .chainlit/config.toml +114 -0
.chainlit/config.toml ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ # 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
+
18
+ # Authorized origins
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
30
+
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
40
+ accept = ["*/*"]
41
+ max_files = 20
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.
62
+ # github = ""
63
+
64
+ # Specify a CSS file that can be used to customize the user interface.
65
+ # The CSS file can be served from the public directory or via an external link.
66
+ custom_css = "/public/stylesheet.css"
67
+
68
+ # Specify a Javascript file that can be used to customize the user interface.
69
+ # The Javascript file can be served from the public directory.
70
+ # custom_js = "/public/test.js"
71
+
72
+ # Specify a custom font url.
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.
80
+ # Be careful: If this is a relative path, it should not start with a slash.
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)
88
+ [UI.theme.light]
89
+ #background = "#FAFAFA"
90
+ #paper = "#FFFFFF"
91
+
92
+ [UI.theme.light.primary]
93
+ #main = "#F80061"
94
+ #dark = "#980039"
95
+ #light = "#FFE7EB"
96
+ [UI.theme.light.text]
97
+ #primary = "#212121"
98
+ #secondary = "#616161"
99
+
100
+ # Override default MUI dark theme. (Check theme.ts)
101
+ [UI.theme.dark]
102
+ #background = "#FAFAFA"
103
+ #paper = "#FFFFFF"
104
+
105
+ [UI.theme.dark.primary]
106
+ #main = "#F80061"
107
+ #dark = "#980039"
108
+ #light = "#FFE7EB"
109
+ [UI.theme.dark.text]
110
+ #primary = "#EEEEEE"
111
+ #secondary = "#BDBDBD"
112
+
113
+ [meta]
114
+ generated_by = "2.0rc0"