solitudeLin commited on
Commit
4cf6072
·
verified ·
1 Parent(s): 97ee851

Create librechat.yaml

Browse files
Files changed (1) hide show
  1. librechat.yaml +236 -0
librechat.yaml ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # For more information, see the Configuration Guide:
2
+ # https://www.librechat.ai/docs/configuration/librechat_yaml
3
+
4
+ # Configuration version (required)
5
+ version: 1.2.0
6
+
7
+ # Cache settings: Set to true to enable caching
8
+ cache: true
9
+
10
+ # Custom interface configuration
11
+ interface:
12
+ # Privacy policy settings
13
+ privacyPolicy:
14
+ externalUrl: 'https://librechat.ai/privacy-policy'
15
+ openNewTab: true
16
+
17
+ # Terms of service
18
+ termsOfService:
19
+ externalUrl: 'https://librechat.ai/tos'
20
+ openNewTab: true
21
+ modalAcceptance: true
22
+ modalTitle: "Terms of Service for LibreChat"
23
+ modalContent: |
24
+ # Terms and Conditions for LibreChat
25
+
26
+ *Effective Date: February 18, 2024*
27
+
28
+ Welcome to LibreChat, the informational website for the open-source AI chat platform, available at https://librechat.ai. These Terms of Service ("Terms") govern your use of our website and the services we offer. By accessing or using the Website, you agree to be bound by these Terms and our Privacy Policy, accessible at https://librechat.ai//privacy.
29
+
30
+ ## 1. Ownership
31
+
32
+ Upon purchasing a package from LibreChat, you are granted the right to download and use the code for accessing an admin panel for LibreChat. While you own the downloaded code, you are expressly prohibited from reselling, redistributing, or otherwise transferring the code to third parties without explicit permission from LibreChat.
33
+
34
+ ## 2. User Data
35
+
36
+ We collect personal data, such as your name, email address, and payment information, as described in our Privacy Policy. This information is collected to provide and improve our services, process transactions, and communicate with you.
37
+
38
+ ## 3. Non-Personal Data Collection
39
+
40
+ The Website uses cookies to enhance user experience, analyze site usage, and facilitate certain functionalities. By using the Website, you consent to the use of cookies in accordance with our Privacy Policy.
41
+
42
+ ## 4. Use of the Website
43
+
44
+ You agree to use the Website only for lawful purposes and in a manner that does not infringe the rights of, restrict, or inhibit anyone else's use and enjoyment of the Website. Prohibited behavior includes harassing or causing distress or inconvenience to any person, transmitting obscene or offensive content, or disrupting the normal flow of dialogue within the Website.
45
+
46
+ ## 5. Governing Law
47
+
48
+ These Terms shall be governed by and construed in accordance with the laws of the United States, without giving effect to any principles of conflicts of law.
49
+
50
+ ## 6. Changes to the Terms
51
+
52
+ We reserve the right to modify these Terms at any time. We will notify users of any changes by email. Your continued use of the Website after such changes have been notified will constitute your consent to such changes.
53
+
54
+ ## 7. Contact Information
55
+
56
+ If you have any questions about these Terms, please contact us at [email protected].
57
+
58
+ By using the Website, you acknowledge that you have read these Terms of Service and agree to be bound by them.
59
+
60
+ endpointsMenu: true
61
+ modelSelect: true
62
+ parameters: true
63
+ sidePanel: true
64
+ presets: true
65
+ prompts: true
66
+ bookmarks: true
67
+ multiConvo: true
68
+ agents: true
69
+
70
+ # Example Registration Object Structure (optional)
71
+ registration:
72
+ socialLogins: ['github', 'google', 'discord', 'openid', 'facebook']
73
+ # allowedDomains:
74
+ # - "gmail.com"
75
+
76
+ # speech:
77
+ # tts:
78
+ # openai:
79
+ # url: ''
80
+ # apiKey: '${TTS_API_KEY}'
81
+ # model: ''
82
+ # voices: ['']
83
+
84
+ #
85
+ # stt:
86
+ # openai:
87
+ # url: ''
88
+ # apiKey: '${STT_API_KEY}'
89
+ # model: ''
90
+
91
+ # rateLimits:
92
+ # fileUploads:
93
+ # ipMax: 100
94
+ # ipWindowInMinutes: 60 # Rate limit window for file uploads per IP
95
+ # userMax: 50
96
+ # userWindowInMinutes: 60 # Rate limit window for file uploads per user
97
+ # conversationsImport:
98
+ # ipMax: 100
99
+ # ipWindowInMinutes: 60 # Rate limit window for conversation imports per IP
100
+ # userMax: 50
101
+ # userWindowInMinutes: 60 # Rate limit window for conversation imports per user
102
+
103
+ # Example Actions Object Structure
104
+ actions:
105
+ allowedDomains:
106
+ - "swapi.dev"
107
+ - "google.com"
108
+
109
+ # Example MCP Servers Object Structure
110
+ mcpServers:
111
+ everything:
112
+ # type: sse # type can optionally be omitted
113
+ url: http://localhost:3001/sse
114
+ puppeteer:
115
+ type: stdio
116
+ command: npx
117
+ args:
118
+ - -y
119
+ - "@modelcontextprotocol/server-puppeteer"
120
+ filesystem:
121
+ # type: stdio
122
+ command: npx
123
+ args:
124
+ - -y
125
+ - "@modelcontextprotocol/server-filesystem"
126
+ - /home/user/LibreChat/
127
+ iconPath: /home/user/LibreChat/client/public/assets/logo.svg
128
+ mcp-obsidian:
129
+ command: npx
130
+ args:
131
+ - -y
132
+ - "mcp-obsidian"
133
+ - /path/to/obsidian/vault
134
+
135
+ # Definition of custom endpoints
136
+ endpoints:
137
+ # assistants:
138
+ # disableBuilder: false # Disable Assistants Builder Interface by setting to `true`
139
+ # pollIntervalMs: 3000 # Polling interval for checking assistant updates
140
+ # timeoutMs: 180000 # Timeout for assistant operations
141
+ # # Should only be one or the other, either `supportedIds` or `excludedIds`
142
+ # supportedIds: ["asst_supportedAssistantId1", "asst_supportedAssistantId2"]
143
+ # # excludedIds: ["asst_excludedAssistantId"]
144
+ # Only show assistants that the user created or that were created externally (e.g. in Assistants playground).
145
+ # # privateAssistants: false # Does not work with `supportedIds` or `excludedIds`
146
+ # # (optional) Models that support retrieval, will default to latest known OpenAI models that support the feature
147
+ # retrievalModels: ["gpt-4-turbo-preview"]
148
+ # # (optional) Assistant Capabilities available to all users. Omit the ones you wish to exclude. Defaults to list below.
149
+ # capabilities: ["code_interpreter", "retrieval", "actions", "tools", "image_vision"]
150
+ # agents:
151
+ # disableBuilder: false
152
+ # (optional) Agent Capabilities available to all users. Omit the ones you wish to exclude. Defaults to list below.
153
+ # capabilities: ["execute_code", "file_search", "actions", "tools"]
154
+ custom:
155
+ # Groq Example
156
+ - name: 'AI Models'
157
+ apiKey: '${API_KEY}'
158
+ baseURL: 'https://oneapi.deepwisdom.ai/v1/'
159
+ models:
160
+ default:
161
+ [
162
+ 'deepseek-chat',
163
+ 'gpt-4o',
164
+ 'claude-3-5-sonnet-v2',
165
+ ]
166
+ fetch: true
167
+ titleConvo: true
168
+ titleModel: 'deepseek-chat'
169
+ modelDisplayLabel: 'AI Models'
170
+
171
+ # Mistral AI Example
172
+ - name: 'Mistral' # Unique name for the endpoint
173
+ # For `apiKey` and `baseURL`, you can use environment variables that you define.
174
+ # recommended environment variables:
175
+ apiKey: '${MISTRAL_API_KEY}'
176
+ baseURL: 'https://api.mistral.ai/v1'
177
+
178
+ # Models configuration
179
+ models:
180
+ # List of default models to use. At least one value is required.
181
+ default: ['mistral-tiny', 'mistral-small', 'mistral-medium']
182
+ # Fetch option: Set to true to fetch models from API.
183
+ fetch: true # Defaults to false.
184
+
185
+ # Optional configurations
186
+
187
+ # Title Conversation setting
188
+ titleConvo: true # Set to true to enable title conversation
189
+
190
+ # Title Method: Choose between "completion" or "functions".
191
+ # titleMethod: "completion" # Defaults to "completion" if omitted.
192
+
193
+ # Title Model: Specify the model to use for titles.
194
+ titleModel: 'mistral-tiny' # Defaults to "gpt-3.5-turbo" if omitted.
195
+
196
+ # Summarize setting: Set to true to enable summarization.
197
+ # summarize: false
198
+
199
+ # Summary Model: Specify the model to use if summarization is enabled.
200
+ # summaryModel: "mistral-tiny" # Defaults to "gpt-3.5-turbo" if omitted.
201
+
202
+ # Force Prompt setting: If true, sends a `prompt` parameter instead of `messages`.
203
+ # forcePrompt: false
204
+
205
+ # The label displayed for the AI model in messages.
206
+ modelDisplayLabel: 'Mistral' # Default is "AI" when not set.
207
+
208
+ # Add additional parameters to the request. Default params will be overwritten.
209
+ # addParams:
210
+ # safe_prompt: true # This field is specific to Mistral AI: https://docs.mistral.ai/api/
211
+
212
+ # Drop Default params parameters from the request. See default params in guide linked below.
213
+ # NOTE: For Mistral, it is necessary to drop the following parameters or you will encounter a 422 Error:
214
+ dropParams: ['stop', 'user', 'frequency_penalty', 'presence_penalty']
215
+
216
+
217
+ # fileConfig:
218
+ # endpoints:
219
+ # assistants:
220
+ # fileLimit: 5
221
+ # fileSizeLimit: 10 # Maximum size for an individual file in MB
222
+ # totalSizeLimit: 50 # Maximum total size for all files in a single request in MB
223
+ # supportedMimeTypes:
224
+ # - "image/.*"
225
+ # - "application/pdf"
226
+ # openAI:
227
+ # disabled: true # Disables file uploading to the OpenAI endpoint
228
+ # default:
229
+ # totalSizeLimit: 20
230
+ # YourCustomEndpointName:
231
+ # fileLimit: 2
232
+ # fileSizeLimit: 5
233
+ # serverFileSizeLimit: 100 # Global server file size limit in MB
234
+ # avatarSizeLimit: 2 # Limit for user avatar image size in MB
235
+ # See the Custom Configuration Guide for more information on Assistants Config:
236
+ # https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/assistants_endpoint