@lobehub/chat 1.0.13 → 1.0.14

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 (106) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +16 -14
  3. package/README.zh-CN.md +16 -14
  4. package/docs/self-hosting/advanced/feature-flags.zh-CN.mdx +2 -1
  5. package/docs/self-hosting/advanced/model-list.zh-CN.mdx +1 -0
  6. package/docs/self-hosting/advanced/server-database.mdx +4 -3
  7. package/docs/self-hosting/advanced/server-database.zh-CN.mdx +1 -0
  8. package/docs/self-hosting/advanced/settings-url-share.mdx +5 -4
  9. package/docs/self-hosting/advanced/settings-url-share.zh-CN.mdx +5 -4
  10. package/docs/self-hosting/advanced/sso-providers/zitadel.mdx +3 -3
  11. package/docs/self-hosting/advanced/sso-providers/zitadel.zh-CN.mdx +2 -1
  12. package/docs/self-hosting/advanced/upstream-sync.zh-CN.mdx +10 -10
  13. package/docs/self-hosting/examples/ollama.mdx +23 -23
  14. package/docs/self-hosting/examples/ollama.zh-CN.mdx +23 -24
  15. package/docs/self-hosting/platform/docker-compose.zh-CN.mdx +2 -3
  16. package/docs/self-hosting/platform/vercel.mdx +2 -2
  17. package/docs/self-hosting/platform/vercel.zh-CN.mdx +2 -1
  18. package/docs/self-hosting/platform/zeabur.mdx +6 -7
  19. package/docs/self-hosting/platform/zeabur.zh-CN.mdx +6 -7
  20. package/docs/usage/agents/prompt.mdx +1 -1
  21. package/docs/usage/agents/prompt.zh-CN.mdx +1 -1
  22. package/docs/usage/features/auth.mdx +13 -8
  23. package/docs/usage/features/auth.zh-CN.mdx +5 -3
  24. package/docs/usage/features/database.mdx +20 -14
  25. package/docs/usage/features/database.zh-CN.mdx +1 -1
  26. package/docs/usage/features/local-llm.mdx +5 -0
  27. package/docs/usage/features/local-llm.zh-CN.mdx +5 -0
  28. package/docs/usage/features/multi-ai-providers.mdx +5 -0
  29. package/docs/usage/features/multi-ai-providers.zh-CN.mdx +5 -0
  30. package/docs/usage/features/plugin-system.zh-CN.mdx +2 -1
  31. package/docs/usage/features/pwa.mdx +3 -2
  32. package/docs/usage/features/pwa.zh-CN.mdx +3 -2
  33. package/docs/usage/providers/01ai.mdx +86 -0
  34. package/docs/usage/providers/01ai.zh-CN.mdx +85 -0
  35. package/docs/usage/providers/anthropic.mdx +79 -0
  36. package/docs/usage/providers/anthropic.zh-CN.mdx +74 -0
  37. package/docs/usage/providers/azure.mdx +89 -0
  38. package/docs/usage/providers/azure.zh-CN.mdx +82 -0
  39. package/docs/usage/providers/bedrock.mdx +140 -0
  40. package/docs/usage/providers/bedrock.zh-CN.mdx +135 -0
  41. package/docs/usage/providers/deepseek.mdx +91 -0
  42. package/docs/usage/providers/deepseek.zh-CN.mdx +86 -0
  43. package/docs/usage/providers/gemini.mdx +83 -0
  44. package/docs/usage/providers/gemini.zh-CN.mdx +80 -0
  45. package/docs/usage/providers/groq.mdx +1 -3
  46. package/docs/usage/providers/groq.zh-CN.mdx +1 -1
  47. package/docs/usage/providers/minimax.mdx +89 -0
  48. package/docs/usage/providers/minimax.zh-CN.mdx +85 -0
  49. package/docs/usage/providers/mistral.mdx +71 -0
  50. package/docs/usage/providers/mistral.zh-CN.mdx +66 -0
  51. package/docs/usage/providers/moonshot.mdx +70 -0
  52. package/docs/usage/providers/moonshot.zh-CN.mdx +66 -0
  53. package/docs/usage/providers/ollama/gemma.mdx +1 -1
  54. package/docs/usage/providers/ollama/gemma.zh-CN.mdx +1 -1
  55. package/docs/usage/providers/ollama/qwen.mdx +1 -1
  56. package/docs/usage/providers/ollama/qwen.zh-CN.mdx +1 -1
  57. package/docs/usage/providers/ollama.mdx +1 -1
  58. package/docs/usage/providers/ollama.zh-CN.mdx +1 -1
  59. package/docs/usage/providers/openai.mdx +95 -0
  60. package/docs/usage/providers/openai.zh-CN.mdx +87 -0
  61. package/docs/usage/providers/openrouter.mdx +111 -0
  62. package/docs/usage/providers/openrouter.zh-CN.mdx +109 -0
  63. package/docs/usage/providers/perplexity.mdx +64 -0
  64. package/docs/usage/providers/perplexity.zh-CN.mdx +61 -0
  65. package/docs/usage/providers/qwen.mdx +93 -0
  66. package/docs/usage/providers/qwen.zh-CN.mdx +86 -0
  67. package/docs/usage/providers/stepfun.mdx +69 -0
  68. package/docs/usage/providers/stepfun.zh-CN.mdx +64 -0
  69. package/docs/usage/providers/togetherai.mdx +74 -0
  70. package/docs/usage/providers/togetherai.zh-CN.mdx +71 -0
  71. package/docs/usage/providers/zhipu.mdx +69 -0
  72. package/docs/usage/providers/zhipu.zh-CN.mdx +64 -0
  73. package/docs/usage/providers.mdx +36 -0
  74. package/docs/usage/providers.zh-CN.mdx +34 -0
  75. package/docs/usage/start.mdx +2 -0
  76. package/docs/usage/start.zh-CN.mdx +2 -0
  77. package/locales/ar/setting.json +1 -0
  78. package/locales/bg-BG/setting.json +1 -0
  79. package/locales/de-DE/setting.json +1 -0
  80. package/locales/en-US/setting.json +1 -0
  81. package/locales/es-ES/setting.json +1 -0
  82. package/locales/fr-FR/setting.json +1 -0
  83. package/locales/it-IT/setting.json +1 -0
  84. package/locales/ja-JP/setting.json +1 -0
  85. package/locales/ko-KR/setting.json +1 -0
  86. package/locales/nl-NL/setting.json +1 -0
  87. package/locales/pl-PL/setting.json +1 -0
  88. package/locales/pt-BR/setting.json +1 -0
  89. package/locales/ru-RU/setting.json +1 -0
  90. package/locales/tr-TR/setting.json +1 -0
  91. package/locales/vi-VN/setting.json +1 -0
  92. package/locales/zh-CN/setting.json +1 -0
  93. package/locales/zh-TW/setting.json +1 -0
  94. package/package.json +6 -5
  95. package/src/app/(main)/settings/llm/ProviderList/providers.tsx +33 -4
  96. package/src/app/(main)/settings/llm/components/ProviderConfig/index.tsx +41 -11
  97. package/src/app/(main)/settings/llm/index.tsx +1 -2
  98. package/src/features/ChatInput/useSend.ts +2 -1
  99. package/src/features/Conversation/Messages/Assistant/ToolCalls/index.tsx +1 -1
  100. package/src/features/Conversation/Messages/components/Arguments.tsx +5 -3
  101. package/src/features/Conversation/Messages/hooks/useYamlArguments.ts +5 -2
  102. package/src/locales/default/setting.ts +1 -0
  103. package/src/store/chat/slices/plugin/action.test.ts +5 -5
  104. package/src/store/chat/slices/plugin/action.ts +6 -2
  105. package/src/store/tool/slices/builtin/action.test.ts +8 -11
  106. package/src/store/tool/slices/builtin/action.ts +9 -9
@@ -0,0 +1,86 @@
1
+ ---
2
+ title: 在 LobeChat 中使用通义千问
3
+ description: 学习如何在 LobeChat 中配置和使用阿里云的通义千问模型,提供强大的自然语言理解和生成能力。
4
+ tags:
5
+ - LobeChat
6
+ - 通义千问
7
+ - DashScope
8
+ - API 密钥
9
+ - 语言模型
10
+ ---
11
+
12
+ # 在 LobeChat 中使用通义千问
13
+
14
+ <Image
15
+ alt={'在 LobeChat 中使用通义千问'}
16
+ cover
17
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/4e057b43-1e3e-4e96-a948-7cdbff303dcb'}
18
+ />
19
+
20
+ [通义千问](https://tongyi.aliyun.com/)是阿里云自主研发的超大规模语言模型,具有强大的自然语言理解和生成能力。它可以回答各种问题、创作文字内容、表达观点看法、撰写代码等,在多个领域发挥作用。
21
+
22
+ 本文档将指导你如何在 LobeChat 中使用通义千问:
23
+
24
+ <Steps>
25
+
26
+ ### 步骤一:开通 DashScope 模型服务
27
+
28
+ - 访问并登录阿里云 [DashScope](https://dashscope.console.aliyun.com/) 平台
29
+ - 初次进入时需要开通 DashScope 服务
30
+ - 若你已开通,可跳过该步骤
31
+
32
+ <Image
33
+ alt={'开通 DashScope 服务'}
34
+ inStep
35
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/4f8d0102-7ca7-4f23-b96f-3fc5cf2cd66e'}
36
+ />
37
+
38
+ ### 步骤二:获取 DashScope API 密钥
39
+
40
+ - 进入`API-KEY` 界面,并创建一个 API 密钥
41
+
42
+ <Image
43
+ alt={'创建通义千问 API 密钥'}
44
+ inStep
45
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/eee046cb-189b-4635-ac94-19d50b17a18a'}
46
+ />
47
+
48
+ - 在弹出的对话框中复制 API 密钥,并妥善保存
49
+
50
+ <Image
51
+ alt={'复制通义千问 API 密钥'}
52
+ inStep
53
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/cec2e032-54e1-49b1-a212-4d9736927156'}
54
+ />
55
+
56
+ <Callout type={'warning'}>
57
+ 请安全地存储密钥,因为它只会出现一次。如果您意外丢失它,您将需要创建一个新密钥。
58
+ </Callout>
59
+
60
+ ### 步骤三:在LobeChat 中配置通义千问
61
+
62
+ - 访问 LobeChat 的`设置`界面
63
+ - 在`语言模型`下找到`通义千问`的设置项
64
+
65
+ <Image
66
+ alt={'填写 API 密钥'}
67
+ inStep
68
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/c2e6a58b-95eb-4f40-8add-83f4316a719b'}
69
+ />
70
+
71
+ - 打开通义千问并填入获得的 API 密钥
72
+ - 为你的 AI 助手选择一个 Qwen 的模型即可开始对话
73
+
74
+ <Image
75
+ alt={'选择 Qwen 模型并开始对话'}
76
+ inStep
77
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/f4a23c2a-503e-4731-bc4d-922bce0b6039'}
78
+ />
79
+
80
+ <Callout type={'warning'}>
81
+ 在使用过程中你可能需要向 API 服务提供商付费,请参考通义千问的相关费用政策。
82
+ </Callout>
83
+
84
+ </Steps>
85
+
86
+ 至此你已经可以在 LobeChat 中使用通义千问提供的模型进行对话了。
@@ -0,0 +1,69 @@
1
+ ---
2
+ title: Using Stepfun in LobeChat
3
+ description: >-
4
+ Learn how to integrate Stepfun AI models into LobeChat for engaging
5
+ conversations. Obtain Stepfun API key, configure Stepfun in LobeChat settings,
6
+ and select a model to start chatting.
7
+ tags:
8
+ - Stepfun
9
+ - LobeChat
10
+ - Artificial General Intelligence
11
+ - Step-1 billion-parameter model
12
+ - Step-1V billion-parameter multimodal model
13
+ - Step-2 trillion-parameter MoE language model
14
+ ---
15
+
16
+ # Using Stepfun in LobeChat
17
+
18
+ <Image
19
+ alt={'Using Stepfun in LobeChat'}
20
+ cover
21
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/95717e2b-1a55-4fca-a96b-b1c186ed4563'}
22
+ />
23
+
24
+ [Stepfun](https://www.stepfun.com/) is a startup focusing on the research and development of Artificial General Intelligence (AGI). They have released the Step-1 billion-parameter language model, Step-1V billion-parameter multimodal model, and the Step-2 trillion-parameter MoE language model preview.
25
+
26
+ This document will guide you on how to use Stepfun in LobeChat:
27
+
28
+ <Steps>
29
+
30
+ ### Step 1: Obtain Stepfun API Key
31
+
32
+ - Visit and log in to the [Stepfun Open Platform](https://platform.stepfun.com/)
33
+ - Go to the `API Key` menu, where the system has already created an API key for you
34
+ - Copy the created API key
35
+
36
+ <Image
37
+ alt={'Obtain Stepfun API Key'}
38
+ inStep
39
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/33d8ce3b-0083-48aa-9a66-3825e726c4de'}
40
+ />
41
+
42
+ ### Step 2: Configure Stepfun in LobeChat
43
+
44
+ - Visit the `Settings` interface in LobeChat
45
+ - Find the setting for Stepfun under `Language Models`
46
+
47
+ <Image
48
+ alt={'Enter API Key'}
49
+ inStep
50
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/470e5669-650b-46cf-8024-a1476c166059'}
51
+ />
52
+
53
+ - Open Stepfun and enter the obtained API key
54
+ - Choose a Stepfun model for your AI assistant to start the conversation
55
+
56
+ <Image
57
+ alt={'Select Stepfun model and start conversation'}
58
+ inStep
59
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/0275a552-f189-42b5-bf40-f9891c428b3d'}
60
+ />
61
+
62
+ <Callout type={'warning'}>
63
+ During usage, you may need to pay the API service provider, please refer to Stepfun's relevant
64
+ pricing policies.
65
+ </Callout>
66
+
67
+ </Steps>
68
+
69
+ You can now use the models provided by Stepfun to have conversations in LobeChat.
@@ -0,0 +1,64 @@
1
+ ---
2
+ title: 在 LobeChat 中使用 Stepfun Stepfun 阶跃星辰
3
+ description: 学习如何在 LobeChat 中配置和使用 Stepfun 阶跃星辰的人工智能模型,包括获取 API 密钥和选择模型开始对话。
4
+ tags:
5
+ - LobeChat
6
+ - Stepfun 阶跃星辰
7
+ - 人工智能模型
8
+ - API 密钥
9
+ - 对话模型
10
+ ---
11
+
12
+ # 在 LobeChat 中使用 Stepfun 阶跃星辰
13
+
14
+ <Image
15
+ alt={'在 LobeChat 中使用 Stepfun 阶跃星辰'}
16
+ cover
17
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/95717e2b-1a55-4fca-a96b-b1c186ed4563'}
18
+ />
19
+
20
+ [Stepfun 阶跃星辰](https://www.stepfun.com/)是一家专注于通用人工智能(AGI)研发的创业公司,目前已推出Step-1千亿参数语言大模型、Step-1V千亿参数多模态大模型,以及Step-2万亿参数MoE语言大模型预览版。
21
+
22
+ 本文档将指导你如何在 LobeChat 中使用 Stepfun 阶跃星辰:
23
+
24
+ <Steps>
25
+
26
+ ### 步骤一:获取 Stepfun 阶跃星辰 API 密钥
27
+
28
+ - 访问并登录 [Stepfun Stepfun 阶跃星辰开放平台](https://platform.stepfun.com/)
29
+ - 进入`接口密钥`菜单,系统已为你创建好 API 密钥
30
+ - 复制已创建的 API 密钥
31
+
32
+ <Image
33
+ alt={'获取 Stepfun 阶跃星辰API密钥'}
34
+ inStep
35
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/33d8ce3b-0083-48aa-9a66-3825e726c4de'}
36
+ />
37
+
38
+ ### 步骤二:在LobeChat 中配置 Stepfun Stepfun 阶跃星辰
39
+
40
+ - 访问 LobeChat 的`设置`界面
41
+ - 在`语言模型`下找到` Stepfun 阶跃星辰`的设置项
42
+
43
+ <Image
44
+ alt={'填写 API 密钥'}
45
+ inStep
46
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/470e5669-650b-46cf-8024-a1476c166059'}
47
+ />
48
+
49
+ - 打开 Stepfun 阶跃星辰并填入获得的 API 密钥
50
+ - 为你的 AI 助手选择一个 Stepfun 阶跃星辰的模型即可开始对话
51
+
52
+ <Image
53
+ alt={'选择 Stepfun 阶跃星辰模型并开始对话'}
54
+ inStep
55
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/0275a552-f189-42b5-bf40-f9891c428b3d'}
56
+ />
57
+
58
+ <Callout type={'warning'}>
59
+ 在使用过程中你可能需要向 API 服务提供商付费,请参考 Stepfun 阶跃星辰的相关费用政策。
60
+ </Callout>
61
+
62
+ </Steps>
63
+
64
+ 至此你已经可以在 LobeChat 中使用 Stepfun 阶跃星辰提供的模型进行对话了。
@@ -0,0 +1,74 @@
1
+ ---
2
+ title: Using Together AI in LobeChat
3
+ description: >-
4
+ Learn how to integrate Together AI into LobeChat, obtain the API key,
5
+ configure settings, and start conversations with AI models.
6
+ tags:
7
+ - Together AI
8
+ - LobeChat
9
+ - AI integration
10
+ - API key
11
+ - Conversation models
12
+ ---
13
+
14
+ # Using Together AI in LobeChat
15
+
16
+ <Image
17
+ alt={'Using Together AI in LobeChat'}
18
+ cover
19
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/28e025dd-367b-4add-85b6-499f4aacda61'}
20
+ />
21
+
22
+ [together.ai](https://www.together.ai/) is a platform focused on the field of Artificial Intelligence Generated Content (AIGC), founded in June 2022. It is dedicated to building a cloud platform for running, training, and fine-tuning open-source models, providing scalable computing power at prices lower than mainstream vendors.
23
+
24
+ This document will guide you on how to use Together AI in LobeChat:
25
+
26
+ <Steps>
27
+
28
+ ### Step 1: Obtain the API Key for Together AI
29
+
30
+ - Visit and log in to [Together AI API](https://api.together.ai/)
31
+ - Upon initial login, the system will automatically create an API key for you and provide a $5.0 credit
32
+
33
+ <Image
34
+ alt={'Obtain together.ai API key'}
35
+ inStep
36
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/fcdcda9b-8668-4eac-b5cb-04803a888e92'}
37
+ />
38
+
39
+ - If you haven't saved it, you can also view the API key at any time in the `API Key` interface under `Settings`
40
+
41
+ <Image
42
+ alt={'View together.ai API key'}
43
+ inStep
44
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/663335d0-fb37-4882-9c7f-ebbd53275644'}
45
+ />
46
+
47
+ ### Step 2: Configure Together AI in LobeChat
48
+
49
+ - Visit the `Settings` interface in LobeChat
50
+ - Find the setting for `together.ai` under `Language Model`
51
+
52
+ <Image
53
+ alt={'Enter Together AI API key in LobeChat'}
54
+ inStep
55
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/0cc6c9b8-4688-472b-a80f-f84c5ebbc719'}
56
+ />
57
+
58
+ - Open together.ai and enter the obtained API key
59
+ - Choose a Together AI model for your assistant to start the conversation
60
+
61
+ <Image
62
+ alt={'Select and use Together AI model'}
63
+ inStep
64
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/34d92da4-783f-4f16-8c4a-9d8e9a03c8da'}
65
+ />
66
+
67
+ <Callout type={'warning'}>
68
+ During usage, you may need to pay the API service provider, please refer to Together AI's pricing
69
+ policy.
70
+ </Callout>
71
+
72
+ </Steps>
73
+
74
+ You can now engage in conversations using the models provided by Together AI in LobeChat.
@@ -0,0 +1,71 @@
1
+ ---
2
+ title: 在 LobeChat 中使用 Together AI
3
+ description: 学习如何在 LobeChat 中配置和使用 Together AI 的API密钥,以便开始对话和交互。
4
+ tags:
5
+ - LobeChat
6
+ - Together AI
7
+ - API密钥
8
+ - 语言模型
9
+ - 人工智能
10
+ ---
11
+
12
+ # 在 LobeChat 中使用 Together AI
13
+
14
+ <Image
15
+ alt={'在 LobeChat 中使用 Together AI'}
16
+ cover
17
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/28e025dd-367b-4add-85b6-499f4aacda61'}
18
+ />
19
+
20
+ [together.ai](https://www.together.ai/) 是一家专注于生成式人工智能(AIGC)领域的平台,成立于2022年6月。 它致力于构建用于运行、训练和微调开源模型的云平台,以低于主流供应商的价格提供可扩展的计算能力。
21
+
22
+ 本文档将指导你如何在 LobeChat 中使用 Together AI:
23
+
24
+ <Steps>
25
+
26
+ ### 步骤一:获取 Together AI 的 API 密钥
27
+
28
+ - 访问并登录 [Together AI API](https://api.together.ai/)
29
+ - 初次登录时系统会自动为你创建好 API 密钥并赠送 $5.0 的额度
30
+
31
+ <Image
32
+ alt={'获得 together.ai API 密钥'}
33
+ inStep
34
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/fcdcda9b-8668-4eac-b5cb-04803a888e92'}
35
+ />
36
+
37
+ - 如果你没有保存,也可以在后续任意时间,通过 `设置` 中的 `API 密钥` 界面查看
38
+
39
+ <Image
40
+ alt={'查看 together.ai API 密钥'}
41
+ inStep
42
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/663335d0-fb37-4882-9c7f-ebbd53275644'}
43
+ />
44
+
45
+ ### 步骤二:在 LobeChat 中配置 Together AI
46
+
47
+ - 访问LobeChat的`设置`界面
48
+ - 在`语言模型`下找到`together.ai`的设置项
49
+
50
+ <Image
51
+ alt={'LobeChat 中填写 Together AI API 密钥'}
52
+ inStep
53
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/0cc6c9b8-4688-472b-a80f-f84c5ebbc719'}
54
+ />
55
+
56
+ - 打开 together.ai 并填入获得的 API 密钥
57
+ - 为你的助手选择一个 Together AI 的模型即可开始对话
58
+
59
+ <Image
60
+ alt={' 选择并使用 Together AI 模型 '}
61
+ inStep
62
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/34d92da4-783f-4f16-8c4a-9d8e9a03c8da'}
63
+ />
64
+
65
+ <Callout type={'warning'}>
66
+ 在使用过程中你可能需要向 API 服务提供商付费,请参考 Together AI 的费用政策。
67
+ </Callout>
68
+
69
+ </Steps>
70
+
71
+ 至此你已经可以在 LobeChat 中使用 Together AI 提供的模型进行对话了。
@@ -0,0 +1,69 @@
1
+ ---
2
+ title: Using Zhipu ChatGLM in LobeChat
3
+ description: >-
4
+ Learn how to integrate and utilize Zhipu AI models in LobeChat for enhanced
5
+ conversational experiences. Obtain the API key, configure settings, and start
6
+ engaging with cognitive intelligence.
7
+ tags:
8
+ - Zhipu AI
9
+ - LobeChat
10
+ - API Key
11
+ - Configure Settings
12
+ - Cognitive Intelligence
13
+ - Conversational AI
14
+ ---
15
+
16
+ # Using Zhipu ChatGLM in LobeChat
17
+
18
+ <Image
19
+ alt={'Using Together AI in LobeChat'}
20
+ cover
21
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/497e3b20-57ca-4963-b6f4-897c9710c16e'}
22
+ />
23
+
24
+ [Zhipu AI](https://www.zhipuai.cn/) is a high-tech company originating from the Department of Computer Science at Tsinghua University. Established in 2019, the company focuses on natural language processing, machine learning, and big data analysis, dedicated to expanding the boundaries of artificial intelligence technology in the field of cognitive intelligence.
25
+
26
+ This document will guide you on how to use Zhipu AI in LobeChat:
27
+
28
+ <Steps>
29
+
30
+ ### Step 1: Obtain the API Key for Zhipu AI
31
+
32
+ - Visit and log in to the [Zhipu AI Open Platform](https://open.bigmodel.cn/)
33
+ - Upon initial login, the system will automatically create an API key for you and gift you a resource package of 25M Tokens
34
+ - Navigate to the `API Key` section at the top to view your API key
35
+
36
+ <Image
37
+ alt={'Obtaining Zhipu AI API Key'}
38
+ inStep
39
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/6d6f2bc5-1407-471d-95a8-fb03193edbdb'}
40
+ />
41
+
42
+ ### Step 2: Configure Zhipu AI in LobeChat
43
+
44
+ - Visit the `Settings` interface in LobeChat
45
+ - Under `Language Model`, locate the settings for Zhipu AI
46
+
47
+ <Image
48
+ alt={'Enter Zhipu AI API Key in LobeChat'}
49
+ inStep
50
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/2afffe79-1d37-423c-9363-f09605d5e640'}
51
+ />
52
+
53
+ - Open Zhipu AI and enter the obtained API key
54
+ - Choose a Zhipu AI model for your assistant to start the conversation
55
+
56
+ <Image
57
+ alt={'Select and use Zhipu AI model'}
58
+ inStep
59
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/b83da559-73d1-4734-87d5-5e22955a9da2'}
60
+ />
61
+
62
+ <Callout type={'warning'}>
63
+ During usage, you may need to pay the API service provider, please refer to Zhipu AI's pricing
64
+ policy.
65
+ </Callout>
66
+
67
+ </Steps>
68
+
69
+ You can now engage in conversations using the models provided by Zhipu AI in LobeChat.
@@ -0,0 +1,64 @@
1
+ ---
2
+ title: 在 LobeChat 中使用智谱 ChatGLM
3
+ description: 学习如何在 LobeChat 中配置和使用智谱AI的API密钥,开始与智谱AI提供的模型进行对话。
4
+ tags:
5
+ - 智谱AI
6
+ - ChatGLM
7
+ - LobeChat
8
+ - API密钥
9
+ - 人工智能
10
+ - 自然语言处理
11
+ - 机器学习
12
+ ---
13
+
14
+ # 在 LobeChat 中使用智谱 ChatGLM
15
+
16
+ <Image
17
+ alt={'在 LobeChat 中使用 Together AI'}
18
+ cover
19
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/497e3b20-57ca-4963-b6f4-897c9710c16e'}
20
+ />
21
+
22
+ [智谱AI](https://www.zhipuai.cn/) 是一家源自清华大学计算机系技术成果的高科技公司,成立于2019年,专注于自然语言处理、机器学习和大数据分析,致力于在认知智能领域拓展人工智能技术的边界。
23
+
24
+ 本文档将指导你如何在 LobeChat 中使用智谱 AI:
25
+
26
+ <Steps>
27
+
28
+ ### 步骤一:获取智谱 AI 的 API 密钥
29
+
30
+ - 访问并登录 [智谱AI开放平台](https://open.bigmodel.cn/)
31
+ - 初次登录时系统会自动为你创建好 API 密钥并赠送 25M Tokens 的资源包
32
+ - 进入顶部的 `API密钥` 可以查看你的 API
33
+
34
+ <Image
35
+ alt={'获得智谱AI API 密钥'}
36
+ inStep
37
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/6d6f2bc5-1407-471d-95a8-fb03193edbdb'}
38
+ />
39
+
40
+ ### 步骤二:在 LobeChat 中配置智谱AI
41
+
42
+ - 访问LobeChat的`设置`界面
43
+ - 在`语言模型`下找到`智谱AI`的设置项
44
+
45
+ <Image
46
+ alt={'LobeChat 中填写智谱AI API 密钥'}
47
+ inStep
48
+ src={'https://github.com/lobehub/lobe-chat/assets/34400653/2afffe79-1d37-423c-9363-f09605d5e640'}
49
+ />
50
+
51
+ - 打开智谱 AI 并填入获得的 API 密钥
52
+ - 为你的助手选择一个智谱AI的模型即可开始对话
53
+
54
+ <Image
55
+
56
+ alt={' 选择并使用智谱AI模型 '} inStep src={ 'https://github.com/lobehub/lobe-chat/assets/34400653/b83da559-73d1-4734-87d5-5e22955a9da2' } />
57
+
58
+ <Callout type={'warning'}>
59
+ 在使用过程中你可能需要向 API 服务提供商付费,请参考智谱AI的费用政策。
60
+ </Callout>
61
+
62
+ </Steps>
63
+
64
+ 至此你已经可以在 LobeChat 中使用智谱AI提供的模型进行对话了。
@@ -0,0 +1,36 @@
1
+ ---
2
+ title: Enhancing LobeChat with Multiple Model Providers for AI Conversations
3
+ description: >-
4
+ Discover how LobeChat offers diverse AI conversation options by supporting
5
+ multiple model providers, providing flexibility and a wide range of choices
6
+ for users and developers.
7
+ tags:
8
+ - LobeChat
9
+ - AI Conversations
10
+ - Model Providers
11
+ - Diversity
12
+ - Flexibility
13
+ - Google AI
14
+ - ChatGLM
15
+ - Moonshot AI
16
+ - 01 AI
17
+ - Together AI
18
+ - Ollama
19
+ ---
20
+
21
+ # Using Multiple Model Providers in LobeChat
22
+
23
+ <Image
24
+ alt={'Multiple Model Providers Support'}
25
+ borderless
26
+ cover
27
+ src={'https://github.com/lobehub/lobe-chat/assets/17870709/1148639c-2687-4a9c-9950-8ca8672f34b6'}
28
+ />
29
+
30
+ In the continuous development of LobeChat, we deeply understand the importance of diversity in model providers for providing AI conversation services to meet the needs of the community. Therefore, we have expanded our support to multiple model providers instead of being limited to a single one, in order to offer users a more diverse and rich selection of conversation options.
31
+
32
+ This approach allows LobeChat to adapt more flexibly to different user needs and provides developers with a wider range of choices.
33
+
34
+ ## Tutorial on Using Model Providers
35
+
36
+ <ProviderCards locale={'en'} />
@@ -0,0 +1,34 @@
1
+ ---
2
+ title: 在 LobeChat 中使用多模型服务商
3
+ description: 了解 LobeChat 在多模型服务商支持方面的最新进展,包括已支持的模型服务商和计划中的扩展,以及本地模型支持的使用方式。
4
+ tags:
5
+ - LobeChat
6
+ - AI 会话服务
7
+ - 模型服务商
8
+ - 多模型支持
9
+ - 本地模型支持
10
+ - AWS Bedrock
11
+ - Google AI
12
+ - ChatGLM
13
+ - Moonshot AI
14
+ - 01 AI
15
+ - Together AI
16
+ - Ollama
17
+ ---
18
+
19
+ # 在 LobeChat 中使用多模型服务商
20
+
21
+ <Image
22
+ alt={'多模型服务商支持'}
23
+ borderless
24
+ cover
25
+ src={'https://github.com/lobehub/lobe-chat/assets/17870709/1148639c-2687-4a9c-9950-8ca8672f34b6'}
26
+ />
27
+
28
+ 在 LobeChat 的不断发展过程中,我们深刻理解到在提供 AI 会话服务时模型服务商的多样性对于满足社区需求的重要性。因此,我们不再局限于单一的模型服务商,而是拓展了对多种模型服务商的支持,以便为用户提供更为丰富和多样化的会话选择。
29
+
30
+ 通过这种方式,LobeChat 能够更灵活地适应不同用户的需求,同时也为开发者提供了更为广泛的选择空间。
31
+
32
+ ## 模型服务商使用教程
33
+
34
+ <ProviderCards locale={'zh'} />
@@ -29,6 +29,8 @@ tags:
29
29
 
30
30
  <FeatureCards
31
31
  agentMarket={'Assistant Market'}
32
+ auth={'Multi-User Management'}
33
+ database={'Local/Cloud Database'}
32
34
  localLLM={'Local LLM'}
33
35
  pluginSystem={'Plugin System'}
34
36
  providers="Multi AI Providers"
@@ -25,6 +25,8 @@ tags:
25
25
 
26
26
  <FeatureCards
27
27
  agentMarket={'助手市场'}
28
+ auth={'多用户管理'}
29
+ database={'本地/云端数据库'}
28
30
  localLLM={'本地大语言模型'}
29
31
  pluginSystem={'插件系统'}
30
32
  providers="多模型服务商"
@@ -102,6 +102,7 @@
102
102
  "latestTime": "آخر تحديث: {{time}}",
103
103
  "noLatestTime": "لم يتم الحصول على قائمة بعد"
104
104
  },
105
+ "helpDoc": "دليل التكوين",
105
106
  "modelList": {
106
107
  "desc": "اختيار النموذج الذي سيتم عرضه في الجلسة، سيتم عرض النموذج المحدد في قائمة النماذج",
107
108
  "placeholder": "الرجاء اختيار نموذج من القائمة",
@@ -102,6 +102,7 @@
102
102
  "latestTime": "Последно актуализирано: {{time}}",
103
103
  "noLatestTime": "В момента няма наличен списък"
104
104
  },
105
+ "helpDoc": "Настройки за документация",
105
106
  "modelList": {
106
107
  "desc": "Изберете модел, който да се показва по време на разговор. Избраният модел ще бъде показан в списъка с модели.",
107
108
  "placeholder": "Моля, изберете модел от списъка",
@@ -102,6 +102,7 @@
102
102
  "latestTime": "Letzte Aktualisierung: {{time}}",
103
103
  "noLatestTime": "Liste noch nicht abgerufen"
104
104
  },
105
+ "helpDoc": "Konfigurationsanleitung",
105
106
  "modelList": {
106
107
  "desc": "Wählen Sie die Modelle aus, die in der Sitzung angezeigt werden sollen. Die ausgewählten Modelle werden in der Modellliste angezeigt.",
107
108
  "placeholder": "Wählen Sie ein Modell aus der Liste aus",
@@ -102,6 +102,7 @@
102
102
  "latestTime": "Last Updated: {{time}}",
103
103
  "noLatestTime": "No list available yet"
104
104
  },
105
+ "helpDoc": "Configuration Guide",
105
106
  "modelList": {
106
107
  "desc": "Select the models to display in the session. The selected models will be displayed in the model list.",
107
108
  "placeholder": "Please select a model from the list",
@@ -102,6 +102,7 @@
102
102
  "latestTime": "Última actualización: {{time}}",
103
103
  "noLatestTime": "Lista no disponible actualmente"
104
104
  },
105
+ "helpDoc": "Tutorial de configuración",
105
106
  "modelList": {
106
107
  "desc": "Selecciona los modelos que se mostrarán en la conversación. Los modelos seleccionados se mostrarán en la lista de modelos.",
107
108
  "placeholder": "Selecciona un modelo de la lista",
@@ -102,6 +102,7 @@
102
102
  "latestTime": "Dernière mise à jour : {{time}}",
103
103
  "noLatestTime": "Aucune mise à jour disponible"
104
104
  },
105
+ "helpDoc": "Guide de configuration",
105
106
  "modelList": {
106
107
  "desc": "Sélectionnez les modèles à afficher dans la session. Les modèles sélectionnés seront affichés dans la liste des modèles.",
107
108
  "placeholder": "Veuillez sélectionner un modèle dans la liste",
@@ -102,6 +102,7 @@
102
102
  "latestTime": "Ultimo aggiornamento: {{time}}",
103
103
  "noLatestTime": "Nessun elenco disponibile al momento"
104
104
  },
105
+ "helpDoc": "Guida alla configurazione",
105
106
  "modelList": {
106
107
  "desc": "Seleziona i modelli da visualizzare durante la sessione, i modelli selezionati verranno mostrati nell'elenco dei modelli",
107
108
  "placeholder": "Seleziona un modello dall'elenco",
@@ -102,6 +102,7 @@
102
102
  "latestTime": "最終更新時間:{{time}}",
103
103
  "noLatestTime": "リストを取得していません"
104
104
  },
105
+ "helpDoc": "設定ガイド",
105
106
  "modelList": {
106
107
  "desc": "セッションで表示するモデルを選択します。選択したモデルはモデルリストに表示されます",
107
108
  "placeholder": "モデルをリストから選択してください",
@@ -102,6 +102,7 @@
102
102
  "latestTime": "마지막 업데이트 시간: {{time}}",
103
103
  "noLatestTime": "목록을 아직 가져오지 않았습니다"
104
104
  },
105
+ "helpDoc": "구성 안내",
105
106
  "modelList": {
106
107
  "desc": "대화에서 표시할 모델을 선택하세요. 선택한 모델은 모델 목록에 표시됩니다",
107
108
  "placeholder": "모델을 선택하세요",