forked from lobehub/lobe-chat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetting.json
399 lines (399 loc) · 12.7 KB
/
setting.json
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
{
"danger": {
"clear": {
"action": "Clear Now",
"confirm": "Confirm to clear all chat data?",
"desc": "This will clear all session data, including agent, files, messages, plugins, etc.",
"success": "All session messages have been cleared",
"title": "Clear All Session Messages"
},
"reset": {
"action": "Reset Now",
"confirm": "Confirm to reset all settings?",
"currentVersion": "Current Version",
"desc": "Reset all settings to default values",
"title": "Reset All Settings"
}
},
"header": {
"global": "Global Settings",
"session": "Session Settings",
"sessionWithName": "Session Settings · {{name}}"
},
"llm": {
"AzureOpenAI": {
"azureApiVersion": {
"desc": "The API version of Azure, following the format YYYY-MM-DD. Check the [latest version](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions)",
"fetch": "Fetch List",
"title": "Azure API Version"
},
"deployments": {
"desc": "Fill in your deployment model using the syntax id=name (e.g. if the deployment name is the same as the model name, you can just fill in the model name). Use commas (,) to separate multiple models",
"title": "Azure Deployment Models List"
},
"endpoint": {
"desc": "This value can be found in the 'Keys and Endpoints' section when checking the resource on the Azure portal",
"placeholder": "https://docs-test-001.openai.azure.com",
"title": "Azure API Address"
},
"models": {
"desc": "Supported models",
"title": "Model List"
},
"title": "Azure OpenAI Settings",
"token": {
"desc": "This value can be found in the 'Keys and Endpoints' section when checking the resource on the Azure portal. You can use KEY1 or KEY2",
"placeholder": "Azure API Key",
"title": "API Key"
}
},
"Bedrock": {
"accessKeyId": {
"desc": "Enter your Aws Access Key Id",
"placeholder": "Aws Access Key Id",
"title": "Aws Access Key Id"
},
"checker": {
"desc": "Test if AccessKeyId / SecretAccessKey are filled in correctly"
},
"region": {
"desc": "Enter Aws Region",
"placeholder": "Aws Region",
"title": "Aws Region"
},
"secretAccessKey": {
"desc": "Enter Aws Secret Access Key",
"placeholder": "Aws Secret Access Key",
"title": "Aws Secret Access Key"
},
"title": "Bedrock"
},
"Google": {
"title": "Google",
"token": {
"desc": "Enter the API Key from Google",
"placeholder": "Google API Key",
"title": "API Key"
}
},
"Moonshot": {
"title": "Dark Side of the Moon",
"token": {
"desc": "Enter the API Key from Moonshot AI",
"placeholder": "Moonshot AI API Key",
"title": "API Key"
}
},
"Ollama": {
"checker": {
"desc": "Check if the proxy address is filled in correctly"
},
"customModelName": {
"desc": "Add custom models, separate multiple models with commas",
"placeholder": "vicuna,llama,codellama,llama2:13b-text",
"title": "Custom Model Name"
},
"endpoint": {
"desc": "Enter the Ollama API proxy address, leave blank if not specifically set locally",
"placeholder": "http://127.0.0.1:11434/v1",
"title": "API Proxy Address"
},
"title": "Ollama"
},
"OpenAI": {
"azureApiVersion": {
"desc": "The API version for Azure, following the format YYYY-MM-DD, check the [latest version](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions)",
"fetch": "Fetch List",
"title": "Azure API Version"
},
"customModelName": {
"desc": "Add custom models, separate multiple models with commas (,)",
"placeholder": "model1,model2,model3",
"title": "Custom Model Name"
},
"endpoint": {
"desc": "Must include http(s):// besides the default address",
"placeholder": "https://api.openai.com/v1",
"title": "API Proxy Address"
},
"models": {
"count": "Supports a total of {{count}} models",
"desc": "Supported models",
"fetch": "Fetch Model List",
"notSupport": "Azure OpenAI does not currently support viewing the model list",
"notSupportTip": "You need to ensure that the deployment name matches the model name",
"refetch": "Refetch Model List",
"title": "Model List"
},
"title": "OpenAI Settings",
"token": {
"desc": "Use your own OpenAI Key",
"placeholder": "OpenAI API Key",
"title": "API Key"
},
"useAzure": {
"desc": "Use OpenAI services provided by Azure",
"fetch": "Fetch List",
"serverConfig": "The administrator has enabled Azure OpenAI on the server side, and switching is prohibited",
"title": "Azure OpenAI"
}
},
"Perplexity": {
"title": "Perplexity AI",
"token": {
"desc": "Enter the API Key from Perplexity",
"placeholder": "Perplexity API Key",
"title": "API Key"
}
},
"Zhipu": {
"title": "Zhipu",
"token": {
"desc": "Enter the API Key from Zhipu",
"placeholder": "Zhipu API Key",
"title": "API Key"
}
},
"checker": {
"button": "Check",
"desc": "Test if the Api Key and proxy address are filled in correctly",
"pass": "Check Passed",
"title": "Connectivity Check"
},
"waitingForMore": "More models are <1>planned to be added</1>, stay tuned ✨"
},
"plugin": {
"addTooltip": "Custom Plugin",
"clearDeprecated": "Remove Deprecated Plugins",
"empty": "No installed plugins yet, feel free to explore the <1>Plugin Store</1>",
"installStatus": {
"deprecated": "Uninstalled"
},
"settings": {
"hint": "Please fill in the following configurations based on the description",
"title": "{{id}} Plugin Configuration",
"tooltip": "Plugin Configuration"
},
"store": "Plugin Store"
},
"settingAgent": {
"avatar": {
"title": "Avatar"
},
"backgroundColor": {
"title": "Background Color"
},
"description": {
"placeholder": "Enter agent description",
"title": "Agent Description"
},
"name": {
"placeholder": "Enter agent name",
"title": "Name"
},
"prompt": {
"placeholder": "Enter role prompt word",
"title": "Role Setting"
},
"tag": {
"placeholder": "Enter tag",
"title": "Tag"
},
"title": "Agent Information"
},
"settingChat": {
"autoCreateTopicThreshold": {
"desc": "Automatically create a topic when the current message count exceeds this value",
"title": "Message Threshold"
},
"chatStyleType": {
"title": "Chat Window Style",
"type": {
"chat": "Conversation Mode",
"docs": "Document Mode"
}
},
"compressThreshold": {
"desc": "When the uncompressed history messages exceed this value, compression will be applied",
"title": "History Message Length Compression Threshold"
},
"enableAutoCreateTopic": {
"desc": "Whether to automatically create a topic during the conversation, only effective in temporary topics",
"title": "Auto Create Topic"
},
"enableCompressThreshold": {
"title": "Enable History Message Length Compression Threshold"
},
"enableHistoryCount": {
"alias": "Unlimited",
"limited": "Include only {{number}} conversation messages",
"title": "Limit History Message Count",
"unlimited": "Unlimited history message count"
},
"historyCount": {
"desc": "Number of historical messages carried with each request",
"title": "Attached History Message Count"
},
"inputTemplate": {
"desc": "The user's latest message will be filled into this template",
"placeholder": "Preprocessing template {{text}} will be replaced with real-time input information",
"title": "User Input Preprocessing"
},
"title": "Chat Settings"
},
"settingModel": {
"enableMaxTokens": {
"title": "Enable Max Tokens Limit"
},
"frequencyPenalty": {
"desc": "The higher the value, the more likely it is to reduce repeated words",
"title": "Frequency Penalty"
},
"maxTokens": {
"desc": "The maximum number of tokens used for each interaction",
"title": "Max Tokens Limit"
},
"model": {
"desc": "ChatGPT model",
"list": {
"gpt-3.5-turbo": "GPT 3.5",
"gpt-3.5-turbo-16k": "GPT 3.5 (16K)",
"gpt-4": "GPT 4",
"gpt-4-32k": "GPT 4 (32K)"
},
"title": "Model"
},
"presencePenalty": {
"desc": "The higher the value, the more likely it is to expand to new topics",
"title": "Topic Freshness"
},
"temperature": {
"desc": "The higher the value, the more random the response",
"title": "Randomness",
"titleWithValue": "Randomness {{value}}"
},
"title": "Model Settings",
"topP": {
"desc": "Similar to randomness, but do not change together with randomness",
"title": "Top P Sampling"
}
},
"settingPlugin": {
"title": "Plugin List"
},
"settingSystem": {
"accessCode": {
"desc": "Encryption access is enabled by the administrator",
"placeholder": "Enter access password",
"title": "Access Password"
},
"oauth": {
"info": {
"desc": "Logged in",
"title": "Account Information"
},
"signin": {
"action": "Sign In",
"desc": "Sign in using SSO to unlock the app",
"title": "Sign In to Your Account"
},
"signout": {
"action": "Sign Out",
"confirm": "Confirm sign out?",
"success": "Sign out successful"
}
},
"title": "System Settings"
},
"settingTTS": {
"openai": {
"sttModel": "OpenAI Speech-to-Text Model",
"ttsModel": "OpenAI Text-to-Speech Model"
},
"showAllLocaleVoice": {
"desc": "If closed, only voices in the current language will be displayed",
"title": "Show All Locale Voices"
},
"stt": "Speech Recognition Settings",
"sttAutoStop": {
"desc": "When closed, speech recognition will not end automatically and requires manual click to stop",
"title": "Auto Stop Speech Recognition"
},
"sttLocale": {
"desc": "The language of the speech input, this option can improve the accuracy of speech recognition",
"title": "Speech Recognition Language"
},
"sttService": {
"desc": "Where 'browser' is the native speech recognition service of the browser",
"title": "Speech Recognition Service"
},
"title": "Speech Service",
"tts": "Text-to-Speech Settings",
"ttsService": {
"desc": "If using OpenAI text-to-speech service, make sure the OpenAI model service is enabled",
"title": "Text-to-Speech Service"
},
"voice": {
"desc": "Select a voice for the current agent, different TTS services support different voices",
"preview": "Voice Preview",
"title": "Text-to-Speech Voice"
}
},
"settingTheme": {
"avatar": {
"title": "Avatar"
},
"fontSize": {
"desc": "Font size for chat content",
"marks": {
"normal": "Normal"
},
"title": "Font Size"
},
"lang": {
"autoMode": "Follow System",
"title": "Language"
},
"neutralColor": {
"desc": "Custom neutral color for different color tendencies",
"title": "Neutral Color"
},
"primaryColor": {
"desc": "Custom primary theme color",
"title": "Primary Color"
},
"themeMode": {
"auto": "Auto",
"dark": "Dark",
"light": "Light",
"title": "Theme"
},
"title": "Theme Settings"
},
"submitAgentModal": {
"button": "Submit Agent",
"identifier": "Agent Identifier",
"metaMiss": "Please complete the agent information before submitting. It should include name, description, and tags",
"placeholder": "Enter a unique identifier for the agent, e.g. web-development",
"tooltips": "Share to the agent marketplace"
},
"tab": {
"agent": "Default Agent",
"common": "Common Settings",
"llm": "Language Model",
"tts": "Text-to-Speech"
},
"tools": {
"builtins": {
"groupName": "Built-ins"
},
"disabled": "The current model does not support function calls and cannot use the plugin",
"plugins": {
"enabled": "Enabled: {{num}}",
"groupName": "Plugins",
"noEnabled": "No plugins enabled",
"store": "Plugin Store"
},
"title": "Extension Tools"
}
}