File size: 3,932 Bytes
bafe839
 
 
 
5cf3e4d
bafe839
 
 
 
 
 
 
 
 
5cf3e4d
 
 
bafe839
 
 
 
 
 
 
 
5cf3e4d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
bafe839
 
7f989d6
bafe839
 
7f989d6
 
bafe839
 
 
 
 
7f989d6
bafe839
 
7f989d6
bafe839
 
 
4dc8546
bafe839
5cf3e4d
 
 
 
 
 
 
 
7f989d6
5cf3e4d
 
 
 
 
 
 
7f989d6
5cf3e4d
 
bafe839
 
7f989d6
 
bafe839
 
7f989d6
 
 
 
 
 
bafe839
 
5cf3e4d
 
bafe839
 
5cf3e4d
 
 
bafe839
 
 
7f989d6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[project]
# Whether to enable telemetry (default: true). No personal data is collected.
enable_telemetry = true


# List of environment variables to be provided by each user to use the app.
user_env = []

# Duration (in seconds) during which the session is saved when the connection is lost
session_timeout = 3600

# Enable third parties caching (e.g LangChain cache)
cache = false

# Authorized origins
allow_origins = ["*"]

# Follow symlink for asset mount (see https://github.com/Chainlit/chainlit/issues/317)
# follow_symlink = false

[features]
# 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)
unsafe_allow_html = false

# Process and display mathematical expressions. This can clash with "$" characters in messages.
latex = false

# Automatically tag threads with the current chat profile (if a chat profile is used)
auto_tag_thread = true

# Authorize users to spontaneously upload files with messages
[features.spontaneous_file_upload]
    enabled = true
    accept = ["*/*"]
    max_files = 20
    max_size_mb = 500

[features.audio]
    # Threshold for audio recording
    min_decibels = -45
    # Delay for the user to start speaking in MS
    initial_silence_timeout = 3000
    # Delay for the user to continue speaking in MS. If the user stops speaking for this duration, the recording will stop.
    silence_timeout = 1500
    # Above this duration (MS), the recording will forcefully stop.
    max_duration = 15000
    # Duration of the audio chunks in MS
    chunk_duration = 1000
    # Sample rate of the audio
    sample_rate = 44100

[UI]
# Name of the assistant.
name = "AI Tutor"

# Description of the assistant. This is used for HTML tags.
# description = ""

# Large size content are by default collapsed for a cleaner ui
default_collapse_content = true

# Hide the chain of thought details from the user in the UI.
hide_cot = true

# Link to your github repo. This will add a github button in the UI's header.
# github = "https://github.com/DL4DS/dl4ds_tutor"

# Specify a CSS file that can be used to customize the user interface.
# The CSS file can be served from the public directory or via an external link.
custom_css = "/public/test.css"

# Specify a Javascript file that can be used to customize the user interface.
# The Javascript file can be served from the public directory.
# custom_js = "/public/test.js"

# Specify a custom font url.
# custom_font = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap"

# Specify a custom meta image url.
custom_meta_image_url = "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f5/Boston_University_seal.svg/1200px-Boston_University_seal.svg.png"

# Specify a custom build directory for the frontend.
# This can be used to customize the frontend code.
# Be careful: If this is a relative path, it should not start with a slash.
# custom_build = "./public/build"

[UI.theme]
    default = "light"
    #layout = "wide"
    #font_family = "Inter, sans-serif"
# Override default MUI light theme. (Check theme.ts)
[UI.theme.light]
    background = "#FAFAFA"
    paper = "#FFFFFF"

    [UI.theme.light.primary]
        main = "#b22222"  # Brighter shade of red
        dark = "#8b0000"  # Darker shade of the brighter red
        light = "#ff6347"  # Lighter shade of the brighter red
    [UI.theme.light.text]
        primary = "#212121"
        secondary = "#616161"
# Override default MUI dark theme. (Check theme.ts)
[UI.theme.dark]
    background = "#1C1C1C" # Slightly lighter dark background color
    paper = "#2A2A2A"      # Slightly lighter dark paper color

    [UI.theme.dark.primary]
        main = "#89CFF0"    # Primary color
        dark = "#3700B3"    # Dark variant of primary color
        light = "#CFBCFF"   # Lighter variant of primary color


[meta]
generated_by = "1.1.302"