Skip to content

Commit eda92e2

Browse files
authoredOct 11, 2024
📝 docs: update docs for providers (lobehub#4326)
1 parent 23c5bf7 commit eda92e2

20 files changed

+1232
-55
lines changed
 

‎docs/usage/providers/ai21.mdx

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: Using AI21 Labs in LobeChat
3+
description: Learn how to integrate and utilize AI21 Labs's language model APIs in LobeChat.
4+
tags:
5+
- LobeChat
6+
- AI21 Labs
7+
- API Key
8+
- Web UI
9+
---
10+
# Using AI21 Labs in LobeChat
11+
12+
<Image
13+
cover
14+
src={
15+
'https://github.com/user-attachments/assets/ae03eab5-a319-4d2a-a5f6-1683ab7739ee'
16+
}
17+
/>
18+
19+
[AI21 Labs](https://www.ai21.com/) is a company focused on artificial intelligence, offering advanced language models and API services designed to help developers and businesses leverage natural language processing technology. Their flagship product, the "Jamba" series of models, can perform complex language understanding and generation tasks, widely utilized in fields such as content creation and conversational systems.
20+
21+
This article will guide you on how to use AI21 Labs within LobeChat.
22+
23+
<Steps>
24+
### Step 1: Obtain the AI21 Labs API Key
25+
26+
- Register and log in to [AI21 Studio](https://studio.ai21.com)
27+
- Click on the `User Avatar` menu, then select `API Key`
28+
- Copy and save the generated API key
29+
30+
<Image
31+
alt={'Copy API Key'}
32+
inStep
33+
src={'https://github.com/user-attachments/assets/a42ba52b-491e-4993-8e2f-217aa1776e0f'}
34+
/>
35+
36+
### Step 2: Configure AI21 Labs in LobeChat
37+
38+
- Go to the `Settings` page in LobeChat
39+
- Under `Language Model`, find the setting for `AI21 Labs`
40+
41+
<Image
42+
alt={'Enter API Key'}
43+
inStep
44+
src={'https://github.com/user-attachments/assets/9336d6c5-2a83-4aa9-854e-75e245b665cb'}
45+
/>
46+
47+
- Enter the API key you obtained
48+
- Choose an AI21 Labs model for your AI assistant to begin the conversation
49+
50+
<Image
51+
alt={'Select AI21 Labs Model and Start Conversation'}
52+
inStep
53+
src={'https://github.com/user-attachments/assets/63e5ced7-1d23-44e1-b933-cc3b5df47eab'}
54+
/>
55+
56+
<Callout type={'warning'}>
57+
During use, you may need to pay the API service provider; please refer to the relevant fee policy of AI21 Labs.
58+
</Callout>
59+
60+
</Steps>
61+
62+
Now you are ready to engage in conversations using the models provided by AI21 Labs in LobeChat.
63+

‎docs/usage/providers/ai21.zh-CN.mdx

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: 在 LobeChat 中使用 AI21 Labs
3+
description: 学习如何在 LobeChat 中配置和使用 AI21 Labs 的API Key,以便开始对话和交互。
4+
tags:
5+
- LobeChat
6+
- AI21 Labs
7+
- API密钥
8+
- Web UI
9+
---
10+
11+
# 在 LobeChat 中使用 AI21 Labs
12+
13+
<Image
14+
cover
15+
src={
16+
'https://github.com/user-attachments/assets/ae03eab5-a319-4d2a-a5f6-1683ab7739ee'
17+
}
18+
/>
19+
20+
[AI21 Labs](https://www.ai21.com/) 是一家专注于人工智能的公司,提供先进的语言模型和API服务,旨在帮助开发者和企业利用自然语言处理技术。其旗舰产品 "Jamba" 系列模型能够进行复杂的语言理解和生成任务,广泛应用于内容创作、对话系统等领域。
21+
22+
本文将指导你如何在 LobeChat 中使用 AI21 Labs。
23+
24+
<Steps>
25+
### 步骤一:获得 AI21 Labs 的 API Key
26+
27+
- 注册并登录 [AI21 Studio](https://studio.ai21.com)
28+
- 点击 `用户头像` 菜单,点击 `API Key`
29+
- 复制并保存生成的 API 密钥
30+
31+
<Image
32+
alt={'复制 API 密钥'}
33+
inStep
34+
src={'https://github.com/user-attachments/assets/a42ba52b-491e-4993-8e2f-217aa1776e0f'}
35+
/>
36+
37+
### 步骤二:在 LobeChat 中配置 AI21 Labs
38+
39+
- 访问 LobeChat 的`设置`界面
40+
-`语言模型`下找到 `AI21labs` 的设置项
41+
42+
<Image
43+
alt={'填入 API 密钥'}
44+
inStep
45+
src={'https://github.com/user-attachments/assets/9336d6c5-2a83-4aa9-854e-75e245b665cb'}
46+
/>
47+
48+
- 填入获得的 API 密钥
49+
- 为你的 AI 助手选择一个 AI21 Labs 的模型即可开始对话
50+
51+
<Image
52+
alt={'选择 AI21 Labs 模型并开始对话'}
53+
inStep
54+
src={'https://github.com/user-attachments/assets/63e5ced7-1d23-44e1-b933-cc3b5df47eab'}
55+
/>
56+
57+
<Callout type={'warning'}>
58+
在使用过程中你可能需要向 API 服务提供商付费,请参考 AI21 Labs 的相关费用政策。
59+
</Callout>
60+
61+
</Steps>
62+
63+
至此你已经可以在 LobeChat 中使用 AI21 Labs 提供的模型进行对话了。

‎docs/usage/providers/ai360.mdx

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: Using the 360AI in LobeChat
3+
description: Learn how to integrate and utilize 360AI's language model APIs in LobeChat.
4+
tags:
5+
- LobeChat
6+
- 360AI
7+
- API Key
8+
- Web UI
9+
---
10+
# Using the 360AI in LobeChat
11+
12+
<Image
13+
cover
14+
src={
15+
'https://github.com/user-attachments/assets/e617def1-ce50-4acc-974b-12f5ed592a0e'
16+
}
17+
/>
18+
19+
The [360AI](https://ai.360.com/) is a cognitive general model independently developed by 360 Company, aimed at providing powerful natural language processing capabilities for enterprises and developers. This model has been upgraded to version 4.0 and supports various application scenarios, including conversational services, image generation, vector database services, and more.
20+
21+
This article will guide you on how to use the 360AI in LobeChat.
22+
23+
<Steps>
24+
### Step 1: Obtain the 360AI API Key
25+
26+
- Register and log in to the [360AI API Open Platform](https://ai.360.com/platform/keys)
27+
- Click on the `API Keys` menu on the left
28+
- Create an API key and copy it
29+
30+
<Image
31+
alt={'Create API Key'}
32+
inStep
33+
src={'https://github.com/user-attachments/assets/72da7af1-e180-4759-84a5-a6f6ca28392e'}
34+
/>
35+
36+
### Step 2: Configure 360AI in LobeChat
37+
38+
- Access the `Settings` interface in LobeChat
39+
- Under `Language Models`, find the option for `360`
40+
41+
<Image
42+
alt={'Enter API Key'}
43+
inStep
44+
src={'https://github.com/user-attachments/assets/a53deb11-2c14-441a-8a5c-a0f3a74e2a63'}
45+
/>
46+
47+
- Enter the API key you obtained
48+
- Choose a 360AI model for your AI assistant to start chatting
49+
50+
<Image
51+
alt={'Select 360 Model and Start Chatting'}
52+
inStep
53+
src={'https://github.com/user-attachments/assets/452d0b48-5ff7-4f42-a46e-68a62b87632b'}
54+
/>
55+
56+
<Callout type={'warning'}>
57+
Please note that you may need to pay the API service provider during use, refer to the relevant pricing policy of the 360AI.
58+
</Callout>
59+
60+
</Steps>
61+
62+
You can now use the models provided by the 360AI for conversations in LobeChat.
63+

‎docs/usage/providers/ai360.zh-CN.mdx

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: 在 LobeChat 中使用360智脑
3+
description: 学习如何在 LobeChat 中配置和使用360智脑的API Key,以便开始对话和交互。
4+
tags:
5+
- LobeChat
6+
- 360智脑
7+
- API密钥
8+
- Web UI
9+
---
10+
11+
# 在 LobeChat 中使用360智脑
12+
13+
<Image
14+
cover
15+
src={
16+
'https://github.com/user-attachments/assets/e617def1-ce50-4acc-974b-12f5ed592a0e'
17+
}
18+
/>
19+
20+
[360智脑](https://ai.360.com/)是360公司自主研发的认知型通用大模型,旨在为企业和开发者提供强大的自然语言处理能力。该模型已升级至4.0版本,能够支持多种应用场景,包括对话服务、图片生成、向量数据库服务等。
21+
22+
本文将指导你如何在 LobeChat 中使用360智脑。
23+
24+
<Steps>
25+
### 步骤一:获得360智脑的 API Key
26+
27+
- 注册并登录 [360智脑 API 开放平台](https://ai.360.com/platform/keys)
28+
- 点击左侧 `API Keys` 菜单
29+
- 创建一个 API 密钥并复制
30+
31+
<Image
32+
alt={'创建API密钥'}
33+
inStep
34+
src={'https://github.com/user-attachments/assets/72da7af1-e180-4759-84a5-a6f6ca28392e'}
35+
/>
36+
37+
### 步骤二:在 LobeChat 中配置360智脑
38+
39+
- 访问 LobeChat 的`设置`界面
40+
-`语言模型`下找到 `360` 的设置项
41+
42+
<Image
43+
alt={'填入 API 密钥'}
44+
inStep
45+
src={'https://github.com/user-attachments/assets/a53deb11-2c14-441a-8a5c-a0f3a74e2a63'}
46+
/>
47+
48+
- 填入获得的 API 密钥
49+
- 为你的 AI 助手选择一个360智脑的模型即可开始对话
50+
51+
<Image
52+
alt={'选择360模型并开始对话'}
53+
inStep
54+
src={'https://github.com/user-attachments/assets/452d0b48-5ff7-4f42-a46e-68a62b87632b'}
55+
/>
56+
57+
<Callout type={'warning'}>
58+
在使用过程中你可能需要向 API 服务提供商付费,请参考360智脑的相关费用政策。
59+
</Callout>
60+
61+
</Steps>
62+
63+
至此你已经可以在 LobeChat 中使用360智脑提供的模型进行对话了。

‎docs/usage/providers/fireworksai.mdx

+75
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
title: Using Fireworks AI in LobeChat
3+
description: Learn how to integrate and utilize Fireworks AI's language model APIs in LobeChat.
4+
tags:
5+
- LobeChat
6+
- Fireworks AI
7+
- API Key
8+
- Web UI
9+
---
10+
# Using Fireworks AI in LobeChat
11+
12+
<Image
13+
cover
14+
src={
15+
'https://github.com/user-attachments/assets/facdc83c-e789-4649-8060-7f7a10a1b1dd'
16+
}
17+
/>
18+
19+
[Fireworks.ai](https://fireworks.ai/) is a high-performance generative AI model inference platform that allows users to access and utilize various models through its API. The platform supports multiple modalities, including text and visual language models, and offers features like function calls and JSON schemas to enhance the flexibility of application development.
20+
21+
This article will guide you on how to use Fireworks AI in LobeChat.
22+
23+
<Steps>
24+
### Step 1: Obtain an API Key for Fireworks AI
25+
26+
- Log in to the [Fireworks.ai Console](https://fireworks.ai/account/api-keys)
27+
- Navigate to the `User` page and click on `API Keys`
28+
- Create a new API key
29+
30+
<Image
31+
alt={'Create API Key'}
32+
inStep
33+
src={'https://github.com/user-attachments/assets/eb027093-5ceb-4a9d-8850-b791fbf69a71'}
34+
/>
35+
36+
- Copy and securely save the generated API key
37+
38+
<Image
39+
alt={'Save API Key'}
40+
inStep
41+
src={'https://github.com/user-attachments/assets/28590f7f-bfee-4215-b50b-8feddbf72366'}
42+
/>
43+
44+
<Callout type={'warning'}>
45+
Please store the key securely, as it will appear only once. If you accidentally lose it, you will need to create a new key.
46+
</Callout>
47+
48+
### Step 2: Configure Fireworks AI in LobeChat
49+
50+
- Access the `Settings` interface in LobeChat
51+
- Under `Language Model`, locate the settings for `Fireworks AI`
52+
53+
<Image
54+
alt={'Enter API Key'}
55+
inStep
56+
src={'https://github.com/user-attachments/assets/12c1957d-f050-4235-95da-d55ddedfa6c9'}
57+
/>
58+
59+
- Enter the obtained API key
60+
- Select a Fireworks AI model for your AI assistant to start a conversation
61+
62+
<Image
63+
alt={'Select Fireworks AI Model and Start Conversation'}
64+
inStep
65+
src={'https://github.com/user-attachments/assets/378df8df-8ec4-436e-8451-fbc52705faee'}
66+
/>
67+
68+
<Callout type={'warning'}>
69+
Please note that you may need to pay fees to the API service provider during use; refer to Fireworks AI's pricing policy for details.
70+
</Callout>
71+
72+
</Steps>
73+
74+
You are now ready to use the models provided by Fireworks AI for conversations in LobeChat.
75+
+75
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
title: 在 LobeChat 中使用 Fireworks AI
3+
description: 学习如何在 LobeChat 中配置和使用 Fireworks AI 的API Key,以便开始对话和交互。
4+
tags:
5+
- LobeChat
6+
- Fireworks AI
7+
- API密钥
8+
- Web UI
9+
---
10+
11+
# 在 LobeChat 中使用 Fireworks AI
12+
13+
<Image
14+
cover
15+
src={
16+
'https://github.com/user-attachments/assets/facdc83c-e789-4649-8060-7f7a10a1b1dd'
17+
}
18+
/>
19+
20+
[Fireworks.ai](https://fireworks.ai/) 是一个高性能的生成式 AI 模型推理平台,允许用户通过其 API 访问和使用各种模型。该平台支持多种模态,包括文本和视觉语言模型,并提供函数调用和 JSON 模式等功能,以增强应用开发的灵活性。
21+
22+
本文将指导你如何在 LobeChat 中使用 Fireworks AI。
23+
24+
<Steps>
25+
### 步骤一:获得 Fireworks AI 的 API Key
26+
27+
- 登录 [Fireworks.ai 控制台](https://fireworks.ai/account/api-keys)
28+
- 进入 `User` 页面,点击 `API Keys`
29+
- 创建一个新的 API 密钥
30+
31+
<Image
32+
alt={'创建 API 密钥'}
33+
inStep
34+
src={'https://github.com/user-attachments/assets/eb027093-5ceb-4a9d-8850-b791fbf69a71'}
35+
/>
36+
37+
- 复制并保存生成的 API 密钥
38+
39+
<Image
40+
alt={'保存 API 密钥'}
41+
inStep
42+
src={'https://github.com/user-attachments/assets/28590f7f-bfee-4215-b50b-8feddbf72366'}
43+
/>
44+
45+
<Callout type={'warning'}>
46+
请安全地存储密钥,因为它只会出现一次。如果您意外丢失它,您将需要创建一个新密钥。
47+
</Callout>
48+
49+
### 步骤二:在 LobeChat 中配置 Fireworks AI
50+
51+
- 访问 LobeChat 的`设置`界面
52+
-`语言模型`下找到 `Fireworks AI` 的设置项
53+
54+
<Image
55+
alt={'填入 API 密钥'}
56+
inStep
57+
src={'https://github.com/user-attachments/assets/12c1957d-f050-4235-95da-d55ddedfa6c9'}
58+
/>
59+
60+
- 填入获得的 API 密钥
61+
- 为你的 AI 助手选择一个 Fireworks AI 的模型即可开始对话
62+
63+
<Image
64+
alt={'选择 Fireworks AI 模型并开始对话'}
65+
inStep
66+
src={'https://github.com/user-attachments/assets/378df8df-8ec4-436e-8451-fbc52705faee'}
67+
/>
68+
69+
<Callout type={'warning'}>
70+
在使用过程中你可能需要向 API 服务提供商付费,请参考 Fireworks AI 的相关费用政策。
71+
</Callout>
72+
73+
</Steps>
74+
75+
至此你已经可以在 LobeChat 中使用 Fireworks AI 提供的模型进行对话了。

‎docs/usage/providers/github.mdx

+92
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
---
2+
title: Using GitHub Models in LobeChat
3+
description: Learn how to integrate and utilize GitHub Models in LobeChat.
4+
tags:
5+
- LobeChat
6+
- GitHub
7+
- GitHub Models
8+
- API Key
9+
- Web UI
10+
---
11+
# Using GitHub Models in LobeChat
12+
13+
<Image
14+
cover
15+
src={
16+
'https://github.com/user-attachments/assets/3050839a-cb16-485d-8bae-1bc2f9ade632'
17+
}
18+
/>
19+
20+
[GitHub Models](https://github.com/marketplace/models) is a new feature recently launched by GitHub, designed to provide developers with a free platform to access and experiment with various AI models. GitHub Models offers an interactive sandbox environment where users can test different model parameters and prompts, and observe the responses of the models. The platform supports advanced language models, including OpenAI's GPT-4o, Meta's Llama 3.1, and Mistral's Large 2, covering a wide range of applications from large-scale language models to task-specific models.
21+
22+
This article will guide you on how to use GitHub Models in LobeChat.
23+
24+
## Rate Limits for GitHub Models
25+
26+
Currently, the usage of the Playground and free API is subject to limits on the number of requests per minute, the number of requests per day, the number of tokens per request, and the number of concurrent requests. If you hit the rate limit, you will need to wait for the limit to reset before making further requests. The rate limits vary for different models (low, high, and embedding models). For model type information, please refer to the GitHub Marketplace.
27+
28+
<Image
29+
alt={'GitHub Models Rate Limits'}
30+
inStep
31+
src={'https://github.com/user-attachments/assets/21c52e2a-b2f8-4de8-a5d4-cf3444608db7'}
32+
/>
33+
34+
<Callout type="note">
35+
These limits are subject to change at any time. For specific information, please refer to the [GitHub Official Documentation](https://docs.github.com/en/github-models/prototyping-with-ai-models#rate-limits).
36+
</Callout>
37+
38+
---
39+
40+
## Configuration Guide for GitHub Models
41+
42+
<Steps>
43+
### Step 1: Obtain a GitHub Access Token
44+
45+
- Log in to GitHub and open the [Access Tokens](https://github.com/settings/tokens) page.
46+
- Create and configure a new access token.
47+
48+
<Image
49+
alt={'Creating Access Token'}
50+
inStep
51+
src={'https://github.com/user-attachments/assets/8570db14-dac6-4279-ab71-04a072c15490'}
52+
/>
53+
54+
- Copy and save the generated token from the results returned.
55+
56+
<Image
57+
alt={'Saving Access Token'}
58+
inStep
59+
src={'https://github.com/user-attachments/assets/3c1a492d-a3d4-4570-9e74-785c2942ca41'}
60+
/>
61+
62+
<Callout type={"warning"}>
63+
64+
- During the testing phase of GitHub Models, users must apply to join the [waitlist](https://github.com/marketplace/models/waitlist/join) in order to gain access.
65+
66+
- Please store the access token securely, as it will only be displayed once. If you accidentally lose it, you will need to create a new token.
67+
</Callout>
68+
69+
### Step 2: Configure GitHub Models in LobeChat
70+
71+
- Navigate to the `Settings` interface in LobeChat.
72+
- Under `Language Models`, find the GitHub settings.
73+
74+
<Image
75+
alt={'Entering Access Token'}
76+
inStep
77+
src={'https://github.com/user-attachments/assets/a00f06cc-da7c-41e8-a4d5-d4b675a22673'}
78+
/>
79+
80+
- Enter the access token you obtained.
81+
- Select a GitHub model for your AI assistant to start the conversation.
82+
83+
<Image
84+
alt={'Selecting GitHub Model and Starting Conversation'}
85+
inStep
86+
src={'https://github.com/user-attachments/assets/aead3c6c-891e-47c3-9f34-bdc33875e0c2'}
87+
/>
88+
89+
</Steps>
90+
91+
You are now ready to use the models provided by GitHub for conversations within LobeChat.
92+

‎docs/usage/providers/github.zh-CN.mdx

+91
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
---
2+
title: 在 LobeChat 中使用 GitHub Models
3+
description: 学习如何在 LobeChat 中配置和使用 GitHub 的 API Key,以便开始对话和交互。
4+
tags:
5+
- LobeChat
6+
- GitHub
7+
- GitHub Models
8+
- API密钥
9+
- Web UI
10+
---
11+
12+
# 在 LobeChat 中使用 GitHub Models
13+
14+
<Image
15+
cover
16+
src={
17+
'https://github.com/user-attachments/assets/3050839a-cb16-485d-8bae-1bc2f9ade632'
18+
}
19+
/>
20+
21+
[GitHub Models](https://github.com/marketplace/models) 是 GitHub 最近推出的一项新功能,旨在为开发者提供一个免费的平台来访问和实验多种 AI 模型。GitHub Models 提供了一个互动沙盒环境,用户可以在此测试不同的模型参数和提示语,观察模型的响应。该平台支持多种先进的语言模型,包括 OpenAI 的 GPT-4o、Meta 的 Llama 3.1 和 Mistral 的 Large 2 等,覆盖了从大规模语言模型到特定任务模型的广泛应用。
22+
23+
本文将指导你如何在 LobeChat 中使用 GitHub Models。
24+
25+
## GitHub Models 速率限制
26+
27+
当前 Playground 和免费 API 的使用受到每分钟请求数、每日请求数、每个请求的令牌数以及并发请求数的限制。若达到速率限制,则需等待限制重置后方可继续发出请求。不同模型(低、高及嵌入模型)的速率限制有所不同。 模型类型信息请参阅 GitHub Marketplace。
28+
29+
<Image
30+
alt={'GitHub Models 速率限制'}
31+
inStep
32+
src={'https://github.com/user-attachments/assets/21c52e2a-b2f8-4de8-a5d4-cf3444608db7'}
33+
/>
34+
35+
<Callout type="note">
36+
这些限制可能随时更改,具体信息请参考 [GitHub 官方文档](https://docs.github.com/en/github-models/prototyping-with-ai-models#rate-limits)
37+
</Callout>
38+
39+
---
40+
41+
## GitHub Models 配置指南
42+
43+
<Steps>
44+
### 步骤一:获得 GitHub 的访问令牌
45+
46+
- 登录 GitHub 并打开 [访问令牌](https://github.com/settings/tokens) 页面
47+
- 创建并设置一个新的访问令牌
48+
49+
<Image
50+
alt={'创建访问令牌'}
51+
inStep
52+
src={'https://github.com/user-attachments/assets/8570db14-dac6-4279-ab71-04a072c15490'}
53+
/>
54+
55+
- 在返回的结果中复制并保存生成的令牌
56+
57+
<Image
58+
alt={'保存访问令牌'}
59+
inStep
60+
src={'https://github.com/user-attachments/assets/3c1a492d-a3d4-4570-9e74-785c2942ca41'}
61+
/>
62+
63+
<Callout type={"warning"}>
64+
- GitHub Models 测试期间,要使用 GitHub Models,用户需要申请加入[等待名单(waitlist)](https://github.com/marketplace/models/waitlist/join) 通过后才能获得访问权限。
65+
66+
- 请安全地存储访问令牌,因为它只会出现一次。如果您意外丢失它,您将需要创建一个新令牌。
67+
</Callout>
68+
69+
### 步骤二:在 LobeChat 中配置 GitHub Models
70+
71+
- 访问 LobeChat 的`设置`界面
72+
-`语言模型`下找到 `GitHub` 的设置项
73+
74+
<Image
75+
alt={'填入访问令牌'}
76+
inStep
77+
src={'https://github.com/user-attachments/assets/a00f06cc-da7c-41e8-a4d5-d4b675a22673'}
78+
/>
79+
80+
- 填入获得的访问令牌
81+
- 为你的 AI 助手选择一个 GitHub 的模型即可开始对话
82+
83+
<Image
84+
alt={'选择 GitHub 模型并开始对话'}
85+
inStep
86+
src={'https://github.com/user-attachments/assets/aead3c6c-891e-47c3-9f34-bdc33875e0c2'}
87+
/>
88+
89+
</Steps>
90+
91+
至此你已经可以在 LobeChat 中使用 GitHub 提供的模型进行对话了。

‎docs/usage/providers/hunyuan.mdx

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
title: Using Tencent Hunyuan in LobeChat
3+
description: Learn how to integrate and utilize Tencent Hunyuan's language model APIs in LobeChat.
4+
tags:
5+
- LobeChat
6+
- Tencent Hunyuan
7+
- API Key
8+
- Web UI
9+
---
10+
# Using Tencent Hunyuan in LobeChat
11+
12+
<Image
13+
cover
14+
src={
15+
'https://github.com/user-attachments/assets/467bb431-ca0d-4bb4-ac17-e5e2b764a770'
16+
}
17+
/>
18+
19+
[Tencent Hunyuan](https://hunyuan.tencent.com/) is a large model launched by Tencent, designed to provide users with intelligent assistant services. It utilizes natural language processing technology to help users solve problems, offer suggestions, and generate content. By conversing with the model, users can quickly access the information they need, thereby enhancing work efficiency.
20+
21+
This article will guide you on how to use Tencent Hunyuan in LobeChat.
22+
23+
<Steps>
24+
### Step 1: Obtain the Tencent Hunyuan API Key
25+
26+
- Register and log in to the [Tencent Cloud Console](https://console.cloud.tencent.com/hunyuan/api-key)
27+
- Navigate to `Hunyuan Large Model` and click on `API KEY Management`
28+
- Create an API key
29+
30+
<Image
31+
alt={'Create API Key'}
32+
inStep
33+
src={'https://github.com/user-attachments/assets/5f344314-ecbc-41e6-9120-520a2d5352ff'}
34+
/>
35+
36+
- Click `View`, and copy the API key from the pop-up panel, ensuring you save it securely
37+
38+
<Image
39+
alt={'Save Key'}
40+
inStep
41+
src={'https://github.com/user-attachments/assets/659b5ac1-82f1-43bd-9d4b-a98491e05794'}
42+
/>
43+
44+
### Step 2: Configure Tencent Hunyuan in LobeChat
45+
46+
- Go to the `Settings` page in LobeChat
47+
- Find the `Tencent Hunyuan` settings under `Language Models`
48+
49+
<Image
50+
alt={'Enter API Key'}
51+
inStep
52+
src={'https://github.com/user-attachments/assets/796c94af-9bad-4e3c-b1c7-dbb17c215c56'}
53+
/>
54+
55+
- Enter the API key you obtained
56+
- Select a Tencent Hunyuan model for your AI assistant to start the conversation
57+
58+
<Image
59+
alt={'Select Tencent Hunyuan Model and Start Conversation'}
60+
inStep
61+
src={'https://github.com/user-attachments/assets/e3f44bc8-2fa5-441d-8934-943481472450'}
62+
/>
63+
64+
<Callout type={'warning'}>
65+
During usage, you may need to pay the API service provider, please refer to Tencent Hunyuan's relevant pricing policy.
66+
</Callout>
67+
68+
</Steps>
69+
70+
You can now engage in conversations using the models provided by Tencent Hunyuan in LobeChat.
71+
+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
title: 在 LobeChat 中使用腾讯混元
3+
description: 学习如何在 LobeChat 中配置和使用腾讯混元的API Key,以便开始对话和交互。
4+
tags:
5+
- LobeChat
6+
- 腾讯混元
7+
- API密钥
8+
- Web UI
9+
---
10+
11+
# 在 LobeChat 中使用腾讯混元
12+
13+
<Image
14+
cover
15+
src={
16+
'https://github.com/user-attachments/assets/467bb431-ca0d-4bb4-ac17-e5e2b764a770'
17+
}
18+
/>
19+
20+
[腾讯混元](https://hunyuan.tencent.com/)是由腾讯推出的一款大模型,旨在为用户提供智能助手服务。它能够通过自然语言处理技术,帮助用户解决问题、提供建议以及进行内容生成等任务。用户可以通过与模型的对话,快速获取所需信息,从而提高工作效率。
21+
22+
本文将指导你如何在 LobeChat 中使用腾讯混元。
23+
24+
<Steps>
25+
### 步骤一:获得腾讯混元的 API Key
26+
27+
- 注册并登录 [腾讯云控制台](https://console.cloud.tencent.com/hunyuan/api-key)
28+
- 进入 `混元大模型` 并点击 `API KEY 管理`
29+
- 创建一个 API 密钥
30+
31+
<Image
32+
alt={'创建 API 密钥'}
33+
inStep
34+
src={'https://github.com/user-attachments/assets/5f344314-ecbc-41e6-9120-520a2d5352ff'}
35+
/>
36+
37+
- 点击`查看`,在弹出面板中复制 API 密钥,并妥善保存
38+
39+
<Image
40+
alt={'保存密钥'}
41+
inStep
42+
src={'https://github.com/user-attachments/assets/659b5ac1-82f1-43bd-9d4b-a98491e05794'}
43+
/>
44+
45+
### 步骤二:在 LobeChat 中配置腾讯混元
46+
47+
- 访问 LobeChat 的`设置`界面
48+
-`语言模型`下找到 `腾讯混元` 的设置项
49+
50+
<Image
51+
alt={'填入 API 密钥'}
52+
inStep
53+
src={'https://github.com/user-attachments/assets/796c94af-9bad-4e3c-b1c7-dbb17c215c56'}
54+
/>
55+
56+
- 填入获得的 API 密钥
57+
- 为你的 AI 助手选择一个腾讯混元的模型即可开始对话
58+
59+
<Image
60+
alt={'选择腾讯混元模型并开始对话'}
61+
inStep
62+
src={'https://github.com/user-attachments/assets/e3f44bc8-2fa5-441d-8934-943481472450'}
63+
/>
64+
65+
<Callout type={'warning'}>
66+
在使用过程中你可能需要向 API 服务提供商付费,请参考腾讯混元的相关费用政策。
67+
</Callout>
68+
69+
</Steps>
70+
71+
至此你已经可以在 LobeChat 中使用腾讯混元提供的模型进行对话了。

‎docs/usage/providers/siliconcloud.mdx

+37-21
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,63 @@
11
---
2-
title: Using SiliconCloud API Key in LobeChat
3-
description: >-
4-
Learn how to configure and use SiliconCloud's large language models in
5-
LobeChat, get your API key, and start chatting.
2+
title: Using SiliconCloud in LobeChat
3+
description: Learn how to integrate and utilize SiliconCloud's language model APIs in LobeChat.
64
tags:
75
- LobeChat
86
- SiliconCloud
97
- API Key
108
- Web UI
119
---
12-
1310
# Using SiliconCloud in LobeChat
1411

15-
[SiliconCloud](https://siliconflow.cn/zh-cn/siliconcloud) is a cost-effective large model service provider, offering various services such as text generation and image generation.
16-
17-
This document will guide you on how to use SiliconCloud in LobeChat:
18-
19-
<Steps>
12+
<Image
13+
cover
14+
src={
15+
'https://github.com/user-attachments/assets/9a78bbb9-7c96-4f32-9b66-e57f92660410'
16+
}
17+
/>
2018

21-
### Step 1: Get your SiliconCloud API Key
19+
[SiliconCloud](https://siliconflow.cn/) is an AI service platform based on open-source foundational models, offering a variety of generative AI (GenAI) services.
2220

23-
- First, you need to register and log in to [SiliconCloud](https://cloud.siliconflow.cn/auth/login)
21+
This article will guide you on how to use SiliconCloud in LobeChat.
2422

25-
<Callout type={'info'}>Currently, new users can get 14 yuan free credit upon registration</Callout>
23+
<Steps>
24+
### Step 1: Obtain the API Key from SiliconCloud
2625

27-
- Go to the `API Key` menu and click `Create New API Key`
26+
- Sign up and log in to [SiliconCloud](https://cloud.siliconflow.cn/account/ak)
27+
- Click on the `API Keys` menu on the left side
28+
- Create an API Key and copy it
2829

29-
- Click copy API key and keep it safe
30+
<Image
31+
alt={'Create API Key'}
32+
inStep
33+
src={'https://github.com/user-attachments/assets/872756dc-305e-4e63-9fb7-60550280fc12'}
34+
/>
3035

3136
### Step 2: Configure SiliconCloud in LobeChat
3237

33-
- Visit the `App Settings` interface of LobeChat
38+
- Go to the `Settings` page in LobeChat
39+
- Under `Language Model`, find the setting for `SiliconFlow`
3440

35-
- Under `Language Model`, find the `SiliconCloud` settings
41+
<Image
42+
alt={'Enter API Key'}
43+
inStep
44+
src={'https://github.com/user-attachments/assets/4c792f62-5203-4f13-8f23-df228f70d67f'}
45+
/>
3646

37-
- Enable SiliconCloud and enter the obtained API key
47+
- Enter the API Key you obtained
48+
- Choose a SiliconCloud model for your AI assistant to start the conversation
3849

39-
- Choose a SiliconCloud model for your assistant and start chatting
50+
<Image
51+
alt={'Select SiliconCloud Model and Start Conversation'}
52+
inStep
53+
src={'https://github.com/user-attachments/assets/f4dbbadb-7461-4370-a836-09c487fdd206'}
54+
/>
4055

4156
<Callout type={'warning'}>
42-
You may need to pay the API service provider during use. Please refer to SiliconCloud's relevant fee policy.
57+
During usage, you may need to pay the API service provider, so please refer to SiliconCloud's relevant pricing policy.
4358
</Callout>
4459

4560
</Steps>
4661

47-
Now you can use the models provided by SiliconCloud for conversation in LobeChat.
62+
At this point, you can start chatting using the models provided by SiliconCloud in LobeChat.
63+

‎docs/usage/providers/siliconcloud.zh-CN.mdx

+36-18
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,58 @@
11
---
2-
title: 在 LobeChat 中使用 SiliconCloud API Key
3-
description: 学习如何在 LobeChat 中配置和使用 SiliconCloud 提供的大语言模型,获取 API 密钥并开始对话
2+
title: 在 LobeChat 中使用 SiliconCloud
3+
description: 学习如何在 LobeChat 中配置和使用 SiliconCloud 的API Key,以便开始对话和交互
44
tags:
55
- LobeChat
66
- SiliconCloud
77
- API密钥
88
- Web UI
99
---
1010

11-
# 在 LobeChat 中使用 SiliconCloud
11+
# 在 LobeChat 中使用 SiliconCloud
1212

13-
[SiliconCloud](https://siliconflow.cn/zh-cn/siliconcloud) 是高性价比的大模型服务提供商,提供文本生成与图片生成等多种服务。
13+
<Image
14+
cover
15+
src={
16+
'https://github.com/user-attachments/assets/9a78bbb9-7c96-4f32-9b66-e57f92660410'
17+
}
18+
/>
1419

15-
本文档将指导你如何在 LobeChat 中使用 SiliconCloud:
20+
[SiliconCloud](https://siliconflow.cn/) 是一个基于开源基础模型的人工智能服务平台,提供多种生成式AI(GenAI)服务。
1621

17-
<Steps>
18-
19-
### 步骤一:获取 SiliconCloud API 密钥
22+
本文将指导你如何在 LobeChat 中使用 SiliconCloud。
2023

21-
- 首先,你需要注册并登录 [SiliconCloud](https://cloud.siliconflow.cn/auth/login)
22-
23-
<Callout type={'info'}>当前新用户注册可获赠 14 元免费额度</Callout>
24+
<Steps>
25+
### 步骤一:获得 SiliconCloud 的 API Key
2426

25-
- 进入 `API密钥` 菜单,并点击 `创建新API密钥`
27+
- 注册并登录 [SiliconCloud](https://cloud.siliconflow.cn/account/ak)
28+
- 点击左侧 `API 密钥` 菜单
29+
- 创建一个 API 密钥并复制
2630

27-
- 点击复制 API 密钥并妥善保存
31+
<Image
32+
alt={'创建API密钥'}
33+
inStep
34+
src={'https://github.com/user-attachments/assets/872756dc-305e-4e63-9fb7-60550280fc12'}
35+
/>
2836

29-
### 步骤二:在 LobeChat 中配置 SiliconCloud
37+
### 步骤二:在 LobeChat 中配置 SiliconCloud
3038

31-
- 访问 LobeChat 的 `应用设置` 界面
39+
- 访问 LobeChat 的`设置`界面
40+
-`语言模型`下找到 `SiliconFlow` 的设置项
3241

33-
-`语言模型` 下找到 `SiliconCloud` 的设置项
42+
<Image
43+
alt={'填入 API 密钥'}
44+
inStep
45+
src={'https://github.com/user-attachments/assets/4c792f62-5203-4f13-8f23-df228f70d67f'}
46+
/>
3447

35-
- 打开 SiliconCloud 并填入获取的 API 密钥
48+
- 填入获得的 API 密钥
49+
- 为你的 AI 助手选择一个 SiliconCloud 的模型即可开始对话
3650

37-
- 为你的助手选择一个 SiliconCloud 模型即可开始对话
51+
<Image
52+
alt={'选择 SiliconCloud 模型并开始对话'}
53+
inStep
54+
src={'https://github.com/user-attachments/assets/f4dbbadb-7461-4370-a836-09c487fdd206'}
55+
/>
3856

3957
<Callout type={'warning'}>
4058
在使用过程中你可能需要向 API 服务提供商付费,请参考 SiliconCloud 的相关费用政策。

‎docs/usage/providers/spark.mdx

+72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
title: Using iFLYTEK Spark in LobeChat
3+
description: Learn how to integrate and utilize iFLYTEK's Spark model APIs in LobeChat.
4+
tags:
5+
- LobeChat
6+
- iFLYTEK
7+
- Spark
8+
- API Key
9+
- Web UI
10+
---
11+
# Using iFLYTEK Spark in LobeChat
12+
13+
<Image
14+
cover
15+
src={
16+
'https://github.com/user-attachments/assets/f3068287-8ade-4eca-9841-ea67d8ff1226'
17+
}
18+
/>
19+
20+
[iFLYTEK Spark](https://xinghuo.xfyun.cn/) is a powerful AI model launched by iFLYTEK, equipped with cross-domain knowledge and language understanding capabilities, able to perform various tasks such as Q&A, conversations, and literary creation.
21+
22+
This guide will instruct you on how to use iFLYTEK Spark in LobeChat.
23+
24+
<Steps>
25+
### Step 1: Obtain the iFLYTEK Spark API Key
26+
27+
- Register and log in to the [iFLYTEK Open Platform](https://console.xfyun.cn/)
28+
- Create an application
29+
30+
<Image
31+
alt={'Create Application'}
32+
inStep
33+
src={'https://github.com/user-attachments/assets/1bf1a5f0-32ad-418c-a8d1-6c54740f50b9'}
34+
/>
35+
36+
- Select a large model to view details
37+
- Copy the `API Password` from the top right corner under the HTTP service interface authentication information
38+
39+
<Image
40+
alt={'Copy API Key'}
41+
inStep
42+
src={'https://github.com/user-attachments/assets/7239d611-1989-414b-a51c-444e47096d75'}
43+
/>
44+
45+
### Step 2: Configure iFLYTEK Spark in LobeChat
46+
47+
- Access the `Settings` menu in LobeChat
48+
- Find the iFLYTEK Spark settings under `Language Model`
49+
50+
<Image
51+
alt={'Enter API Key'}
52+
inStep
53+
src={'https://github.com/user-attachments/assets/d693be02-e08c-43ae-8bde-1294f180aaf6'}
54+
/>
55+
56+
- Input the obtained API Key
57+
- Choose an iFLYTEK Spark model for your AI assistant to start the conversation
58+
59+
<Image
60+
alt={'Select iFLYTEK Spark Model and Start Conversation'}
61+
inStep
62+
src={'https://github.com/user-attachments/assets/8910186f-4609-4798-a588-2780dcf8db60'}
63+
/>
64+
65+
<Callout type={'warning'}>
66+
During usage, you may need to pay the API service provider, please refer to the relevant pricing policy of iFLYTEK Spark.
67+
</Callout>
68+
69+
</Steps>
70+
71+
Now you can use the models provided by iFLYTEK Spark for conversations in LobeChat.
72+

‎docs/usage/providers/spark.zh-CN.mdx

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
title: 在 LobeChat 中使用讯飞星火
3+
description: 学习如何在 LobeChat 中配置和使用讯飞星火的API Key,以便开始对话和交互。
4+
tags:
5+
- LobeChat
6+
- 讯飞星火
7+
- API密钥
8+
- Web UI
9+
---
10+
11+
# 在 LobeChat 中使用讯飞星火
12+
13+
<Image
14+
cover
15+
src={
16+
'https://github.com/user-attachments/assets/f3068287-8ade-4eca-9841-ea67d8ff1226'
17+
}
18+
/>
19+
20+
[讯飞星火](https://xinghuo.xfyun.cn/)是科大讯飞推出的一款强大的AI大模型,具备跨领域的知识和语言理解能力,能够执行问答、对话和文学创作等多种任务。
21+
22+
本文将指导你如何在 LobeChat 中使用讯飞星火。
23+
24+
<Steps>
25+
### 步骤一:获得讯飞星火的 API Key
26+
27+
- 注册并登录 [讯飞开放平台](https://console.xfyun.cn/)
28+
- 创建一个应用
29+
30+
<Image
31+
alt={'创建应用'}
32+
inStep
33+
src={'https://github.com/user-attachments/assets/1bf1a5f0-32ad-418c-a8d1-6c54740f50b9'}
34+
/>
35+
36+
- 选择一个大模型查看详情
37+
- 复制右上角 http 服务接口认证信息中的 `API Password`
38+
39+
<Image
40+
alt={'复制 API 密钥'}
41+
inStep
42+
src={'https://github.com/user-attachments/assets/7239d611-1989-414b-a51c-444e47096d75'}
43+
/>
44+
45+
### 步骤二:在 LobeChat 中配置讯飞星火
46+
47+
- 访问 LobeChat 的`设置`界面
48+
-`语言模型`下找到 `讯飞星火` 的设置项
49+
50+
<Image
51+
alt={'填入 API 密钥'}
52+
inStep
53+
src={'https://github.com/user-attachments/assets/d693be02-e08c-43ae-8bde-1294f180aaf6'}
54+
/>
55+
56+
- 填入获得的 API 密钥
57+
- 为你的 AI 助手选择一个讯飞星火的模型即可开始对话
58+
59+
<Image
60+
alt={'选择讯飞星火模型并开始对话'}
61+
inStep
62+
src={'https://github.com/user-attachments/assets/8910186f-4609-4798-a588-2780dcf8db60'}
63+
/>
64+
65+
<Callout type={'warning'}>
66+
在使用过程中你可能需要向 API 服务提供商付费,请参考讯飞星火的相关费用政策。
67+
</Callout>
68+
69+
</Steps>
70+
71+
至此你已经可以在 LobeChat 中使用讯飞星火提供的模型进行对话了。

‎docs/usage/providers/upstage.mdx

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
title: Using Upstage in LobeChat
3+
description: Learn how to integrate and utilize Upstage's language model APIs in LobeChat.
4+
tags:
5+
- LobeChat
6+
- Upstage
7+
- API Key
8+
- Web UI
9+
---
10+
# Using Upstage in LobeChat
11+
12+
<Image
13+
cover
14+
src={
15+
'https://github.com/user-attachments/assets/14696698-03f7-4856-b36c-9a53997eb12c'
16+
}
17+
/>
18+
19+
[Upstage](https://www.upstage.ai/) is a platform that offers AI models and services, focusing on applications in natural language processing and machine learning. It allows developers to access its powerful AI capabilities through APIs, supporting various tasks such as text generation and conversational systems.
20+
21+
This article will guide you on how to use Upstage in LobeChat.
22+
23+
<Steps>
24+
### Step 1: Obtain an Upstage API Key
25+
26+
- Register and log in to the [Upstage Console](https://console.upstage.ai/home)
27+
- Navigate to the `API Keys` page
28+
- Create a new API key
29+
- Copy and save the generated API key
30+
31+
<Image
32+
alt={'Save the API Key'}
33+
inStep
34+
src={'https://github.com/user-attachments/assets/8a0225e0-16ed-40ce-9cd5-553dda561679'}
35+
/>
36+
37+
### Step 2: Configure Upstage in LobeChat
38+
39+
- Access the `Settings` interface in LobeChat
40+
- Locate the `Upstage` settings under `Language Models`
41+
42+
<Image
43+
alt={'Enter API Key'}
44+
inStep
45+
src={'https://github.com/user-attachments/assets/e89d2a56-4bf0-4bff-ac39-0d44789fa858'}
46+
/>
47+
48+
- Enter the obtained API key
49+
- Select an Upstage model for your AI assistant to start the conversation
50+
51+
<Image
52+
alt={'Select Upstage Model and Start Conversation'}
53+
inStep
54+
src={'https://github.com/user-attachments/assets/88e14294-20a6-47c6-981e-fb65453b57cd'}
55+
/>
56+
57+
<Callout type={'warning'}>
58+
Please note that you may need to pay the API service provider for usage. Refer to Upstage's pricing policy for more information.
59+
</Callout>
60+
61+
</Steps>
62+
63+
You can now use the models provided by Upstage for conversations in LobeChat.
64+
+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
title: 在 LobeChat 中使用 Upstage
3+
description: 学习如何在 LobeChat 中配置和使用 Upstage 的API Key,以便开始对话和交互。
4+
tags:
5+
- LobeChat
6+
- Upstage
7+
- API密钥
8+
- Web UI
9+
---
10+
11+
# 在 LobeChat 中使用 Upstage
12+
13+
<Image
14+
cover
15+
src={
16+
'https://github.com/user-attachments/assets/14696698-03f7-4856-b36c-9a53997eb12c'
17+
}
18+
/>
19+
20+
[Upstage](https://www.upstage.ai/) 是一个提供 AI 模型和服务的平台,专注于自然语言处理和机器学习应用。它允许开发者通过 API 接入其强大的 AI 功能,支持多种任务,如文本生成、对话系统等。
21+
22+
本文将指导你如何在 LobeChat 中使用 Upstage。
23+
24+
<Steps>
25+
### 步骤一:获得 Upstage 的 API Key
26+
27+
- 注册并登录 [Upstage 控制台](https://console.upstage.ai/home)
28+
- 进入 `API Keys` 页面
29+
- 创建一个新的 API 密钥
30+
- 复制并保存生成的 API 密钥
31+
32+
<Image
33+
alt={'保存 API 密钥'}
34+
inStep
35+
src={'https://github.com/user-attachments/assets/8a0225e0-16ed-40ce-9cd5-553dda561679'}
36+
/>
37+
38+
### 步骤二:在 LobeChat 中配置 Upstage
39+
40+
- 访问 LobeChat 的`设置`界面
41+
-`语言模型`下找到 `Upstage` 的设置项
42+
43+
<Image
44+
alt={'填入 API 密钥'}
45+
inStep
46+
src={'https://github.com/user-attachments/assets/e89d2a56-4bf0-4bff-ac39-0d44789fa858'}
47+
/>
48+
49+
- 填入获得的 API 密钥
50+
- 为你的 AI 助手选择一个 Upstage 的模型即可开始对话
51+
52+
<Image
53+
alt={'选择 Upstage 模型并开始对话'}
54+
inStep
55+
src={'https://github.com/user-attachments/assets/88e14294-20a6-47c6-981e-fb65453b57cd'}
56+
/>
57+
58+
<Callout type={'warning'}>
59+
在使用过程中你可能需要向 API 服务提供商付费,请参考 Upstage 的相关费用政策。
60+
</Callout>
61+
62+
</Steps>
63+
64+
至此你已经可以在 LobeChat 中使用 Upstage 提供的模型进行对话了。

‎docs/usage/providers/wenxin.mdx

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
title: Using Wenxin Qianfan in LobeChat
3+
description: Learn how to integrate and utilize Wenxin Qianfan's language model APIs in LobeChat.
4+
tags:
5+
- LobeChat
6+
- 百度
7+
- 文心千帆
8+
- API密钥
9+
- Web UI
10+
---
11+
# Using Wenxin Qianfan in LobeChat
12+
13+
<Image
14+
cover
15+
src={
16+
'https://github.com/user-attachments/assets/e43dacf6-313e-499c-8888-f1065c53e424'
17+
}
18+
/>
19+
20+
[Wenxin Qianfan](https://qianfan.cloud.baidu.com/) is an artificial intelligence large language model platform launched by Baidu, supporting a variety of application scenarios, including literary creation, commercial copywriting, and mathematical logic reasoning. The platform features deep semantic understanding and generation capabilities across modalities and languages, and it is widely utilized in fields such as search Q&A, content creation, and smart office applications.
21+
22+
This article will guide you on how to use Wenxin Qianfan in LobeChat.
23+
24+
<Steps>
25+
### Step 1: Obtain the Wenxin Qianfan API Key
26+
27+
- Register and log in to the [Baidu Intelligent Cloud Console](https://console.bce.baidu.com/)
28+
- Navigate to `Baidu Intelligent Cloud Qianfan ModelBuilder`
29+
- Choose `Application Access` from the left-side menu
30+
- Create an application
31+
32+
<Image
33+
alt={'Create Application'}
34+
inStep
35+
src={'https://github.com/user-attachments/assets/927b1040-e23f-4919-92e2-80a400db8327'}
36+
/>
37+
38+
- After creating the application, obtain your `API Key` and `Secret Key`, and store them safely
39+
40+
<Image
41+
alt={'Save Keys'}
42+
inStep
43+
src={'https://github.com/user-attachments/assets/242c8134-8de0-4a02-b302-6bd8b19ced3e'}
44+
/>
45+
46+
### Step 2: Configure Wenxin Qianfan in LobeChat
47+
48+
- Go to the `Settings` interface in LobeChat
49+
- Locate the settings for `Wenxin Qianfan` under `Language Model`
50+
51+
<Image
52+
alt={'Enter API Keys'}
53+
inStep
54+
src={'https://github.com/user-attachments/assets/e3995de7-38d9-489b-80a2-434477018469'}
55+
/>
56+
57+
- Enter the obtained `API Key` and `Secret Key`
58+
- Select a Wenxin Qianfan model for your AI assistant to start interacting
59+
60+
<Image
61+
alt={'Select Wenxin Qianfan Model and Start Chat'}
62+
inStep
63+
src={'https://github.com/user-attachments/assets/b6e6a3eb-13c6-46f0-9c7c-69a20deae30f'}
64+
/>
65+
66+
<Callout type={'warning'}>
67+
During usage, you may need to pay the API service provider. Please refer to Wenxin Qianfan's relevant fee policy.
68+
</Callout>
69+
70+
</Steps>
71+
72+
You can now use the models provided by Wenxin Qianfan for conversations in LobeChat.
73+

‎docs/usage/providers/wenxin.zh-CN.mdx

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
title: 在 LobeChat 中使用文心千帆
3+
description: 学习如何在 LobeChat 中配置和使用文心千帆的API Key,以便开始对话和交互。
4+
tags:
5+
- LobeChat
6+
- 百度
7+
- 文心千帆
8+
- API密钥
9+
- Web UI
10+
---
11+
12+
# 在 LobeChat 中使用文心千帆
13+
14+
<Image
15+
cover
16+
src={
17+
'https://github.com/user-attachments/assets/e43dacf6-313e-499c-8888-f1065c53e424'
18+
}
19+
/>
20+
21+
[文心千帆](https://qianfan.cloud.baidu.com/)是百度推出的一个人工智能大语言模型平台,支持多种应用场景,包括文学创作、商业文案生成、数理逻辑推算等。该平台具备跨模态、跨语言的深度语义理解与生成能力,广泛应用于搜索问答、内容创作和智能办公等领域。
22+
23+
本文将指导你如何在 LobeChat 中使用文心千帆。
24+
25+
<Steps>
26+
### 步骤一:获得文心千帆的 API Key
27+
28+
- 注册并登录 [百度智能云控制台](https://console.bce.baidu.com/)
29+
- 进入 `百度智能云千帆 ModelBuilder`
30+
- 在左侧菜单中选择`应用接入`
31+
- 创建一个应用
32+
33+
<Image
34+
alt={'创建应用'}
35+
inStep
36+
src={'https://github.com/user-attachments/assets/927b1040-e23f-4919-92e2-80a400db8327'}
37+
/>
38+
39+
- 创建成功后获取 `API Key``Secret Key`,并妥善保存
40+
41+
<Image
42+
alt={'保存密钥'}
43+
inStep
44+
src={'https://github.com/user-attachments/assets/242c8134-8de0-4a02-b302-6bd8b19ced3e'}
45+
/>
46+
47+
### 步骤二:在 LobeChat 中配置文心千帆
48+
49+
- 访问 LobeChat 的`设置`界面
50+
-`语言模型`下找到 `文心千帆` 的设置项
51+
52+
<Image
53+
alt={'填入 API 密钥'}
54+
inStep
55+
src={'https://github.com/user-attachments/assets/e3995de7-38d9-489b-80a2-434477018469'}
56+
/>
57+
58+
- 填入获得的 `API Key``Secret Key`
59+
- 为你的 AI 助手选择一个文心千帆的模型即可开始对话
60+
61+
<Image
62+
alt={'选择文心千帆模型并开始对话'}
63+
inStep
64+
src={'https://github.com/user-attachments/assets/b6e6a3eb-13c6-46f0-9c7c-69a20deae30f'}
65+
/>
66+
67+
<Callout type={'warning'}>
68+
在使用过程中你可能需要向 API 服务提供商付费,请参考文心千帆的相关费用政策。
69+
</Callout>
70+
71+
</Steps>
72+
73+
至此你已经可以在 LobeChat 中使用文心千帆提供的模型进行对话了。
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,38 @@
11
---
2-
title: Using Zero One AI API Key in LobeChat
2+
title: Using 01 AI API Key in LobeChat
33
description: >-
4-
Learn how to integrate and use Zero One AI in LobeChat with step-by-step
5-
instructions. Obtain an API key, configure Zero One AI, and start
4+
Learn how to integrate and use 01 AI in LobeChat with step-by-step
5+
instructions. Obtain an API key, configure 01 AI, and start
66
conversations with AI models.
77
tags:
88
- 01.AI
9-
- Zero One AI
109
- Web UI
1110
- API key
1211
- AI models
1312
---
1413

15-
# Using Zero One AI in LobeChat
14+
# Using 01 AI in LobeChat
1615

1716
<Image
18-
alt={'Using Zero One AI in LobeChat'}
17+
alt={'Using 01 AI in LobeChat'}
1918
cover
2019
src={'https://github.com/lobehub/lobe-chat/assets/34400653/4485fbc3-c309-4c4e-83ee-cb82392307a1'}
2120
/>
2221

23-
[Zero One AI](https://www.01.ai/) is a global company dedicated to AI 2.0 large model technology and applications. Its billion-parameter Yi-Large closed-source model, when evaluated on Stanford University's English ranking AlpacaEval 2.0, is on par with GPT-4.
22+
[01 AI](https://www.01.ai/) is a global company dedicated to AI 2.0 large model technology and applications. Its billion-parameter Yi-Large closed-source model, when evaluated on Stanford University's English ranking AlpacaEval 2.0, is on par with GPT-4.
2423

25-
This document will guide you on how to use Zero One AI in LobeChat:
24+
This document will guide you on how to use 01 AI in LobeChat:
2625

2726
<Steps>
2827

29-
### Step 1: Obtain Zero One AI API Key
28+
### Step 1: Obtain 01 AI API Key
3029

31-
- Register and log in to the [Zero One AI Large Model Open Platform](https://platform.lingyiwanwu.com/)
30+
- Register and log in to the [01 AI Large Model Open Platform](https://platform.lingyiwanwu.com/)
3231
- Go to the `Dashboard` and access the `API Key Management` menu
3332
- A system-generated API key has been created for you automatically, or you can create a new one on this interface
3433

3534
<Image
36-
alt={'Create Zero One AI API Key'}
35+
alt={'Create 01 AI API Key'}
3736
inStep
3837
src={'https://github.com/lobehub/lobe-chat/assets/34400653/72f165f4-d529-4f01-a3ac-163c66e5ea73'}
3938
/>
@@ -55,18 +54,18 @@ This document will guide you on how to use Zero One AI in LobeChat:
5554
src={'https://github.com/lobehub/lobe-chat/assets/34400653/f892fe64-c734-4944-91ff-9916a41bd1c9'}
5655
/>
5756

58-
### Step 2: Configure Zero One AI in LobeChat
57+
### Step 2: Configure 01 AI in LobeChat
5958

6059
- Access the `Settings` interface in LobeChat
61-
- Find the setting for `Zero One AI` under `Language Model`
60+
- Find the setting for `01 AI` under `Language Model`
6261

6362
<Image
6463
alt={'Enter API Key'}
6564
inStep
6665
src={'https://github.com/lobehub/lobe-chat/assets/34400653/f539d104-6d64-4cc7-8781-3b36b00d32d0'}
6766
/>
6867

69-
- Open Zero One AI and enter the obtained API key
68+
- Open 01 AI and enter the obtained API key
7069
- Choose a 01.AI model for your AI assistant to start the conversation
7170

7271
<Image
@@ -76,10 +75,10 @@ This document will guide you on how to use Zero One AI in LobeChat:
7675
/>
7776

7877
<Callout type={'warning'}>
79-
During usage, you may need to pay the API service provider. Please refer to Zero One AI's relevant
78+
During usage, you may need to pay the API service provider. Please refer to 01 AI's relevant
8079
fee policies.
8180
</Callout>
8281

8382
</Steps>
8483

85-
You can now use the models provided by Zero One AI for conversations in LobeChat.
84+
You can now use the models provided by 01 AI for conversations in LobeChat.
File renamed without changes.

0 commit comments

Comments
 (0)
Please sign in to comment.