@lobehub/chat 0.147.0 → 0.147.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +8 -8
  3. package/README.zh-CN.md +8 -8
  4. package/docs/self-hosting/advanced/analytics.mdx +1 -0
  5. package/docs/self-hosting/advanced/analytics.zh-CN.mdx +1 -0
  6. package/docs/self-hosting/advanced/authentication.mdx +7 -6
  7. package/docs/self-hosting/advanced/authentication.zh-CN.mdx +7 -6
  8. package/docs/self-hosting/advanced/sso-providers/auth0.mdx +58 -32
  9. package/docs/self-hosting/advanced/sso-providers/auth0.zh-CN.mdx +60 -32
  10. package/docs/self-hosting/advanced/sso-providers/authentik.mdx +33 -29
  11. package/docs/self-hosting/advanced/sso-providers/authentik.zh-CN.mdx +30 -27
  12. package/docs/self-hosting/advanced/sso-providers/github.mdx +49 -20
  13. package/docs/self-hosting/advanced/sso-providers/github.zh-CN.mdx +57 -31
  14. package/docs/self-hosting/advanced/sso-providers/microsoft-entra-id.mdx +53 -35
  15. package/docs/self-hosting/advanced/sso-providers/microsoft-entra-id.zh-CN.mdx +43 -31
  16. package/docs/self-hosting/advanced/sso-providers/zitadel.mdx +64 -34
  17. package/docs/self-hosting/advanced/sso-providers/zitadel.zh-CN.mdx +62 -36
  18. package/docs/self-hosting/advanced/upstream-sync.mdx +32 -23
  19. package/docs/self-hosting/advanced/upstream-sync.zh-CN.mdx +32 -23
  20. package/docs/self-hosting/environment-variables/analytics.mdx +1 -0
  21. package/docs/self-hosting/environment-variables/analytics.zh-CN.mdx +1 -0
  22. package/docs/self-hosting/environment-variables/auth.mdx +1 -0
  23. package/docs/self-hosting/environment-variables/auth.zh-CN.mdx +1 -0
  24. package/docs/self-hosting/environment-variables/basic.mdx +1 -0
  25. package/docs/self-hosting/environment-variables/basic.zh-CN.mdx +1 -0
  26. package/docs/self-hosting/environment-variables/model-provider.mdx +1 -0
  27. package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +1 -0
  28. package/docs/self-hosting/environment-variables.mdx +1 -0
  29. package/docs/self-hosting/environment-variables.zh-CN.mdx +1 -0
  30. package/docs/self-hosting/examples/azure-openai.mdx +12 -8
  31. package/docs/self-hosting/examples/azure-openai.zh-CN.mdx +12 -8
  32. package/docs/self-hosting/examples/ollama.mdx +1 -0
  33. package/docs/self-hosting/examples/ollama.zh-CN.mdx +1 -0
  34. package/docs/self-hosting/faq/no-v1-suffix.mdx +1 -0
  35. package/docs/self-hosting/faq/no-v1-suffix.zh-CN.mdx +1 -0
  36. package/docs/self-hosting/faq/proxy-with-unable-to-verify-leaf-signature.mdx +1 -0
  37. package/docs/self-hosting/faq/proxy-with-unable-to-verify-leaf-signature.zh-CN.mdx +1 -0
  38. package/docs/self-hosting/platform/docker-compose.mdx +80 -73
  39. package/docs/self-hosting/platform/docker-compose.zh-CN.mdx +79 -73
  40. package/docs/self-hosting/platform/docker.mdx +85 -85
  41. package/docs/self-hosting/platform/docker.zh-CN.mdx +84 -85
  42. package/docs/self-hosting/platform/netlify.mdx +91 -42
  43. package/docs/self-hosting/platform/netlify.zh-CN.mdx +88 -38
  44. package/docs/self-hosting/platform/railway.mdx +8 -6
  45. package/docs/self-hosting/platform/railway.zh-CN.mdx +8 -6
  46. package/docs/self-hosting/platform/repocloud.mdx +8 -6
  47. package/docs/self-hosting/platform/repocloud.zh-CN.mdx +8 -6
  48. package/docs/self-hosting/platform/sealos.mdx +8 -6
  49. package/docs/self-hosting/platform/sealos.zh-CN.mdx +8 -6
  50. package/docs/self-hosting/platform/vercel.mdx +9 -7
  51. package/docs/self-hosting/platform/vercel.zh-CN.mdx +9 -7
  52. package/docs/self-hosting/platform/zeabur.mdx +8 -6
  53. package/docs/self-hosting/platform/zeabur.zh-CN.mdx +8 -6
  54. package/docs/self-hosting/start.mdx +11 -1
  55. package/docs/self-hosting/start.zh-CN.mdx +2 -1
  56. package/docs/usage/agents/concepts.mdx +13 -2
  57. package/docs/usage/agents/concepts.zh-CN.mdx +13 -2
  58. package/docs/usage/agents/custom-agent.mdx +9 -2
  59. package/docs/usage/agents/custom-agent.zh-CN.mdx +8 -4
  60. package/docs/usage/agents/model.mdx +3 -3
  61. package/docs/usage/agents/model.zh-CN.mdx +6 -5
  62. package/docs/usage/agents/prompt.mdx +7 -5
  63. package/docs/usage/agents/prompt.zh-CN.mdx +7 -5
  64. package/docs/usage/agents/topics.mdx +9 -1
  65. package/docs/usage/agents/topics.zh-CN.mdx +9 -1
  66. package/docs/usage/features/agent-market.mdx +5 -5
  67. package/docs/usage/features/agent-market.zh-CN.mdx +1 -0
  68. package/docs/usage/features/local-llm.mdx +6 -1
  69. package/docs/usage/features/local-llm.zh-CN.mdx +6 -1
  70. package/docs/usage/features/mobile.mdx +5 -1
  71. package/docs/usage/features/mobile.zh-CN.mdx +6 -1
  72. package/docs/usage/features/more.mdx +1 -0
  73. package/docs/usage/features/more.zh-CN.mdx +1 -0
  74. package/docs/usage/features/multi-ai-providers.mdx +11 -2
  75. package/docs/usage/features/multi-ai-providers.zh-CN.mdx +12 -2
  76. package/docs/usage/features/plugin-system.mdx +8 -7
  77. package/docs/usage/features/plugin-system.zh-CN.mdx +9 -7
  78. package/docs/usage/features/pwa.mdx +10 -4
  79. package/docs/usage/features/pwa.zh-CN.mdx +11 -4
  80. package/docs/usage/features/text-to-image.zh-CN.mdx +1 -0
  81. package/docs/usage/features/theme.mdx +6 -1
  82. package/docs/usage/features/theme.zh-CN.mdx +7 -1
  83. package/docs/usage/features/tts.zh-CN.mdx +1 -0
  84. package/docs/usage/features/vision.zh-CN.mdx +1 -0
  85. package/docs/usage/plugins/basic-usage.mdx +31 -7
  86. package/docs/usage/plugins/basic-usage.zh-CN.mdx +31 -7
  87. package/docs/usage/plugins/custom-plugin.mdx +1 -0
  88. package/docs/usage/plugins/custom-plugin.zh-CN.mdx +1 -0
  89. package/docs/usage/plugins/development.mdx +79 -30
  90. package/docs/usage/plugins/development.zh-CN.mdx +80 -31
  91. package/docs/usage/plugins/store.mdx +11 -2
  92. package/docs/usage/plugins/store.zh-CN.mdx +11 -2
  93. package/docs/usage/providers/groq.mdx +32 -12
  94. package/docs/usage/providers/groq.zh-CN.mdx +30 -12
  95. package/docs/usage/providers/ollama/gemma.mdx +27 -11
  96. package/docs/usage/providers/ollama/gemma.zh-CN.mdx +28 -11
  97. package/docs/usage/providers/ollama/qwen.mdx +30 -16
  98. package/docs/usage/providers/ollama/qwen.zh-CN.mdx +25 -11
  99. package/docs/usage/providers/ollama.mdx +27 -14
  100. package/docs/usage/providers/ollama.zh-CN.mdx +27 -14
  101. package/package.json +1 -1
  102. package/src/app/settings/llm/Azure/index.tsx +1 -1
  103. package/src/app/settings/llm/components/ProviderConfig/index.tsx +1 -1
  104. package/src/app/settings/llm/components/ProviderModelList/CustomModelOption.tsx +1 -1
  105. package/src/app/settings/llm/components/ProviderModelList/ModelConfigModal.tsx +1 -1
  106. package/src/app/settings/llm/components/ProviderModelList/ModelFetcher.tsx +3 -3
  107. package/src/app/settings/llm/components/ProviderModelList/index.tsx +2 -2
  108. package/src/features/AgentSetting/AgentConfig/ModelSelect.tsx +1 -1
  109. package/src/features/Conversation/Error/APIKeyForm/ProviderApiKeyForm.tsx +2 -2
  110. package/src/features/ModelSwitchPanel/index.tsx +1 -1
  111. package/src/locales/resources.test.ts +49 -0
  112. package/src/locales/resources.ts +7 -20
  113. package/src/services/_auth.ts +5 -3
  114. package/src/services/_header.ts +3 -4
  115. package/src/services/chat.ts +1 -1
  116. package/src/services/ollama.ts +3 -2
  117. package/src/store/global/slices/settings/actions/llm.test.ts +1 -1
  118. package/src/store/global/slices/settings/actions/llm.ts +2 -2
  119. package/src/store/global/slices/settings/selectors/modelConfig.test.ts +35 -14
  120. package/src/store/global/slices/settings/selectors/modelConfig.ts +55 -118
@@ -12,6 +12,7 @@ tags:
12
12
  - Creating Assistants
13
13
  - Assistant Configuration
14
14
  ---
15
+
15
16
  # Custom Assistant Guide
16
17
 
17
18
  As the basic functional unit of LobeChat, adding and iterating assistants is very important. Now you can add assistants to your favorites list in two ways.
@@ -20,7 +21,12 @@ As the basic functional unit of LobeChat, adding and iterating assistants is ver
20
21
 
21
22
  If you are a beginner in Prompt writing, you might want to browse the assistant market of LobeChat first. Here, you can find commonly used assistants submitted by others and easily add them to your list with just one click, which is very convenient.
22
23
 
23
- <Image alt={'Add through the role market'} src={'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/279588466-4c32041b-a8e6-4703-ba4a-f91b7800e359.png'} />
24
+ <Image
25
+ alt={'Add through the role market'}
26
+ src={
27
+ 'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/279588466-4c32041b-a8e6-4703-ba4a-f91b7800e359.png'
28
+ }
29
+ />
24
30
 
25
31
  ## `B` Create a custom assistant
26
32
 
@@ -33,7 +39,8 @@ When you need to handle specific tasks, you need to consider creating a custom a
33
39
  </Cards>
34
40
 
35
41
  <Callout type={'tip'}>
36
- **Quick Setup Tip**: You can conveniently modify the Prompt through the quick edit button in the sidebar.
42
+ **Quick Setup Tip**: You can conveniently modify the Prompt through the quick edit button in the
43
+ sidebar.
37
44
  </Callout>
38
45
 
39
46
  <Cards rows={2}>
@@ -10,6 +10,7 @@ tags:
10
10
  - 快捷设置
11
11
  - 模型参数设置
12
12
  ---
13
+
13
14
  # 自定义助手指南
14
15
 
15
16
  作为 LobeChat 的基础职能单位,助手的添加和迭代是非常重要的。现在你可以通过两种方式将助手添加到你的常用列表中
@@ -18,7 +19,12 @@ tags:
18
19
 
19
20
  如果你是一个 Prompt 编写的新手,不妨先浏览一下 LobeChat 的助手市场。在这里,你可以找到其他人提交的常用助手,并且只需一键添加到你的列表中,非常方便。
20
21
 
21
- <Image alt={'通过角色市场添加'} src={'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/279588466-4c32041b-a8e6-4703-ba4a-f91b7800e359.png'} />
22
+ <Image
23
+ alt={'通过角色市场添加'}
24
+ src={
25
+ 'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/279588466-4c32041b-a8e6-4703-ba4a-f91b7800e359.png'
26
+ }
27
+ />
22
28
 
23
29
  ## `B` 通过新建自定义助手
24
30
 
@@ -30,9 +36,7 @@ tags:
30
36
  <Image alt={'通过新建自定义助手 S2'} src={'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/279587292-a3d102c6-f61e-4578-91f1-c0a4c97588e1.png'} />
31
37
  </Cards>
32
38
 
33
- <Callout type={'tip'}>
34
- **快捷设置技巧**: 可以通过侧边栏的快捷编辑按钮进行 Prompt 的便捷修改
35
- </Callout>
39
+ <Callout type={'tip'}>**快捷设置技巧**: 可以通过侧边栏的快捷编辑按钮进行 Prompt 的便捷修改</Callout>
36
40
 
37
41
  <Cards rows={2}>
38
42
  <Image alt={'通过新建自定义助手 S3'} src={'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/279587294-388d1877-193e-4a50-9fe8-8fbcc3ccefa0.png'} />
@@ -44,11 +44,11 @@ This parameter controls the randomness of the model's output. The higher the val
44
44
 
45
45
  ### `top_p`
46
46
 
47
- Top\_p is also a sampling parameter, but it differs from temperature in its sampling method. Before outputting, the model generates a bunch of tokens, and these tokens are ranked based on their quality. In the top-p sampling mode, the candidate word list is dynamic, and tokens are selected from the tokens based on a percentage. Top\_p introduces randomness in token selection, allowing other high-scoring tokens to have a chance of being selected, rather than always choosing the highest-scoring one.
47
+ Top_p is also a sampling parameter, but it differs from temperature in its sampling method. Before outputting, the model generates a bunch of tokens, and these tokens are ranked based on their quality. In the top-p sampling mode, the candidate word list is dynamic, and tokens are selected from the tokens based on a percentage. Top_p introduces randomness in token selection, allowing other high-scoring tokens to have a chance of being selected, rather than always choosing the highest-scoring one.
48
48
 
49
49
  <Callout>
50
- Top\_p is similar to randomness, and it is generally not recommended to change it together with the
51
- randomness of temperature.
50
+ Top\_p is similar to randomness, and it is generally not recommended to change it together with
51
+ the randomness of temperature.
52
52
  </Callout>
53
53
 
54
54
  <br />
@@ -10,6 +10,7 @@ tags:
10
10
  - LLM
11
11
  - 生成模型
12
12
  ---
13
+
13
14
  # 模型指南
14
15
 
15
16
  ## ChatGPT
@@ -41,7 +42,7 @@ LLM 看似很神奇,但本质还是一个概率问题,神经网络根据输
41
42
 
42
43
  ### `top_p`
43
44
 
44
- 核采样 top\_p 也是采样参数,跟 temperature 不一样的采样方式。模型在输出之前,会生成一堆 token,这些 token 根据质量高低排名,核采样模式中候选词列表是动态的,从 tokens 里按百分比选择候选词。 top\_p 为选择 token 引入了随机性,让其他高分的 token 有被选择的机会,不会总是选最高分的。
45
+ 核采样 top_p 也是采样参数,跟 temperature 不一样的采样方式。模型在输出之前,会生成一堆 token,这些 token 根据质量高低排名,核采样模式中候选词列表是动态的,从 tokens 里按百分比选择候选词。 top_p 为选择 token 引入了随机性,让其他高分的 token 有被选择的机会,不会总是选最高分的。
45
46
 
46
47
  <Callout>top\_p 与随机性类似,一般来说不建议和随机性 temperature 一起更改</Callout>
47
48
 
@@ -67,8 +68,8 @@ Presence Penalty 参数可以看作是对生成文本中重复内容的一种惩
67
68
 
68
69
  是一种机制,通过对文本中频繁出现的新词汇施加惩罚,以减少模型重复同一词语的可能性,值越大,越有可能降低重复字词。
69
70
 
70
- - `-2.0` 当早间新闻开始播出,我发现我家电视现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在 *(频率最高的词是 “现在”,占比 44.79%)*
71
- - `-1.0` 他总是在清晨看新闻,在电视前看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看 *(频率最高的词是 “看”,占比 57.69%)*
71
+ - `-2.0` 当早间新闻开始播出,我发现我家电视现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在现在 _(频率最高的词是 “现在”,占比 44.79%)_
72
+ - `-1.0` 他总是在清晨看新闻,在电视前看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看看 _(频率最高的词是 “看”,占比 57.69%)_
72
73
  - `0.0` 当清晨的阳光洒进小餐馆时,一名疲倦的邮递员出现在门口,他的手中提着一袋信件。店主热情地为他准备了一份早餐,他在享用早餐的同时开始整理邮件。**(频率最高的词是 “的”,占比 8.45%)**
73
- - `1.0` 一个深度睡眠的女孩被一阵温暖的阳光唤醒,她看到了早晨的第一缕阳光,周围是鸟语花香,一切都充满了生机。*(频率最高的词是 “的”,占比 5.45%)*
74
- - `2.0` 每天早上,他都会在阳台上坐着吃早餐。在柔和的夕阳照耀下,一切看起来都非常宁静。然而有一天,当他准备端起早餐的时候,一只乐观的小鸟飞过,给他带来了一天的好心情。 *(频率最高的词是 “的”,占比 4.94%)*
74
+ - `1.0` 一个深度睡眠的女孩被一阵温暖的阳光唤醒,她看到了早晨的第一缕阳光,周围是鸟语花香,一切都充满了生机。_(频率最高的词是 “的”,占比 5.45%)_
75
+ - `2.0` 每天早上,他都会在阳台上坐着吃早餐。在柔和的夕阳照耀下,一切看起来都非常宁静。然而有一天,当他准备端起早餐的时候,一只乐观的小鸟飞过,给他带来了一天的好心情。 _(频率最高的词是 “的”,占比 4.94%)_
@@ -13,6 +13,7 @@ tags:
13
13
  - Structured Prompts
14
14
  - Improving AI Output
15
15
  ---
16
+
16
17
  # Guide to Using Prompts
17
18
 
18
19
  ## Basic Concepts of Prompts
@@ -29,7 +30,7 @@ Generative AI is very useful, but it requires human guidance. In most cases, gen
29
30
 
30
31
  Let's look at a basic discussion prompt example:
31
32
 
32
- > *"What are the most urgent environmental issues facing our planet, and what actions can individuals take to help address these issues?"*
33
+ > _"What are the most urgent environmental issues facing our planet, and what actions can individuals take to help address these issues?"_
33
34
 
34
35
  We can convert it into a simple prompt for the assistant to answer the following questions: placed at the front.
35
36
 
@@ -53,16 +54,17 @@ The second prompt generates longer output and better structure. The use of the t
53
54
  <Callout type={'tip'}>
54
55
  There are several ways to improve the quality and effectiveness of prompts:
55
56
 
56
- - **Be Clear About Your Needs:** The model's output will strive to meet your needs, so if your needs are not clear, the output may not meet expectations.
57
- - **Use Correct Grammar and Spelling:** The model will try to mimic your language style, so if your language style is problematic, the output may also be problematic.
58
- - **Provide Sufficient Contextual Information:** The model will generate output based on the contextual information you provide, so if the information is insufficient, it may not produce the desired results.
57
+ - **Be Clear About Your Needs:** The model's output will strive to meet your needs, so if your needs are not clear, the output may not meet expectations.
58
+ - **Use Correct Grammar and Spelling:** The model will try to mimic your language style, so if your language style is problematic, the output may also be problematic.
59
+ - **Provide Sufficient Contextual Information:** The model will generate output based on the contextual information you provide, so if the information is insufficient, it may not produce the desired results.
60
+
59
61
  </Callout>
60
62
 
61
63
  After formulating effective prompts for discussing issues, you now need to refine the generated results. This may involve adjusting the output to fit constraints such as word count or combining concepts from different generated results.
62
64
 
63
65
  A simple method of iteration is to generate multiple outputs and review them to understand the concepts and structures being used. Once the outputs have been evaluated, you can select the most suitable ones and combine them into a coherent response. Another iterative method is to start small and **gradually expand**. This requires more than one prompt: an initial prompt for drafting the initial one or two paragraphs, followed by additional prompts to expand on the content already written. Here is a potential philosophical discussion prompt:
64
66
 
65
- > *"Is mathematics an invention or a discovery? Use careful reasoning to explain your answer."*
67
+ > _"Is mathematics an invention or a discovery? Use careful reasoning to explain your answer."_
66
68
 
67
69
  Add it to a simple prompt as follows:
68
70
 
@@ -8,6 +8,7 @@ tags:
8
8
  - 撰写技巧
9
9
  - 逐步扩展
10
10
  ---
11
+
11
12
  # Prompt 使用指南
12
13
 
13
14
  ## Prompt 基本概念
@@ -23,7 +24,7 @@ tags:
23
24
 
24
25
  让我们看一个基本的讨论问题的例子:
25
26
 
26
- > *"我们星球面临的最紧迫的环境问题是什么,个人可以采取哪些措施来帮助解决这些问题?"*
27
+ > _"我们星球面临的最紧迫的环境问题是什么,个人可以采取哪些措施来帮助解决这些问题?"_
27
28
 
28
29
  我们可以将其转化为简单的助手提示,将回答以下问题:放在前面。
29
30
 
@@ -49,16 +50,17 @@ tags:
49
50
  <Callout type={'tip'}>
50
51
  提升 prompt 质量和效果的方法主要有以下几点:
51
52
 
52
- - **尽量明确你的需求:** 模型的输出会尽可能满足你的需求,所以如果你的需求不明确,输出可能会不如预期。
53
- - **使用正确的语法和拼写:** 模型会尽可能模仿你的语言风格,所以如果你的语言风格有问题,输出可能也会有问题。
54
- - **提供足够的上下文信息:** 模型会根据你提供的上下文信息生成输出,所以如果你提供的上下文信息不足,可能无法生成你想要的结果。
53
+ - **尽量明确你的需求:** 模型的输出会尽可能满足你的需求,所以如果你的需求不明确,输出可能会不如预期。
54
+ - **使用正确的语法和拼写:** 模型会尽可能模仿你的语言风格,所以如果你的语言风格有问题,输出可能也会有问题。
55
+ - **提供足够的上下文信息:** 模型会根据你提供的上下文信息生成输出,所以如果你提供的上下文信息不足,可能无法生成你想要的结果。
56
+
55
57
  </Callout>
56
58
 
57
59
  在为讨论问题制定有效的提示后,您现在需要细化生成的结果。这可能涉及到调整输出以符合诸如字数等限制,或将不同生成的结果的概念组合在一起。
58
60
 
59
61
  迭代的一个简单方法是生成多个输出并查看它们,以了解正在使用的概念和结构。一旦评估了输出,您就可以选择最合适的输出并将它们组合成一个连贯的回答。另一种迭代的方法是逐步开始,然后**逐步扩展**。这需要不止一个提示:一个起始提示,用于撰写最初的一两段,然后是其他提示,以扩展已经写过的内容。以下是一个潜在的哲学讨论问题:
60
62
 
61
- > *"数学是发明还是发现?用仔细的推理来解释你的答案。"*
63
+ > _"数学是发明还是发现?用仔细的推理来解释你的答案。"_
62
64
 
63
65
  将其添加到一个简单的提示中,如下所示:
64
66
 
@@ -11,9 +11,17 @@ tags:
11
11
  - Topic List
12
12
  - Favorite Topics
13
13
  ---
14
+
14
15
  # Topic Usage Guide
15
16
 
16
- <Image alt={'Topic Usage Guide'} borderless cover src={'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/279602496-fd72037a-735e-4cc2-aa56-2994bceaba81.png'} />
17
+ <Image
18
+ alt={'Topic Usage Guide'}
19
+ borderless
20
+ cover
21
+ src={
22
+ 'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/279602496-fd72037a-735e-4cc2-aa56-2994bceaba81.png'
23
+ }
24
+ />
17
25
 
18
26
  - **Save Topic:** During a conversation, if you want to save the current context and start a new topic, you can click the save button next to the send button.
19
27
  - **Topic List:** Clicking on a topic in the list allows for quick switching of historical conversation records and continuing the conversation. You can also use the star icon <kbd>⭐️</kbd> to pin favorite topics to the top, or use the more button on the right to rename or delete topics.
@@ -9,9 +9,17 @@ tags:
9
9
  - 话题重命名
10
10
  - 话题删除
11
11
  ---
12
+
12
13
  # 话题使用指南
13
14
 
14
- <Image alt={'话题使用指南'} borderless cover src={'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/279602496-fd72037a-735e-4cc2-aa56-2994bceaba81.png'} />
15
+ <Image
16
+ alt={'话题使用指南'}
17
+ borderless
18
+ cover
19
+ src={
20
+ 'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/279602496-fd72037a-735e-4cc2-aa56-2994bceaba81.png'
21
+ }
22
+ />
15
23
 
16
24
  - **保存话题:** 在聊天过程中,如果想要保存当前上下文并开启新的话题,可以点击发送按钮旁边的保存按钮。
17
25
  - **话题列表:** 点击列表中的话题可以快速切换历史对话记录,并继续对话。你还可以通过点击星标图标 <kbd>⭐️</kbd> 将话题收藏置顶,或者通过右侧更多按钮对话题进行重命名和删除操作。
@@ -26,11 +26,11 @@ tags:
26
26
  In LobeChat's Assistant Market, creators can discover a vibrant and innovative community that brings together numerous carefully designed assistants. These assistants not only play a crucial role in work scenarios but also provide great convenience in the learning process. Our market is not just a showcase platform, but also a collaborative space. Here, everyone can contribute their wisdom and share their personally developed assistants.
27
27
 
28
28
  <Callout type={'tip'}>
29
- By [🤖/🏪 submitting agents](https://github.com/lobehub/lobe-chat-agents), you can easily submit your assistant works to
30
- our platform. We particularly emphasize that LobeChat has established a sophisticated automated
31
- internationalization (i18n) workflow, which excels in seamlessly converting your assistants into
32
- multiple language versions. This means that regardless of the language your users are using, they
33
- can seamlessly experience your assistant.
29
+ By [🤖/🏪 submitting agents](https://github.com/lobehub/lobe-chat-agents), you can easily submit
30
+ your assistant works to our platform. We particularly emphasize that LobeChat has established a
31
+ sophisticated automated internationalization (i18n) workflow, which excels in seamlessly
32
+ converting your assistants into multiple language versions. This means that regardless of the
33
+ language your users are using, they can seamlessly experience your assistant.
34
34
  </Callout>
35
35
 
36
36
  <Callout type={'important'}>
@@ -11,6 +11,7 @@ tags:
11
11
  - 自动化国际化
12
12
  - 多语言版本
13
13
  ---
14
+
14
15
  # 助手市场
15
16
 
16
17
  <Image
@@ -15,7 +15,12 @@ tags:
15
15
 
16
16
  # Local Large Language Model (LLM) Support
17
17
 
18
- <Image alt={'Ollama Local Large Language Model (LLM) Support'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c'} />
18
+ <Image
19
+ alt={'Ollama Local Large Language Model (LLM) Support'}
20
+ borderless
21
+ cover
22
+ src={'https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c'}
23
+ />
19
24
 
20
25
  <Callout>Available in >=0.127.0, currently only supports Docker deployment</Callout>
21
26
 
@@ -7,7 +7,12 @@ tags:
7
7
 
8
8
  # 支持本地大语言模型(LLM)
9
9
 
10
- <Image alt={'Ollama 支持本地大语言模型'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c'} />
10
+ <Image
11
+ alt={'Ollama 支持本地大语言模型'}
12
+ borderless
13
+ cover
14
+ src={'https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c'}
15
+ />
11
16
 
12
17
  <Callout>在 >=v0.127.0 版本中可用,目前仅支持 Docker 部署</Callout>
13
18
 
@@ -13,7 +13,11 @@ tags:
13
13
 
14
14
  # Mobile Device Adaptation
15
15
 
16
- <Image alt={'Mobile Device Adaptation'} cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/11110732-8d5a-4049-b556-c2561cb66182'} />
16
+ <Image
17
+ alt={'Mobile Device Adaptation'}
18
+ cover
19
+ src={'https://github.com/lobehub/lobe-chat/assets/28616219/11110732-8d5a-4049-b556-c2561cb66182'}
20
+ />
17
21
 
18
22
  LobeChat has undergone a series of optimized designs for mobile devices to enhance the user's mobile experience.
19
23
 
@@ -9,9 +9,14 @@ tags:
9
9
  - GitHub
10
10
  - 反馈
11
11
  ---
12
+
12
13
  # 移动设备适配
13
14
 
14
- <Image alt={'移动端设备适配'} cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/11110732-8d5a-4049-b556-c2561cb66182'} />
15
+ <Image
16
+ alt={'移动端设备适配'}
17
+ cover
18
+ src={'https://github.com/lobehub/lobe-chat/assets/28616219/11110732-8d5a-4049-b556-c2561cb66182'}
19
+ />
15
20
 
16
21
  LobeChat 针对移动设备进行了一系列的优化设计,以提升用户的移动体验。
17
22
 
@@ -11,6 +11,7 @@ tags:
11
11
  - Privacy
12
12
  - Custom Domain
13
13
  ---
14
+
14
15
  # More Features
15
16
 
16
17
  In addition to the above features, our design and technical capabilities will provide you with more assurance in usage:
@@ -8,6 +8,7 @@ tags:
8
8
  - 隐私安全
9
9
  - 自定义域名
10
10
  ---
11
+
11
12
  # 更多特性
12
13
 
13
14
  除了上述功能特性以外,我们的所具有的设计和技术能力将为你带来了更多使用保障:
@@ -17,7 +17,12 @@ tags:
17
17
 
18
18
  # Multi-Model Service Provider Support
19
19
 
20
- <Image alt={'Multi-Model Service Provider Support'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/b164bc54-8ba2-4c1e-b2f2-f4d7f7e7a551'} />
20
+ <Image
21
+ alt={'Multi-Model Service Provider Support'}
22
+ borderless
23
+ cover
24
+ src={'https://github.com/lobehub/lobe-chat/assets/28616219/b164bc54-8ba2-4c1e-b2f2-f4d7f7e7a551'}
25
+ />
21
26
 
22
27
  <Callout>Available in version 0.123.0 and later</Callout>
23
28
 
@@ -38,6 +43,10 @@ At the same time, we are also planning to support more model service providers,
38
43
 
39
44
  ## Local Model Support
40
45
 
41
- <Image alt={'Local Model Support'} borderless src={'https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c'} />
46
+ <Image
47
+ alt={'Local Model Support'}
48
+ borderless
49
+ src={'https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c'}
50
+ />
42
51
 
43
52
  To meet the specific needs of users, LobeChat also supports the use of local models based on [Ollama](https://ollama.ai), allowing users to flexibly use their own or third-party models. For more details, see [Local Model Support](/en/usage/features/local-llm).
@@ -14,9 +14,15 @@ tags:
14
14
  - 01 AI
15
15
  - Ollama
16
16
  ---
17
+
17
18
  # 多模型服务商支持
18
19
 
19
- <Image alt={'多模型服务商支持'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/b164bc54-8ba2-4c1e-b2f2-f4d7f7e7a551'} />
20
+ <Image
21
+ alt={'多模型服务商支持'}
22
+ borderless
23
+ cover
24
+ src={'https://github.com/lobehub/lobe-chat/assets/28616219/b164bc54-8ba2-4c1e-b2f2-f4d7f7e7a551'}
25
+ />
20
26
 
21
27
  <Callout>在 0.123.0 及以后版本中可用</Callout>
22
28
 
@@ -38,6 +44,10 @@ tags:
38
44
 
39
45
  ## 本地模型支持
40
46
 
41
- <Image alt={'本地模型支持'} borderless src={'https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c'} />
47
+ <Image
48
+ alt={'本地模型支持'}
49
+ borderless
50
+ src={'https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c'}
51
+ />
42
52
 
43
53
  为了满足特定用户的需求,LobeChat 还基于 [Ollama](https://ollama.ai) 支持了本地模型的使用,让用户能够更灵活地使用自己的或第三方的模型,详见 [本地模型支持](/zh/usage/features/local-llm)。
@@ -67,19 +67,20 @@ The plugin system of LobeChat has now entered a stable stage, and we have basica
67
67
  <Steps>
68
68
  ### ✅ Phase One of Plugins
69
69
 
70
- Implementing the separation of plugins from the main body, splitting the plugins into independent repositories for maintenance, and implementing dynamic loading of plugins. [**#73**](https://github.com/lobehub/lobe-chat/issues/73)
70
+ Implementing the separation of plugins from the main body, splitting the plugins into independent repositories for maintenance, and implementing dynamic loading of plugins. [**#73**](https://github.com/lobehub/lobe-chat/issues/73)
71
71
 
72
- ### ✅ Phase Two of Plugins
72
+ ### ✅ Phase Two of Plugins
73
73
 
74
- The security and stability of plugin usage, more accurate presentation of abnormal states, maintainability and developer-friendliness of the plugin architecture. [**#97**](https://github.com/lobehub/lobe-chat/issues/97)
74
+ The security and stability of plugin usage, more accurate presentation of abnormal states, maintainability and developer-friendliness of the plugin architecture. [**#97**](https://github.com/lobehub/lobe-chat/issues/97)
75
75
 
76
- ### ✅ Phase Three of Plugins
76
+ ### ✅ Phase Three of Plugins
77
77
 
78
- Higher-level and improved customization capabilities, support for OpenAPI schema invocation, compatibility with ChatGPT plugins, and the addition of Midjourney plugins. [**#411**](https://github.com/lobehub/lobe-chat/discussions/#411)
78
+ Higher-level and improved customization capabilities, support for OpenAPI schema invocation, compatibility with ChatGPT plugins, and the addition of Midjourney plugins. [**#411**](https://github.com/lobehub/lobe-chat/discussions/#411)
79
79
 
80
- ### 💭 Phase Four of Plugins
80
+ ### 💭 Phase Four of Plugins
81
+
82
+ Comprehensive authentication, visual configuration of plugin definitions, Plugin SDK CLI, Python language development template, any other ideas? Join the discussion: [**#1310**](https://github.com/lobehub/lobe-chat/discussions/#1310)
81
83
 
82
- Comprehensive authentication, visual configuration of plugin definitions, Plugin SDK CLI, Python language development template, any other ideas? Join the discussion: [**#1310**](https://github.com/lobehub/lobe-chat/discussions/#1310)
83
84
  </Steps>
84
85
 
85
86
  [chat-plugin-sdk]: https://github.com/lobehub/chat-plugin-sdk
@@ -7,6 +7,7 @@ tags:
7
7
  - 开发资源
8
8
  - 插件开发指南
9
9
  ---
10
+
10
11
  # 插件系统
11
12
 
12
13
  <Image
@@ -54,19 +55,20 @@ LobeChat 的插件系统目前已初步进入一个稳定阶段,我们已基
54
55
  <Steps>
55
56
  ### ✅ 插件一期
56
57
 
57
- 实现插件与主体分离,将插件拆分为独立仓库维护,并实现插件的动态加载。 [**#73**](https://github.com/lobehub/lobe-chat/issues/73)
58
+ 实现插件与主体分离,将插件拆分为独立仓库维护,并实现插件的动态加载。 [**#73**](https://github.com/lobehub/lobe-chat/issues/73)
59
+
60
+ ### ✅ 插件二期
58
61
 
59
- ### ✅ 插件二期
62
+ 插件的安全性与使用的稳定性,更加精准地呈现异常状态,插件架构的可维护性与开发者友好。[**#97**](https://github.com/lobehub/lobe-chat/issues/97)
60
63
 
61
- 插件的安全性与使用的稳定性,更加精准地呈现异常状态,插件架构的可维护性与开发者友好。[**#97**](https://github.com/lobehub/lobe-chat/issues/97)
64
+ ### ✅ 插件三期
62
65
 
63
- ### 插件三期
66
+ 更高阶与完善的自定义能力,支持 OpenAPI schema 调用、兼容 ChatGPT 插件、新增 Midjourney 插件。 [**#411**](https://github.com/lobehub/lobe-chat/discussions/#411)
64
67
 
65
- 更高阶与完善的自定义能力,支持 OpenAPI schema 调用、兼容 ChatGPT 插件、新增 Midjourney 插件。 [**#411**](https://github.com/lobehub/lobe-chat/discussions/#411)
68
+ ### 💭 插件四期
66
69
 
67
- ### 💭 插件四期
70
+ 完善的鉴权、可视化配置插件定义、 Plugin SDK CLI 、 Python 语言研发模板、还有什么想法?欢迎参与讨论: [**#1310**](https://github.com/lobehub/lobe-chat/discussions/#1310)
68
71
 
69
- 完善的鉴权、可视化配置插件定义、 Plugin SDK CLI 、 Python 语言研发模板、还有什么想法?欢迎参与讨论: [**#1310**](https://github.com/lobehub/lobe-chat/discussions/#1310)
70
72
  </Steps>
71
73
 
72
74
  [chat-plugin-sdk]: https://github.com/lobehub/chat-plugin-sdk
@@ -14,7 +14,12 @@ tags:
14
14
 
15
15
  # Progressive Web App (PWA)
16
16
 
17
- <Image alt={'Progressive Web App (PWA)'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/ecc8364a-cfc4-4a3d-b6fd-68b2d9bc5f0d'} />
17
+ <Image
18
+ alt={'Progressive Web App (PWA)'}
19
+ borderless
20
+ cover
21
+ src={'https://github.com/lobehub/lobe-chat/assets/28616219/ecc8364a-cfc4-4a3d-b6fd-68b2d9bc5f0d'}
22
+ />
18
23
 
19
24
  We understand the importance of providing a seamless experience for users in today's multi-device environment. To achieve this, we have adopted Progressive Web App [PWA](https://support.google.com/chrome/answer/9658361) technology, which is a modern web technology that elevates web applications to a near-native app experience. Through PWA, LobeChat is able to provide a highly optimized user experience on both desktop and mobile devices, while maintaining lightweight and high performance characteristics. Visually and perceptually, we have also carefully designed it to ensure that its interface is indistinguishable from a native app, providing smooth animations, responsive layouts, and adaptation to different screen resolutions of various devices.
20
25
 
@@ -23,9 +28,10 @@ If you are unfamiliar with the installation process of PWA, you can follow the s
23
28
  <Steps>
24
29
  ### Run Chrome or Edge browser on your computer
25
30
 
26
- ### Visit the LobeChat webpage
31
+ ### Visit the LobeChat webpage
27
32
 
28
- ### In the top right corner of the address bar, click the <kbd>Install</kbd> icon
33
+ ### In the top right corner of the address bar, click the <kbd>Install</kbd> icon
34
+
35
+ ### Follow the on-screen instructions to complete the PWA installation
29
36
 
30
- ### Follow the on-screen instructions to complete the PWA installation
31
37
  </Steps>
@@ -11,9 +11,15 @@ tags:
11
11
  - 高性能
12
12
  - 响应式布局
13
13
  ---
14
+
14
15
  # 渐进式 Web 应用(PWA)
15
16
 
16
- <Image alt={'渐进式 Web 应用(PWA)'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/ecc8364a-cfc4-4a3d-b6fd-68b2d9bc5f0d'} />
17
+ <Image
18
+ alt={'渐进式 Web 应用(PWA)'}
19
+ borderless
20
+ cover
21
+ src={'https://github.com/lobehub/lobe-chat/assets/28616219/ecc8364a-cfc4-4a3d-b6fd-68b2d9bc5f0d'}
22
+ />
17
23
 
18
24
  我们利深知在当今多设备环境下为用户提供无缝体验的重要性。为此,我们采用了渐进式 Web 应用 [PWA](https://support.google.com/chrome/answer/9658361) 技术,这是一种能够将网页应用提升至接近原生应用体验的现代 Web 技术。通过 PWA,LobeChat 能够在桌面和移动设备上提供高度优化的用户体验,同时保持轻量级和高性能的特点。在视觉和感觉上,我们也经过精心设计,以确保它的界面与原生应用无差别,提供流畅的动画、响应式布局和适配不同设备的屏幕分辨率。
19
25
 
@@ -22,9 +28,10 @@ tags:
22
28
  <Steps>
23
29
  ### 在电脑上运行 Chrome 或 Edge 浏览器
24
30
 
25
- ### 访问 LobeChat 网页
31
+ ### 访问 LobeChat 网页
32
+
33
+ ### 在地址栏的右上角,单击 <kbd>安装</kbd> 图标
26
34
 
27
- ### 在地址栏的右上角,单击 <kbd>安装</kbd> 图标
35
+ ### 根据屏幕上的指示完成 PWA 的安装
28
36
 
29
- ### 根据屏幕上的指示完成 PWA 的安装
30
37
  </Steps>
@@ -11,6 +11,7 @@ tags:
11
11
  - Pollinations
12
12
  - AI工具
13
13
  ---
14
+
14
15
  # Text to Image 文生图
15
16
 
16
17
  <Image
@@ -15,7 +15,12 @@ tags:
15
15
 
16
16
  # Custom Themes
17
17
 
18
- <Image alt={'Custom Themes'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/9eca103c-9335-4a4c-8192-271a0b857b26'} />
18
+ <Image
19
+ alt={'Custom Themes'}
20
+ borderless
21
+ cover
22
+ src={'https://github.com/lobehub/lobe-chat/assets/28616219/9eca103c-9335-4a4c-8192-271a0b857b26'}
23
+ />
19
24
 
20
25
  LobeChat places a strong emphasis on personalized user experiences in its interface design, and thus introduces flexible and diverse theme modes, including a light mode for daytime and a dark mode for nighttime.
21
26
 
@@ -9,9 +9,15 @@ tags:
9
9
  - 界面设计
10
10
  - 个性化体验
11
11
  ---
12
+
12
13
  # 自定义主题
13
14
 
14
- <Image alt={'自定义主题'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/9eca103c-9335-4a4c-8192-271a0b857b26'} />
15
+ <Image
16
+ alt={'自定义主题'}
17
+ borderless
18
+ cover
19
+ src={'https://github.com/lobehub/lobe-chat/assets/28616219/9eca103c-9335-4a4c-8192-271a0b857b26'}
20
+ />
15
21
 
16
22
  LobeChat 在界面设计上十分考虑用户的个性化体验,因此引入了灵活多变的主题模式,其中包括日间的亮色模式和夜间的深色模式。
17
23
 
@@ -10,6 +10,7 @@ tags:
10
10
  - 文字转语音
11
11
  - 语音转文字
12
12
  ---
13
+
13
14
  # TTS & STT 语音会话
14
15
 
15
16
  <Image
@@ -8,6 +8,7 @@ tags:
8
8
  - 智能对话
9
9
  - 大语言模型
10
10
  ---
11
+
11
12
  # 模型视觉识别
12
13
 
13
14
  <Image