cherry studio 的安装与设置

一.软件介绍

Cherry Studio 支持多款国内外最先进的AI大语言模型,AI 响应速度非常快,还能自由切换模型对话。它适用于 Windows、Mac 和 Linux 系统,无需复杂设置即可使用。

二.安装设置

1.程序安装

Alt Text

2.配置和使用

2.1 聊天对话型

目前暂时不支持知识库的密钥

点击设置 – 模型服务 – 选择服务商为 OpenAI

API密钥:sk-65794a68624763694f694a49557a49314e694a

API 地址:https://api.4chat.me

支持模型:https://api.4chat.me/v1/models

Alt Text

在 API 密钥和 API 地址填入自己的 Key,并点击管理,稍微等一下,支持的模型会自动罗列出来,选择自己需要的模型即可

Alt Text

2.2 知识库型

既能聊天又能支持知识库的密钥

点击设置 - 模型服务 - 添加 - 提供商名称自己取一个,提供商类型选择 OpenAI

Alt Text

添加完成, API 添加等步骤同上

其他设置

Alt Text

为了让助手和话题容易区分,话题设置为右侧:

Alt Text

自定义 CSS,来源 分享一些中国风 Cherry Studio 主题皮肤

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
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
/* 长安主题 */
body[theme-mode="dark"] {
--color-background: #2C2420;
--color-background-soft: #3D312A;
--color-background-mute: #332A24;
--navbar-background: #2C2420;
--chat-background: #2C2420;
--chat-background-user: #362D26;
--chat-background-assistant: #3D312A;
}
body[theme-mode="dark"] #content-container {
background-color: #362D26 !important;
}
:root {
--color-black-soft: #2C2420;
}
body[theme-mode="light"] {
--color-background: #F2E6D5;
--color-background-soft: #E6D5C0;
--color-background-mute: #DFCBB3;
--navbar-background: #EDE0CC;
--chat-background: #F6EBDc;
--chat-background-user: #F2E6D5;
--chat-background-assistant: #E6D5C0;
--color-white: #F6EBDC;
}
body[theme-mode="light"] #content-container {
background-color: #F6EBDC !important;
}


/* 宣纸主题 */
body[theme-mode="dark"] {
--color-background: #2C2C2C;
--color-background-soft: #454545;
--color-background-mute: #333333;
--navbar-background: #2C2C2C;
--chat-background: #2C2C2C;
--chat-background-user: #383838;
--chat-background-assistant: #404040;
}
body[theme-mode="dark"] #content-container {
background-color: #383838 !important;
}
:root {
--color-black-soft: #2C2C2C;
}
body[theme-mode="light"] {
--color-background: #F5F2E9;
--color-background-soft: #EBE6D9;
--color-background-mute: #E5DFD1;
--navbar-background: #F2EEE3;
--chat-background: #F9F6ED;
--chat-background-user: #F5F2E9;
--chat-background-assistant: #EBE6D9;
--color-white: #F9F6ED;
}
body[theme-mode="light"] #content-container {
background-color: #F9F6ED !important;
}


/* 羊皮纸主题 */
body[theme-mode="dark"] {
--color-background: #32281A;
--color-background-soft: #463524;
--color-background-mute: #3D2E1F;
--navbar-background: #32281A;
--chat-background: #32281A;
--chat-background-user: #403020;
--chat-background-assistant: #463524;
}
body[theme-mode="dark"] #content-container {
background-color: #403020 !important;
}
:root {
--color-black-soft: #32281A;
}
body[theme-mode="light"] {
--color-background: #F4E4BE;
--color-background-soft: #E8D5AB;
--color-background-mute: #E2CCA0;
--navbar-background: #F0DEB5;
--chat-background: #F7EAC9;
--chat-background-user: #F4E4BE;
--chat-background-assistant: #E8D5AB;
--color-white: #F7EAC9;
}
body[theme-mode="light"] #content-container {
background-color: #F7EAC9 !important;
}


/* 金镶玉主题 */
body[theme-mode="dark"] {
--color-background: #2A2420;
--color-background-soft: #463C35;
--color-background-mute: #2F2925;
--navbar-background: #2A2420;
--chat-background: #2A2420;
--chat-background-user: #352E29;
--chat-background-assistant: #3D3631;
}
body[theme-mode="dark"] #content-container {
background-color: #352E29 !important;
}
:root {
--color-black-soft: #2A2420;
}
body[theme-mode="light"] {
--color-background: #F8F3E6;
--color-background-soft: #F3ECD8;
--color-background-mute: #EEE5CC;
--navbar-background: #F6F0E0;
--chat-background: #FBF7ED;
--chat-background-user: #F8F3E6;
--chat-background-assistant: #F3ECD8;
--color-white: #FBF7ED;
}
body[theme-mode="light"] #content-container {
background-color: #FBF7ED !important;
}


/* 琵琶主题 */
body[theme-mode="dark"] {
--color-background: #2B1F1C;
--color-background-soft: #463933;
--color-background-mute: #302320;
--navbar-background: #2B1F1C;
--chat-background: #2B1F1C;
--chat-background-user: #362925;
--chat-background-assistant: #3E312D;
}
body[theme-mode="dark"] #content-container {
background-color: #362925 !important;
}
:root {
--color-black-soft: #2B1F1C;
}
body[theme-mode="light"] {
--color-background: #F5EDE7;
--color-background-soft: #EFE4DB;
--color-background-mute: #E9DCD1;
--navbar-background: #F2E9E2;
--chat-background: #F8F2ED;
--chat-background-user: #F5EDE7;
--chat-background-assistant: #EFE4DB;
--color-white: #F8F2ED;
}
body[theme-mode="light"] #content-container {
background-color: #F8F2ED !important;
}


/* 烟雨主题 */
body[theme-mode="dark"] {
--color-background: #283339;
--color-background-soft: #364550;
--color-background-mute: #2F3B43;
--navbar-background: #283339;
--chat-background: #283339;
--chat-background-user: #313E47;
--chat-background-assistant: #364550;
}
body[theme-mode="dark"] #content-container {
background-color: #313E47 !important;
}
:root {
--color-black-soft: #283339;
}
body[theme-mode="light"] {
--color-background: #E8F0F2;
--color-background-soft: #DBE7EB;
--color-background-mute: #D1E0E5;
--navbar-background: #E3EDF0;
--chat-background: #EDF4F6;
--chat-background-user: #E8F0F2;
--chat-background-assistant: #DBE7EB;
--color-white: #EDF4F6;
}
body[theme-mode="light"] #content-container {
background-color: #EDF4F6 !important;
}


/* 天水主题 */
body[theme-mode="dark"] {
--color-background: #1a3059;
--color-background-soft: #264573;
--color-background-mute: #1f3966;
--navbar-background: #1a3059;
--chat-background: #1a3059;
--chat-background-user: #233d6b;
--chat-background-assistant: #2c4a80;
}
body[theme-mode="dark"] #content-container {
background-color: #233d6b !important;
}
:root {
--color-black-soft: #1a3059;
}
body[theme-mode="light"] {
--color-background: #f3f6fa;
--color-background-soft: #e8eef6;
--color-background-mute: #dce5f0;
--navbar-background: #edf2f8;
--chat-background: #f7fafd;
--chat-background-user: #f3f6fa;
--chat-background-assistant: #e8eef6;
--color-white: #f7fafd;
}
body[theme-mode="light"] #content-container {
background-color: #f7fafd !important;
}


/* 山水主题 */
body[theme-mode="dark"] {
--color-background: #2c2c2c88;
--color-background-soft: #4A4A4A;
--color-background-mute: #2c2c2c66;
--navbar-background: #2c2c2c;
--chat-background: #2c2c2c;
--chat-background-user: #666666;
--chat-background-assistant: #4a4a4a;
}
body[theme-mode="dark"] #content-container {
background-color: #3c3c3c !important;
}
:root {
--color-black-soft: #2c2c2c;
}
body[theme-mode="light"] {
--color-background: #f5f5f5;
--color-background-soft: #ebebeb;
--color-background-mute: #e0e0e0;
--navbar-background: #f0f0f0;
--chat-background: #ffffff;
--chat-background-user: #f5f5f5;
--chat-background-assistant: #ebebeb;
--color-white: #ffffff;
}
body[theme-mode="light"] #content-container {
background-color: #ffffff !important;
}


/* 玉石主题 */
body[theme-mode="dark"] {
--color-background: #1c382988;
--color-background-soft: #2a5b43;
--color-background-mute: #326b4f66;
--navbar-background: #1c3829;
--chat-background: #1c3829;
--chat-background-user: #2a4f3e;
--chat-background-assistant: #326b4f;
}
body[theme-mode="dark"] #content-container {
background-color: #2a4f3e !important;
}
:root {
--color-black-soft: #1c3829;
}
body[theme-mode="light"] {
--color-background: #e8f3ea;
--color-background-soft: #d5e8d8;
--color-background-mute: #c2ddc6;
--navbar-background: #daf0dd;
--chat-background: #f3f9f4;
--chat-background-user: #e8f3ea;
--chat-background-assistant: #d5e8d8;
--color-white: #f3f9f4;
}
body[theme-mode="light"] #content-container {
background-color: #f3f9f4 !important;
}


/* 紫陶主题 */
body[theme-mode="dark"] {
--color-background: #4a314d88;
--color-background-soft: #735475;
--color-background-mute: #4a314d66;
--navbar-background: #4a314d;
--chat-background: #4a314d;
--chat-background-user: #614464;
--chat-background-assistant: #735f76;
}
body[theme-mode="dark"] #content-container {
background-color: #614464 !important;
}
:root {
--color-black-soft: #4a314d;
}
body[theme-mode="light"] {
--color-background: #f4eef5;
--color-background-soft: #e8dcea;
--color-background-mute: #dbcbde;
--navbar-background: #efe5f0;
--chat-background: #f9f6fa;
--chat-background-user: #f4eef5;
--chat-background-assistant: #e8dcea;
--color-white: #f9f6fa;
}
body[theme-mode="light"] #content-container {
background-color: #f9f6fa !important;
}


/* 青雾主题 */
body[theme-mode="dark"] {
--color-background: #4c584488;
--color-background-soft: #697a60;
--color-background-mute: #55614d66;
--navbar-background: #4c5844;
--chat-background: #4c5844;
--chat-background-user: #5f6b57;
--chat-background-assistant: #3d4637;
}
body[theme-mode="dark"] #content-container {
background-color: #5f6b57 !important;
}
:root {
--color-black-soft: #4c5844;
}
body[theme-mode="light"] {
--color-background: #eef2eb;
--color-background-soft: #e2e8dd;
--color-background-mute: #d6decf;
--navbar-background: #e8ede4;
--chat-background: #f4f6f2;
--chat-background-user: #eef2eb;
--chat-background-assistant: #e2e8dd;
--color-white: #f4f6f2;
}
body[theme-mode="light"] #content-container {
background-color: #f4f6f2 !important;
}


/* 素宣主题 */
body[theme-mode="dark"] {
--color-background: #1F2428;
--color-background-soft: #2A3035;
--color-background-mute: #242A2E;
--navbar-background: #1F2428;
--chat-background: #1F2428;
--chat-background-user: #272D32;
--chat-background-assistant: #2A3035;
}
body[theme-mode="dark"] #content-container {
background-color: #272D32 !important;
}
:root {
--color-black-soft: #1F2428;
}
body[theme-mode="light"] {
--color-background: #FCF9F5;
--color-background-soft: #F5EFE8;
--color-background-mute: #F0E9E1;
--navbar-background: #F8F4EE;
--chat-background: #FFFAF5;
--chat-background-user: #FCF9F5;
--chat-background-assistant: #F5EFE8;
--color-white: #FFFAF5;
}
body[theme-mode="light"] #content-container {
background-color: #FFFAF5 !important;
}


/* 胭脂主题 */
body[theme-mode="dark"] {
--color-background: #2C2123;
--color-background-soft: #4A3634;
--color-background-mute: #352528;
--navbar-background: #2C2123;
--chat-background: #2C2123;
--chat-background-user: #3D2B2E;
--chat-background-assistant: #4A3235;
}
body[theme-mode="dark"] #content-container {
background-color: #3D2B2E !important;
}
:root {
--color-black-soft: #2C2123;
}
body[theme-mode="light"] {
--color-background: #F7F3F3;
--color-background-soft: #F0E8E8;
--color-background-mute: #E8E0E0;
--navbar-background: #F9F5F5;
--chat-background: #FCFAFA;
--chat-background-user: #F7F3F3;
--chat-background-assistant: #F0E8E8;
--color-white: #FCFAFA;
}
body[theme-mode="light"] #content-container {
background-color: #FCFAFA !important;
}


/* 雁灰主题 */
body[theme-mode="dark"] {
--color-background: #282A36;
--color-background-soft: #454857;
--color-background-mute: #2F3240;
--navbar-background: #282A36;
--chat-background: #282A36;
--chat-background-user: #343746;
--chat-background-assistant: #44475A;
}
body[theme-mode="dark"] #content-container {
background-color: #343746 !important;
}
:root {
--color-black-soft: #282A36;
}
body[theme-mode="light"] {
--color-background: #f2f3f4;
--color-background-soft: #e6e7e8;
--color-background-mute: #d9dadc;
--navbar-background: #eeeff0;
--chat-background: #f7f8f9;
--chat-background-user: #f2f3f4;
--chat-background-assistant: #e6e7e8;
--color-white: #f7f8f9;
}
body[theme-mode="light"] #content-container {
background-color: #f7f8f9 !important;
}


/* 窑火主题 */
body[theme-mode="dark"] {
--color-background: #2c1810;
--color-background-soft: #6b4435;
--color-background-mute: #443026;
--navbar-background: #2c1810;
--chat-background: #2c1810;
--chat-background-user: #5c392c;
--chat-background-assistant: #443026;
}
body[theme-mode="dark"] #content-container {
background-color: #5c392c !important;
}
:root {
--color-black-soft: #2c1810;
}
body[theme-mode="light"] {
--color-background: #f8e3c4;
--color-background-soft: #e6c89b;
--color-background-mute: #d4b176;
--navbar-background: #f1d6ae;
--chat-background: #faf0dd;
--chat-background-user: #e6c89b;
--chat-background-assistant: #f1d6ae;
--color-white: #faf0dd;
}
body[theme-mode="light"] #content-container {
background-color: #faf0dd !important;
}


/* 奶茶主题 */
body[theme-mode="dark"] {
--color-background: #463229AA;
--color-background-soft: #5D443A;
--color-background-mute: #46322966;
--navbar-background: #382720;
--chat-background: #463229;
--chat-background-user: #624B41;
--chat-background-assistant: #5D443A;
}
body[theme-mode="dark"] #content-container {
background-color: #3F2D24 !important;
}
:root {
--color-black-soft: #382720;
}
body[theme-mode="light"] {
--color-background: #F5E6D3;
--color-background-soft: #E8D4BE;
--color-background-mute: #DEC5AA;
--navbar-background: #F2E2CF;
--chat-background: #ffffff;
--chat-background-user: #F5E6D3;
--chat-background-assistant: #E8D4BE;
--color-white: #ffffff;
}
body[theme-mode="light"] #content-container {
background-color: #ffffff !important;
}


/* 青瓷主题 */
body[theme-mode="dark"] {
--color-background: #2c3635;
--color-background-soft: #4a5755;
--color-background-mute: #445352;
--navbar-background: #2c3635;
--chat-background: #2c3635;
--chat-background-user: #3a4745;
--chat-background-assistant: #445352;
}
body[theme-mode="dark"] #content-container {
background-color: #3a4745 !important;
}
:root {
--color-black-soft: #2c3635;
}
body[theme-mode="light"] {
--color-background: #f0f5f3;
--color-background-soft: #e1eae7;
--color-background-mute: #d2deda;
--navbar-background: #e8efec;
--chat-background: #f5f9f7;
--chat-background-user: #e1eae7;
--chat-background-assistant: #e8efec;
--color-white: #f5f9f7;
}
body[theme-mode="light"] #content-container {
background-color: #f5f9f7 !important;
}


/* 流云主题 */
body[theme-mode="dark"] {
--color-background: #1a3c6188;
--color-background-soft: #234875;
--color-background-mute: #15294466;
--navbar-background: #1a3c61;
--chat-background: #152944;
--chat-background-user: #234875;
--chat-background-assistant: #1d405f;
}
body[theme-mode="dark"] #content-container {
background-color: #1d405f !important;
}
:root {
--color-black-soft: #152944;
}
body[theme-mode="light"] {
--color-background: #f3f6fa;
--color-background-soft: #e8eef5;
--color-background-mute: #dce6f2;
--navbar-background: #f0f4f9;
--chat-background: #ffffff;
--chat-background-user: #e8eef5;
--chat-background-assistant: #f3f6fa;
--color-white: #ffffff;
}
body[theme-mode="light"] #content-container {
background-color: #ffffff !important;
}


/* 汝窑蓝主题 */
body[theme-mode="dark"] {
--color-background: #1a2c3d;
--color-background-soft: #2D5A7A;
--color-background-mute: #2d5475;
--navbar-background: #1a2c3d;
--chat-background: #1a2c3d;
--chat-background-user: #234863;
--chat-background-assistant: #2d5475;
}
body[theme-mode="dark"] #content-container {
background-color: #234863 !important;
}
:root {
--color-black-soft: #1a2c3d;
}
body[theme-mode="light"] {
--color-background: #e8f0f2;
--color-background-soft: #bed3d7;
--color-background-mute: #a5c6cc;
--navbar-background: #d9e6e9;
--chat-background: #f2f7f8;
--chat-background-user: #bed3d7;
--chat-background-assistant: #d9e6e9;
--color-white: #f2f7f8;
}
body[theme-mode="light"] #content-container {
background-color: #f2f7f8 !important;
}


/* 汝窑绿主题 */
body[theme-mode="dark"] {
--color-background: #1a3937;
--color-background-soft: #3a5f5c;
--color-background-mute: #315f5c;
--navbar-background: #1a3937;
--chat-background: #1a3937;
--chat-background-user: #264d4a;
--chat-background-assistant: #315f5c;
}
body[theme-mode="dark"] #content-container {
background-color: #264d4a !important;
}
:root {
--color-black-soft: #1a3937;
}
body[theme-mode="light"] {
--color-background: #e8f0f0;
--color-background-soft: #cee3e2;
--color-background-mute: #b5d5d3;
--navbar-background: #dce8e7;
--chat-background: #f0f6f6;
--chat-background-user: #cee3e2;
--chat-background-assistant: #dce8e7;
--color-white: #f0f6f6;
}
body[theme-mode="light"] #content-container {
background-color: #f0f6f6 !important;
}


/* 汉白玉主题 */
body[theme-mode="dark"] {
--color-background: #2b2926ee;
--color-background-soft: #353331;
--color-background-mute: #2b292666;
--navbar-background: #2b2926;
--chat-background: #2b2926;
--chat-background-user: #3d3a36;
--chat-background-assistant: #353331;
}
body[theme-mode="dark"] #content-container {
background-color: #302d29 !important;
}
:root {
--color-black-soft: #2b2926;
}
body[theme-mode="light"] {
--color-background: #f7f6f2;
--color-background-soft: #f2f0eb;
--color-background-mute: #eae8e3;
--navbar-background: #f5f3ef;
--chat-background: #ffffff;
--chat-background-user: #f7f6f2;
--chat-background-assistant: #f2f0eb;
--color-white: #ffffff;
}
body[theme-mode="light"] #content-container {
background-color: #fdfcfa !important;
}


/* 莫奈主题 */
body[theme-mode="dark"] {
--color-background: #4c768688;
--color-background-soft: #3d6273;
--color-background-mute: #4c768666;
--navbar-background: #4c7686;
--chat-background: #4c7686;
--chat-background-user: #689aaf;
--chat-background-assistant: #3d6170;
}
body[theme-mode="dark"] #content-container {
background-color: #456f80 !important;
}
:root {
--color-black-soft: #4c7686;
}
body[theme-mode="light"] {
--color-background: #e6f3f7;
--color-background-soft: #cce6f0;
--color-background-mute: #b3dae8;
--navbar-background: #f0f7f9;
--chat-background: #f4fafb;
--chat-background-user: #e6f3f7;
--chat-background-assistant: #cce6f0;
--color-white: #f4fafb;
}
body[theme-mode="light"] #content-container {
background-color: #f4fafb !important;
}


/* 湖光主题 */
body[theme-mode="dark"] {
--color-background: #2a525488;
--color-background-soft: #264f57;
--color-background-mute: #2f616b66;
--navbar-background: #2a5254;
--chat-background: #2a5254;
--chat-background-user: #3c707a;
--chat-background-assistant: #1d4247;
}
body[theme-mode="dark"] #content-container {
background-color: #3c707a !important;
}
:root {
--color-black-soft: #2a5254;
}
body[theme-mode="light"] {
--color-background: #e6f3f4;
--color-background-soft: #d4ebec;
--color-background-mute: #c2e3e4;
--navbar-background: #daf0f1;
--chat-background: #f0f7f8;
--chat-background-user: #e6f3f4;
--chat-background-assistant: #d4ebec;
--color-white: #f0f7f8;
}
body[theme-mode="light"] #content-container {
background-color: #f0f7f8 !important;
}


/* 春梅主题 */
body[theme-mode="dark"] {
--color-background: #8c435688;
--color-background-soft: #a85f6f;
--color-background-mute: #94505f66;
--navbar-background: #8c4356;
--chat-background: #8c4356;
--chat-background-user: #a25768;
--chat-background-assistant: #763848;
}
body[theme-mode="dark"] #content-container {
background-color: #a25768 !important;
}
:root {
--color-black-soft: #8c4356;
}
body[theme-mode="light"] {
--color-background: #ffeef2;
--color-background-soft: #ffe6ec;
--color-background-mute: #ffdee6;
--navbar-background: #fff1f5;
--chat-background: #fff6f9;
--chat-background-user: #ffeef2;
--chat-background-assistant: #ffe6ec;
--color-white: #fff6f9;
}
body[theme-mode="light"] #content-container {
background-color: #fff6f9 !important;
}


/* 丹霞主题 */
body[theme-mode="dark"] {
--color-background: #4a1c1c88;
--color-background-soft: #873636;
--color-background-mute: #8b343466;
--navbar-background: #4a1c1c;
--chat-background: #4a1c1c;
--chat-background-user: #642424;
--chat-background-assistant: #8b3434;
}
body[theme-mode="dark"] #content-container {
background-color: #642424 !important;
}
:root {
--color-black-soft: #4a1c1c;
}
body[theme-mode="light"] {
--color-background: #fff7f7;
--color-background-soft: #ffe4e4;
--color-background-mute: #ffd4d4;
--navbar-background: #fff0f0;
--chat-background: #fffafa;
--chat-background-user: #ffe4e4;
--chat-background-assistant: #fff0f0;
--color-white: #fffafa;
}
body[theme-mode="light"] #content-container {
background-color: #fffafa !important;
}


/* 禅棕主题 */
body[theme-mode="dark"] {
--color-background: #5d403788;
--color-background-soft: #6d4c41;
--color-background-mute: #5d403766;
--navbar-background: #5d4037;
--chat-background: #5d4037;
--chat-background-user: #795548;
--chat-background-assistant: #8d6e63;
}
body[theme-mode="dark"] #content-container {
background-color: #4e342e !important;
}
:root{
--color-black-soft: #5d4037;
}
body[theme-mode="light"] {
--color-background: #efebe9;
--color-background-soft: #d7ccc8;
--color-background-mute: #bcaaa4;
--navbar-background: #efebe9;
--chat-background: #faf8f7;
--chat-background-user: #efebe9;
--chat-background-assistant: #d7ccc8;
--color-white: #faf8f7;
}
body[theme-mode="light"] #content-container {
background-color: #faf8f7 !important;
}

三.知识库设置

1.添加嵌入模型

点击设置 - 模型服务 - 管理 - 嵌入模型,找到需要添加的模型,点击加号

Alt Text

2.创建知识库

点击知识库 - 添加,创建知识库,输入知识库的名称并添加嵌入模型即可完成创建

Alt Text

3.添加文件并向量化

点击添加文件,选择需要添加的文件,支持的文件格式如 pdf,docx,pptx,xlsx,txt,md,mdx 等,软件会自动进行向量化处理,当显示完成时(绿色 ✓),代表向量化已完成。

Alt Text

4.添加多种来源的数据

Cherry Studio 支持多种添加数据的方式:

  1. 文件夹目录:可以添加整个文件夹目录,该目录下支持格式的文件会被自动向量化;
  2. 网址链接:支持网址 url,如 https://docs.siliconflow.cn/introduction;
  3. 站点地图:支持 xml 格式的站点地图,如 https://docs.siliconflow.cn/sitemap.xml;
  4. 纯文本笔记:支持输入纯文本的自定义内容。

比如添加默沙东诊疗大众版,选择站点地图,输入:https://www.msdmanuals.cn/sitemap.ashx

5.搜索知识库

当文件等资料向量化完成后,即可进行查询:

点击页面下方的搜索知识库,输入查询的内容,会出现搜索结果和匹配分数。

Alt Text

这种搜索结果其实并不理想,如上图太阳和⾏星动态这句话明确是存在的,却搜不到

6.在对话中引用知识库生成回复

创建一个新的话题,在对话工具栏中,点击知识库,会展开已经创建的知识库列表,选择需要引用的知识库;发送问题,模型即返回通过检索结果生成的答案,引用的数据来源会附在答案下方,可快捷查看源文件。

搜索太阳和⾏星动态就会出现准确的结果

Alt Text

四.使用技巧

1.助手设置

点击智能体 - 我的 - 创建智能体,填写名称和提示词

Alt Text

创建好后就可以点击添加的智能体,选择添加到助手

Alt Text

五.参考资料

Cherry Studio 官方网站