From eda92e20d9832ba1f5e47d805eb5ea247c991eba Mon Sep 17 00:00:00 2001 From: TC <34400653+tcmonster@users.noreply.github.com> Date: Sat, 12 Oct 2024 00:43:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20update=20docs=20for=20pr?= =?UTF-8?q?oviders=20(#4326)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/usage/providers/ai21.mdx | 63 +++++++++++++ docs/usage/providers/ai21.zh-CN.mdx | 63 +++++++++++++ docs/usage/providers/ai360.mdx | 63 +++++++++++++ docs/usage/providers/ai360.zh-CN.mdx | 63 +++++++++++++ docs/usage/providers/fireworksai.mdx | 75 +++++++++++++++ docs/usage/providers/fireworksai.zh-CN.mdx | 75 +++++++++++++++ docs/usage/providers/github.mdx | 92 +++++++++++++++++++ docs/usage/providers/github.zh-CN.mdx | 91 ++++++++++++++++++ docs/usage/providers/hunyuan.mdx | 71 ++++++++++++++ docs/usage/providers/hunyuan.zh-CN.mdx | 71 ++++++++++++++ docs/usage/providers/siliconcloud.mdx | 58 +++++++----- docs/usage/providers/siliconcloud.zh-CN.mdx | 54 +++++++---- docs/usage/providers/spark.mdx | 72 +++++++++++++++ docs/usage/providers/spark.zh-CN.mdx | 71 ++++++++++++++ docs/usage/providers/upstage.mdx | 64 +++++++++++++ docs/usage/providers/upstage.zh-CN.mdx | 64 +++++++++++++ docs/usage/providers/wenxin.mdx | 73 +++++++++++++++ docs/usage/providers/wenxin.zh-CN.mdx | 73 +++++++++++++++ .../usage/providers/{01ai.mdx => zeroone.mdx} | 31 +++---- .../{01ai.zh-CN.mdx => zeroone.zh-CN.mdx} | 0 20 files changed, 1232 insertions(+), 55 deletions(-) create mode 100644 docs/usage/providers/ai21.mdx create mode 100644 docs/usage/providers/ai21.zh-CN.mdx create mode 100644 docs/usage/providers/ai360.mdx create mode 100644 docs/usage/providers/ai360.zh-CN.mdx create mode 100644 docs/usage/providers/fireworksai.mdx create mode 100644 docs/usage/providers/fireworksai.zh-CN.mdx create mode 100644 docs/usage/providers/github.mdx create mode 100644 docs/usage/providers/github.zh-CN.mdx create mode 100644 docs/usage/providers/hunyuan.mdx create mode 100644 docs/usage/providers/hunyuan.zh-CN.mdx create mode 100644 docs/usage/providers/spark.mdx create mode 100644 docs/usage/providers/spark.zh-CN.mdx create mode 100644 docs/usage/providers/upstage.mdx create mode 100644 docs/usage/providers/upstage.zh-CN.mdx create mode 100644 docs/usage/providers/wenxin.mdx create mode 100644 docs/usage/providers/wenxin.zh-CN.mdx rename docs/usage/providers/{01ai.mdx => zeroone.mdx} (59%) rename docs/usage/providers/{01ai.zh-CN.mdx => zeroone.zh-CN.mdx} (100%) diff --git a/docs/usage/providers/ai21.mdx b/docs/usage/providers/ai21.mdx new file mode 100644 index 000000000000..c4ac8004ce3c --- /dev/null +++ b/docs/usage/providers/ai21.mdx @@ -0,0 +1,63 @@ +--- +title: Using AI21 Labs in LobeChat +description: Learn how to integrate and utilize AI21 Labs's language model APIs in LobeChat. +tags: + - LobeChat + - AI21 Labs + - API Key + - Web UI +--- +# Using AI21 Labs in LobeChat + + + +[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. + +This article will guide you on how to use AI21 Labs within LobeChat. + + +### Step 1: Obtain the AI21 Labs API Key + +- Register and log in to [AI21 Studio](https://studio.ai21.com) +- Click on the `User Avatar` menu, then select `API Key` +- Copy and save the generated API key + + + +### Step 2: Configure AI21 Labs in LobeChat + +- Go to the `Settings` page in LobeChat +- Under `Language Model`, find the setting for `AI21 Labs` + + + +- Enter the API key you obtained +- Choose an AI21 Labs model for your AI assistant to begin the conversation + + + + +During use, you may need to pay the API service provider; please refer to the relevant fee policy of AI21 Labs. + + + + +Now you are ready to engage in conversations using the models provided by AI21 Labs in LobeChat. + diff --git a/docs/usage/providers/ai21.zh-CN.mdx b/docs/usage/providers/ai21.zh-CN.mdx new file mode 100644 index 000000000000..70e5d2337584 --- /dev/null +++ b/docs/usage/providers/ai21.zh-CN.mdx @@ -0,0 +1,63 @@ +--- +title: 在 LobeChat 中使用 AI21 Labs +description: 学习如何在 LobeChat 中配置和使用 AI21 Labs 的API Key,以便开始对话和交互。 +tags: + - LobeChat + - AI21 Labs + - API密钥 + - Web UI +--- + +# 在 LobeChat 中使用 AI21 Labs + + + +[AI21 Labs](https://www.ai21.com/) 是一家专注于人工智能的公司,提供先进的语言模型和API服务,旨在帮助开发者和企业利用自然语言处理技术。其旗舰产品 "Jamba" 系列模型能够进行复杂的语言理解和生成任务,广泛应用于内容创作、对话系统等领域。 + +本文将指导你如何在 LobeChat 中使用 AI21 Labs。 + + +### 步骤一:获得 AI21 Labs 的 API Key + +- 注册并登录 [AI21 Studio](https://studio.ai21.com) +- 点击 `用户头像` 菜单,点击 `API Key` +- 复制并保存生成的 API 密钥 + +{'复制 + +### 步骤二:在 LobeChat 中配置 AI21 Labs + +- 访问 LobeChat 的`设置`界面 +- 在`语言模型`下找到 `AI21labs` 的设置项 + +{'填入 + +- 填入获得的 API 密钥 +- 为你的 AI 助手选择一个 AI21 Labs 的模型即可开始对话 + +{'选择 + + + 在使用过程中你可能需要向 API 服务提供商付费,请参考 AI21 Labs 的相关费用政策。 + + + + +至此你已经可以在 LobeChat 中使用 AI21 Labs 提供的模型进行对话了。 diff --git a/docs/usage/providers/ai360.mdx b/docs/usage/providers/ai360.mdx new file mode 100644 index 000000000000..12de95ee00de --- /dev/null +++ b/docs/usage/providers/ai360.mdx @@ -0,0 +1,63 @@ +--- +title: Using the 360AI in LobeChat +description: Learn how to integrate and utilize 360AI's language model APIs in LobeChat. +tags: + - LobeChat + - 360AI + - API Key + - Web UI +--- +# Using the 360AI in LobeChat + + + +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. + +This article will guide you on how to use the 360AI in LobeChat. + + +### Step 1: Obtain the 360AI API Key + +- Register and log in to the [360AI API Open Platform](https://ai.360.com/platform/keys) +- Click on the `API Keys` menu on the left +- Create an API key and copy it + + + +### Step 2: Configure 360AI in LobeChat + +- Access the `Settings` interface in LobeChat +- Under `Language Models`, find the option for `360` + + + +- Enter the API key you obtained +- Choose a 360AI model for your AI assistant to start chatting + + + + +Please note that you may need to pay the API service provider during use, refer to the relevant pricing policy of the 360AI. + + + + +You can now use the models provided by the 360AI for conversations in LobeChat. + diff --git a/docs/usage/providers/ai360.zh-CN.mdx b/docs/usage/providers/ai360.zh-CN.mdx new file mode 100644 index 000000000000..a6964a1c3495 --- /dev/null +++ b/docs/usage/providers/ai360.zh-CN.mdx @@ -0,0 +1,63 @@ +--- +title: 在 LobeChat 中使用360智脑 +description: 学习如何在 LobeChat 中配置和使用360智脑的API Key,以便开始对话和交互。 +tags: + - LobeChat + - 360智脑 + - API密钥 + - Web UI +--- + +# 在 LobeChat 中使用360智脑 + + + +[360智脑](https://ai.360.com/)是360公司自主研发的认知型通用大模型,旨在为企业和开发者提供强大的自然语言处理能力。该模型已升级至4.0版本,能够支持多种应用场景,包括对话服务、图片生成、向量数据库服务等。 + +本文将指导你如何在 LobeChat 中使用360智脑。 + + +### 步骤一:获得360智脑的 API Key + +- 注册并登录 [360智脑 API 开放平台](https://ai.360.com/platform/keys) +- 点击左侧 `API Keys` 菜单 +- 创建一个 API 密钥并复制 + +{'创建API密钥'} + +### 步骤二:在 LobeChat 中配置360智脑 + +- 访问 LobeChat 的`设置`界面 +- 在`语言模型`下找到 `360` 的设置项 + +{'填入 + +- 填入获得的 API 密钥 +- 为你的 AI 助手选择一个360智脑的模型即可开始对话 + +{'选择360模型并开始对话'} + + + 在使用过程中你可能需要向 API 服务提供商付费,请参考360智脑的相关费用政策。 + + + + +至此你已经可以在 LobeChat 中使用360智脑提供的模型进行对话了。 diff --git a/docs/usage/providers/fireworksai.mdx b/docs/usage/providers/fireworksai.mdx new file mode 100644 index 000000000000..664442b588ce --- /dev/null +++ b/docs/usage/providers/fireworksai.mdx @@ -0,0 +1,75 @@ +--- +title: Using Fireworks AI in LobeChat +description: Learn how to integrate and utilize Fireworks AI's language model APIs in LobeChat. +tags: + - LobeChat + - Fireworks AI + - API Key + - Web UI +--- +# Using Fireworks AI in LobeChat + + + +[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. + +This article will guide you on how to use Fireworks AI in LobeChat. + + +### Step 1: Obtain an API Key for Fireworks AI + +- Log in to the [Fireworks.ai Console](https://fireworks.ai/account/api-keys) +- Navigate to the `User` page and click on `API Keys` +- Create a new API key + + + +- Copy and securely save the generated API key + + + + +Please store the key securely, as it will appear only once. If you accidentally lose it, you will need to create a new key. + + +### Step 2: Configure Fireworks AI in LobeChat + +- Access the `Settings` interface in LobeChat +- Under `Language Model`, locate the settings for `Fireworks AI` + + + +- Enter the obtained API key +- Select a Fireworks AI model for your AI assistant to start a conversation + + + + +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. + + + + +You are now ready to use the models provided by Fireworks AI for conversations in LobeChat. + diff --git a/docs/usage/providers/fireworksai.zh-CN.mdx b/docs/usage/providers/fireworksai.zh-CN.mdx new file mode 100644 index 000000000000..0a59bc5a15f9 --- /dev/null +++ b/docs/usage/providers/fireworksai.zh-CN.mdx @@ -0,0 +1,75 @@ +--- +title: 在 LobeChat 中使用 Fireworks AI +description: 学习如何在 LobeChat 中配置和使用 Fireworks AI 的API Key,以便开始对话和交互。 +tags: + - LobeChat + - Fireworks AI + - API密钥 + - Web UI +--- + +# 在 LobeChat 中使用 Fireworks AI + + + +[Fireworks.ai](https://fireworks.ai/) 是一个高性能的生成式 AI 模型推理平台,允许用户通过其 API 访问和使用各种模型。该平台支持多种模态,包括文本和视觉语言模型,并提供函数调用和 JSON 模式等功能,以增强应用开发的灵活性。 + +本文将指导你如何在 LobeChat 中使用 Fireworks AI。 + + +### 步骤一:获得 Fireworks AI 的 API Key + +- 登录 [Fireworks.ai 控制台](https://fireworks.ai/account/api-keys) +- 进入 `User` 页面,点击 `API Keys` +- 创建一个新的 API 密钥 + +{'创建 + +- 复制并保存生成的 API 密钥 + +{'保存 + + + 请安全地存储密钥,因为它只会出现一次。如果您意外丢失它,您将需要创建一个新密钥。 + + +### 步骤二:在 LobeChat 中配置 Fireworks AI + +- 访问 LobeChat 的`设置`界面 +- 在`语言模型`下找到 `Fireworks AI` 的设置项 + +{'填入 + +- 填入获得的 API 密钥 +- 为你的 AI 助手选择一个 Fireworks AI 的模型即可开始对话 + +{'选择 + + + 在使用过程中你可能需要向 API 服务提供商付费,请参考 Fireworks AI 的相关费用政策。 + + + + +至此你已经可以在 LobeChat 中使用 Fireworks AI 提供的模型进行对话了。 diff --git a/docs/usage/providers/github.mdx b/docs/usage/providers/github.mdx new file mode 100644 index 000000000000..8a4374f26283 --- /dev/null +++ b/docs/usage/providers/github.mdx @@ -0,0 +1,92 @@ +--- +title: Using GitHub Models in LobeChat +description: Learn how to integrate and utilize GitHub Models in LobeChat. +tags: + - LobeChat + - GitHub + - GitHub Models + - API Key + - Web UI +--- +# Using GitHub Models in LobeChat + + + +[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. + +This article will guide you on how to use GitHub Models in LobeChat. + +## Rate Limits for GitHub Models + +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. + + + + + 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). + + +--- + +## Configuration Guide for GitHub Models + + +### Step 1: Obtain a GitHub Access Token + +- Log in to GitHub and open the [Access Tokens](https://github.com/settings/tokens) page. +- Create and configure a new access token. + + + +- Copy and save the generated token from the results returned. + + + + + +- 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. + +- 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. + + +### Step 2: Configure GitHub Models in LobeChat + +- Navigate to the `Settings` interface in LobeChat. +- Under `Language Models`, find the GitHub settings. + + + +- Enter the access token you obtained. +- Select a GitHub model for your AI assistant to start the conversation. + + + + + +You are now ready to use the models provided by GitHub for conversations within LobeChat. + diff --git a/docs/usage/providers/github.zh-CN.mdx b/docs/usage/providers/github.zh-CN.mdx new file mode 100644 index 000000000000..ade571d23e6a --- /dev/null +++ b/docs/usage/providers/github.zh-CN.mdx @@ -0,0 +1,91 @@ +--- +title: 在 LobeChat 中使用 GitHub Models +description: 学习如何在 LobeChat 中配置和使用 GitHub 的 API Key,以便开始对话和交互。 +tags: + - LobeChat + - GitHub + - GitHub Models + - API密钥 + - Web UI +--- + +# 在 LobeChat 中使用 GitHub Models + + + +[GitHub Models](https://github.com/marketplace/models) 是 GitHub 最近推出的一项新功能,旨在为开发者提供一个免费的平台来访问和实验多种 AI 模型。GitHub Models 提供了一个互动沙盒环境,用户可以在此测试不同的模型参数和提示语,观察模型的响应。该平台支持多种先进的语言模型,包括 OpenAI 的 GPT-4o、Meta 的 Llama 3.1 和 Mistral 的 Large 2 等,覆盖了从大规模语言模型到特定任务模型的广泛应用。 + +本文将指导你如何在 LobeChat 中使用 GitHub Models。 + +## GitHub Models 速率限制 + +当前 Playground 和免费 API 的使用受到每分钟请求数、每日请求数、每个请求的令牌数以及并发请求数的限制。若达到速率限制,则需等待限制重置后方可继续发出请求。不同模型(低、高及嵌入模型)的速率限制有所不同。 模型类型信息请参阅 GitHub Marketplace。 + +{'GitHub + + + 这些限制可能随时更改,具体信息请参考 [GitHub 官方文档](https://docs.github.com/en/github-models/prototyping-with-ai-models#rate-limits)。 + + +--- + +## GitHub Models 配置指南 + + +### 步骤一:获得 GitHub 的访问令牌 + +- 登录 GitHub 并打开 [访问令牌](https://github.com/settings/tokens) 页面 +- 创建并设置一个新的访问令牌 + +{'创建访问令牌'} + +- 在返回的结果中复制并保存生成的令牌 + +{'保存访问令牌'} + + + - GitHub Models 测试期间,要使用 GitHub Models,用户需要申请加入[等待名单(waitlist)](https://github.com/marketplace/models/waitlist/join) 通过后才能获得访问权限。 + + - 请安全地存储访问令牌,因为它只会出现一次。如果您意外丢失它,您将需要创建一个新令牌。 + + +### 步骤二:在 LobeChat 中配置 GitHub Models + +- 访问 LobeChat 的`设置`界面 +- 在`语言模型`下找到 `GitHub` 的设置项 + +{'填入访问令牌'} + +- 填入获得的访问令牌 +- 为你的 AI 助手选择一个 GitHub 的模型即可开始对话 + +{'选择 + + + +至此你已经可以在 LobeChat 中使用 GitHub 提供的模型进行对话了。 diff --git a/docs/usage/providers/hunyuan.mdx b/docs/usage/providers/hunyuan.mdx new file mode 100644 index 000000000000..e909c50181b0 --- /dev/null +++ b/docs/usage/providers/hunyuan.mdx @@ -0,0 +1,71 @@ +--- +title: Using Tencent Hunyuan in LobeChat +description: Learn how to integrate and utilize Tencent Hunyuan's language model APIs in LobeChat. +tags: + - LobeChat + - Tencent Hunyuan + - API Key + - Web UI +--- +# Using Tencent Hunyuan in LobeChat + + + +[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. + +This article will guide you on how to use Tencent Hunyuan in LobeChat. + + +### Step 1: Obtain the Tencent Hunyuan API Key + +- Register and log in to the [Tencent Cloud Console](https://console.cloud.tencent.com/hunyuan/api-key) +- Navigate to `Hunyuan Large Model` and click on `API KEY Management` +- Create an API key + + + +- Click `View`, and copy the API key from the pop-up panel, ensuring you save it securely + + + +### Step 2: Configure Tencent Hunyuan in LobeChat + +- Go to the `Settings` page in LobeChat +- Find the `Tencent Hunyuan` settings under `Language Models` + + + +- Enter the API key you obtained +- Select a Tencent Hunyuan model for your AI assistant to start the conversation + + + + +During usage, you may need to pay the API service provider, please refer to Tencent Hunyuan's relevant pricing policy. + + + + +You can now engage in conversations using the models provided by Tencent Hunyuan in LobeChat. + diff --git a/docs/usage/providers/hunyuan.zh-CN.mdx b/docs/usage/providers/hunyuan.zh-CN.mdx new file mode 100644 index 000000000000..b2fd21714d74 --- /dev/null +++ b/docs/usage/providers/hunyuan.zh-CN.mdx @@ -0,0 +1,71 @@ +--- +title: 在 LobeChat 中使用腾讯混元 +description: 学习如何在 LobeChat 中配置和使用腾讯混元的API Key,以便开始对话和交互。 +tags: + - LobeChat + - 腾讯混元 + - API密钥 + - Web UI +--- + +# 在 LobeChat 中使用腾讯混元 + + + +[腾讯混元](https://hunyuan.tencent.com/)是由腾讯推出的一款大模型,旨在为用户提供智能助手服务。它能够通过自然语言处理技术,帮助用户解决问题、提供建议以及进行内容生成等任务。用户可以通过与模型的对话,快速获取所需信息,从而提高工作效率。 + +本文将指导你如何在 LobeChat 中使用腾讯混元。 + + +### 步骤一:获得腾讯混元的 API Key + +- 注册并登录 [腾讯云控制台](https://console.cloud.tencent.com/hunyuan/api-key) +- 进入 `混元大模型` 并点击 `API KEY 管理` +- 创建一个 API 密钥 + +{'创建 + +- 点击`查看`,在弹出面板中复制 API 密钥,并妥善保存 + +{'保存密钥'} + +### 步骤二:在 LobeChat 中配置腾讯混元 + +- 访问 LobeChat 的`设置`界面 +- 在`语言模型`下找到 `腾讯混元` 的设置项 + +{'填入 + +- 填入获得的 API 密钥 +- 为你的 AI 助手选择一个腾讯混元的模型即可开始对话 + +{'选择腾讯混元模型并开始对话'} + + + 在使用过程中你可能需要向 API 服务提供商付费,请参考腾讯混元的相关费用政策。 + + + + +至此你已经可以在 LobeChat 中使用腾讯混元提供的模型进行对话了。 diff --git a/docs/usage/providers/siliconcloud.mdx b/docs/usage/providers/siliconcloud.mdx index 4d5ab5bcf3ad..138f46f6501a 100644 --- a/docs/usage/providers/siliconcloud.mdx +++ b/docs/usage/providers/siliconcloud.mdx @@ -1,47 +1,63 @@ --- -title: Using SiliconCloud API Key in LobeChat -description: >- - Learn how to configure and use SiliconCloud's large language models in - LobeChat, get your API key, and start chatting. +title: Using SiliconCloud in LobeChat +description: Learn how to integrate and utilize SiliconCloud's language model APIs in LobeChat. tags: - LobeChat - SiliconCloud - API Key - Web UI --- - # Using SiliconCloud in LobeChat -[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. - -This document will guide you on how to use SiliconCloud in LobeChat: - - + -### Step 1: Get your SiliconCloud API Key +[SiliconCloud](https://siliconflow.cn/) is an AI service platform based on open-source foundational models, offering a variety of generative AI (GenAI) services. -- First, you need to register and log in to [SiliconCloud](https://cloud.siliconflow.cn/auth/login) +This article will guide you on how to use SiliconCloud in LobeChat. -Currently, new users can get 14 yuan free credit upon registration + +### Step 1: Obtain the API Key from SiliconCloud -- Go to the `API Key` menu and click `Create New API Key` +- Sign up and log in to [SiliconCloud](https://cloud.siliconflow.cn/account/ak) +- Click on the `API Keys` menu on the left side +- Create an API Key and copy it -- Click copy API key and keep it safe + ### Step 2: Configure SiliconCloud in LobeChat -- Visit the `App Settings` interface of LobeChat +- Go to the `Settings` page in LobeChat +- Under `Language Model`, find the setting for `SiliconFlow` -- Under `Language Model`, find the `SiliconCloud` settings + -- Enable SiliconCloud and enter the obtained API key +- Enter the API Key you obtained +- Choose a SiliconCloud model for your AI assistant to start the conversation -- Choose a SiliconCloud model for your assistant and start chatting + - You may need to pay the API service provider during use. Please refer to SiliconCloud's relevant fee policy. +During usage, you may need to pay the API service provider, so please refer to SiliconCloud's relevant pricing policy. -Now you can use the models provided by SiliconCloud for conversation in LobeChat. +At this point, you can start chatting using the models provided by SiliconCloud in LobeChat. + diff --git a/docs/usage/providers/siliconcloud.zh-CN.mdx b/docs/usage/providers/siliconcloud.zh-CN.mdx index 0d4b13c0e54a..714c23849833 100644 --- a/docs/usage/providers/siliconcloud.zh-CN.mdx +++ b/docs/usage/providers/siliconcloud.zh-CN.mdx @@ -1,6 +1,6 @@ --- -title: 在 LobeChat 中使用 SiliconCloud API Key -description: 学习如何在 LobeChat 中配置和使用 SiliconCloud 提供的大语言模型,获取 API 密钥并开始对话。 +title: 在 LobeChat 中使用 SiliconCloud +description: 学习如何在 LobeChat 中配置和使用 SiliconCloud 的API Key,以便开始对话和交互。 tags: - LobeChat - SiliconCloud @@ -8,33 +8,51 @@ tags: - Web UI --- -# 在 LobeChat 中使用 SiliconCloud +# 在 LobeChat 中使用 SiliconCloud -[SiliconCloud](https://siliconflow.cn/zh-cn/siliconcloud) 是高性价比的大模型服务提供商,提供文本生成与图片生成等多种服务。 + -本文档将指导你如何在 LobeChat 中使用 SiliconCloud: +[SiliconCloud](https://siliconflow.cn/) 是一个基于开源基础模型的人工智能服务平台,提供多种生成式AI(GenAI)服务。 - - -### 步骤一:获取 SiliconCloud API 密钥 +本文将指导你如何在 LobeChat 中使用 SiliconCloud。 -- 首先,你需要注册并登录 [SiliconCloud](https://cloud.siliconflow.cn/auth/login) - -当前新用户注册可获赠 14 元免费额度 + +### 步骤一:获得 SiliconCloud 的 API Key -- 进入 `API密钥` 菜单,并点击 `创建新API密钥` +- 注册并登录 [SiliconCloud](https://cloud.siliconflow.cn/account/ak) +- 点击左侧 `API 密钥` 菜单 +- 创建一个 API 密钥并复制 -- 点击复制 API 密钥并妥善保存 +{'创建API密钥'} -### 步骤二:在 LobeChat 中配置 SiliconCloud +### 步骤二:在 LobeChat 中配置 SiliconCloud -- 访问 LobeChat 的 `应用设置` 界面 +- 访问 LobeChat 的`设置`界面 +- 在`语言模型`下找到 `SiliconFlow` 的设置项 -- 在 `语言模型` 下找到 `SiliconCloud` 的设置项 +{'填入 -- 打开 SiliconCloud 并填入获取的 API 密钥 +- 填入获得的 API 密钥 +- 为你的 AI 助手选择一个 SiliconCloud 的模型即可开始对话 -- 为你的助手选择一个 SiliconCloud 模型即可开始对话 +{'选择 在使用过程中你可能需要向 API 服务提供商付费,请参考 SiliconCloud 的相关费用政策。 diff --git a/docs/usage/providers/spark.mdx b/docs/usage/providers/spark.mdx new file mode 100644 index 000000000000..53c1d90eaf0d --- /dev/null +++ b/docs/usage/providers/spark.mdx @@ -0,0 +1,72 @@ +--- +title: Using iFLYTEK Spark in LobeChat +description: Learn how to integrate and utilize iFLYTEK's Spark model APIs in LobeChat. +tags: + - LobeChat + - iFLYTEK + - Spark + - API Key + - Web UI +--- +# Using iFLYTEK Spark in LobeChat + + + +[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. + +This guide will instruct you on how to use iFLYTEK Spark in LobeChat. + + +### Step 1: Obtain the iFLYTEK Spark API Key + +- Register and log in to the [iFLYTEK Open Platform](https://console.xfyun.cn/) +- Create an application + + + +- Select a large model to view details +- Copy the `API Password` from the top right corner under the HTTP service interface authentication information + + + +### Step 2: Configure iFLYTEK Spark in LobeChat + +- Access the `Settings` menu in LobeChat +- Find the iFLYTEK Spark settings under `Language Model` + + + +- Input the obtained API Key +- Choose an iFLYTEK Spark model for your AI assistant to start the conversation + + + + +During usage, you may need to pay the API service provider, please refer to the relevant pricing policy of iFLYTEK Spark. + + + + +Now you can use the models provided by iFLYTEK Spark for conversations in LobeChat. + diff --git a/docs/usage/providers/spark.zh-CN.mdx b/docs/usage/providers/spark.zh-CN.mdx new file mode 100644 index 000000000000..c9b6da010bf5 --- /dev/null +++ b/docs/usage/providers/spark.zh-CN.mdx @@ -0,0 +1,71 @@ +--- +title: 在 LobeChat 中使用讯飞星火 +description: 学习如何在 LobeChat 中配置和使用讯飞星火的API Key,以便开始对话和交互。 +tags: + - LobeChat + - 讯飞星火 + - API密钥 + - Web UI +--- + +# 在 LobeChat 中使用讯飞星火 + + + +[讯飞星火](https://xinghuo.xfyun.cn/)是科大讯飞推出的一款强大的AI大模型,具备跨领域的知识和语言理解能力,能够执行问答、对话和文学创作等多种任务。 + +本文将指导你如何在 LobeChat 中使用讯飞星火。 + + +### 步骤一:获得讯飞星火的 API Key + +- 注册并登录 [讯飞开放平台](https://console.xfyun.cn/) +- 创建一个应用 + +{'创建应用'} + +- 选择一个大模型查看详情 +- 复制右上角 http 服务接口认证信息中的 `API Password` + +{'复制 + +### 步骤二:在 LobeChat 中配置讯飞星火 + +- 访问 LobeChat 的`设置`界面 +- 在`语言模型`下找到 `讯飞星火` 的设置项 + +{'填入 + +- 填入获得的 API 密钥 +- 为你的 AI 助手选择一个讯飞星火的模型即可开始对话 + +{'选择讯飞星火模型并开始对话'} + + + 在使用过程中你可能需要向 API 服务提供商付费,请参考讯飞星火的相关费用政策。 + + + + +至此你已经可以在 LobeChat 中使用讯飞星火提供的模型进行对话了。 diff --git a/docs/usage/providers/upstage.mdx b/docs/usage/providers/upstage.mdx new file mode 100644 index 000000000000..6b79a540f18c --- /dev/null +++ b/docs/usage/providers/upstage.mdx @@ -0,0 +1,64 @@ +--- +title: Using Upstage in LobeChat +description: Learn how to integrate and utilize Upstage's language model APIs in LobeChat. +tags: + - LobeChat + - Upstage + - API Key + - Web UI +--- +# Using Upstage in LobeChat + + + +[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. + +This article will guide you on how to use Upstage in LobeChat. + + +### Step 1: Obtain an Upstage API Key + +- Register and log in to the [Upstage Console](https://console.upstage.ai/home) +- Navigate to the `API Keys` page +- Create a new API key +- Copy and save the generated API key + + + +### Step 2: Configure Upstage in LobeChat + +- Access the `Settings` interface in LobeChat +- Locate the `Upstage` settings under `Language Models` + + + +- Enter the obtained API key +- Select an Upstage model for your AI assistant to start the conversation + + + + +Please note that you may need to pay the API service provider for usage. Refer to Upstage's pricing policy for more information. + + + + +You can now use the models provided by Upstage for conversations in LobeChat. + diff --git a/docs/usage/providers/upstage.zh-CN.mdx b/docs/usage/providers/upstage.zh-CN.mdx new file mode 100644 index 000000000000..046edd5e8553 --- /dev/null +++ b/docs/usage/providers/upstage.zh-CN.mdx @@ -0,0 +1,64 @@ +--- +title: 在 LobeChat 中使用 Upstage +description: 学习如何在 LobeChat 中配置和使用 Upstage 的API Key,以便开始对话和交互。 +tags: + - LobeChat + - Upstage + - API密钥 + - Web UI +--- + +# 在 LobeChat 中使用 Upstage + + + +[Upstage](https://www.upstage.ai/) 是一个提供 AI 模型和服务的平台,专注于自然语言处理和机器学习应用。它允许开发者通过 API 接入其强大的 AI 功能,支持多种任务,如文本生成、对话系统等。 + +本文将指导你如何在 LobeChat 中使用 Upstage。 + + +### 步骤一:获得 Upstage 的 API Key + +- 注册并登录 [Upstage 控制台](https://console.upstage.ai/home) +- 进入 `API Keys` 页面 +- 创建一个新的 API 密钥 +- 复制并保存生成的 API 密钥 + +{'保存 + +### 步骤二:在 LobeChat 中配置 Upstage + +- 访问 LobeChat 的`设置`界面 +- 在`语言模型`下找到 `Upstage` 的设置项 + +{'填入 + +- 填入获得的 API 密钥 +- 为你的 AI 助手选择一个 Upstage 的模型即可开始对话 + +{'选择 + + + 在使用过程中你可能需要向 API 服务提供商付费,请参考 Upstage 的相关费用政策。 + + + + +至此你已经可以在 LobeChat 中使用 Upstage 提供的模型进行对话了。 diff --git a/docs/usage/providers/wenxin.mdx b/docs/usage/providers/wenxin.mdx new file mode 100644 index 000000000000..e87b7bdf5bd4 --- /dev/null +++ b/docs/usage/providers/wenxin.mdx @@ -0,0 +1,73 @@ +--- +title: Using Wenxin Qianfan in LobeChat +description: Learn how to integrate and utilize Wenxin Qianfan's language model APIs in LobeChat. +tags: + - LobeChat + - 百度 + - 文心千帆 + - API密钥 + - Web UI +--- +# Using Wenxin Qianfan in LobeChat + + + +[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. + +This article will guide you on how to use Wenxin Qianfan in LobeChat. + + +### Step 1: Obtain the Wenxin Qianfan API Key + +- Register and log in to the [Baidu Intelligent Cloud Console](https://console.bce.baidu.com/) +- Navigate to `Baidu Intelligent Cloud Qianfan ModelBuilder` +- Choose `Application Access` from the left-side menu +- Create an application + + + +- After creating the application, obtain your `API Key` and `Secret Key`, and store them safely + + + +### Step 2: Configure Wenxin Qianfan in LobeChat + +- Go to the `Settings` interface in LobeChat +- Locate the settings for `Wenxin Qianfan` under `Language Model` + + + +- Enter the obtained `API Key` and `Secret Key` +- Select a Wenxin Qianfan model for your AI assistant to start interacting + + + + +During usage, you may need to pay the API service provider. Please refer to Wenxin Qianfan's relevant fee policy. + + + + +You can now use the models provided by Wenxin Qianfan for conversations in LobeChat. + diff --git a/docs/usage/providers/wenxin.zh-CN.mdx b/docs/usage/providers/wenxin.zh-CN.mdx new file mode 100644 index 000000000000..ae6b79853abd --- /dev/null +++ b/docs/usage/providers/wenxin.zh-CN.mdx @@ -0,0 +1,73 @@ +--- +title: 在 LobeChat 中使用文心千帆 +description: 学习如何在 LobeChat 中配置和使用文心千帆的API Key,以便开始对话和交互。 +tags: + - LobeChat + - 百度 + - 文心千帆 + - API密钥 + - Web UI +--- + +# 在 LobeChat 中使用文心千帆 + + + +[文心千帆](https://qianfan.cloud.baidu.com/)是百度推出的一个人工智能大语言模型平台,支持多种应用场景,包括文学创作、商业文案生成、数理逻辑推算等。该平台具备跨模态、跨语言的深度语义理解与生成能力,广泛应用于搜索问答、内容创作和智能办公等领域。 + +本文将指导你如何在 LobeChat 中使用文心千帆。 + + +### 步骤一:获得文心千帆的 API Key + +- 注册并登录 [百度智能云控制台](https://console.bce.baidu.com/) +- 进入 `百度智能云千帆 ModelBuilder` +- 在左侧菜单中选择`应用接入` +- 创建一个应用 + +{'创建应用'} + +- 创建成功后获取 `API Key` 和 `Secret Key`,并妥善保存 + +{'保存密钥'} + +### 步骤二:在 LobeChat 中配置文心千帆 + +- 访问 LobeChat 的`设置`界面 +- 在`语言模型`下找到 `文心千帆` 的设置项 + +{'填入 + +- 填入获得的 `API Key` 和 `Secret Key` +- 为你的 AI 助手选择一个文心千帆的模型即可开始对话 + +{'选择文心千帆模型并开始对话'} + + + 在使用过程中你可能需要向 API 服务提供商付费,请参考文心千帆的相关费用政策。 + + + + +至此你已经可以在 LobeChat 中使用文心千帆提供的模型进行对话了。 diff --git a/docs/usage/providers/01ai.mdx b/docs/usage/providers/zeroone.mdx similarity index 59% rename from docs/usage/providers/01ai.mdx rename to docs/usage/providers/zeroone.mdx index 6904dbc6599f..c2d7f5c026eb 100644 --- a/docs/usage/providers/01ai.mdx +++ b/docs/usage/providers/zeroone.mdx @@ -1,39 +1,38 @@ --- -title: Using Zero One AI API Key in LobeChat +title: Using 01 AI API Key in LobeChat description: >- - Learn how to integrate and use Zero One AI in LobeChat with step-by-step - instructions. Obtain an API key, configure Zero One AI, and start + Learn how to integrate and use 01 AI in LobeChat with step-by-step + instructions. Obtain an API key, configure 01 AI, and start conversations with AI models. tags: - 01.AI - - Zero One AI - Web UI - API key - AI models --- -# Using Zero One AI in LobeChat +# Using 01 AI in LobeChat {'Using -[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. +[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. -This document will guide you on how to use Zero One AI in LobeChat: +This document will guide you on how to use 01 AI in LobeChat: -### Step 1: Obtain Zero One AI API Key +### Step 1: Obtain 01 AI API Key -- Register and log in to the [Zero One AI Large Model Open Platform](https://platform.lingyiwanwu.com/) +- Register and log in to the [01 AI Large Model Open Platform](https://platform.lingyiwanwu.com/) - Go to the `Dashboard` and access the `API Key Management` menu - A system-generated API key has been created for you automatically, or you can create a new one on this interface {'Create @@ -55,10 +54,10 @@ This document will guide you on how to use Zero One AI in LobeChat: src={'https://github.com/lobehub/lobe-chat/assets/34400653/f892fe64-c734-4944-91ff-9916a41bd1c9'} /> -### Step 2: Configure Zero One AI in LobeChat +### Step 2: Configure 01 AI in LobeChat - Access the `Settings` interface in LobeChat -- Find the setting for `Zero One AI` under `Language Model` +- Find the setting for `01 AI` under `Language Model` {'Enter -- Open Zero One AI and enter the obtained API key +- Open 01 AI and enter the obtained API key - Choose a 01.AI model for your AI assistant to start the conversation - During usage, you may need to pay the API service provider. Please refer to Zero One AI's relevant + During usage, you may need to pay the API service provider. Please refer to 01 AI's relevant fee policies. -You can now use the models provided by Zero One AI for conversations in LobeChat. +You can now use the models provided by 01 AI for conversations in LobeChat. diff --git a/docs/usage/providers/01ai.zh-CN.mdx b/docs/usage/providers/zeroone.zh-CN.mdx similarity index 100% rename from docs/usage/providers/01ai.zh-CN.mdx rename to docs/usage/providers/zeroone.zh-CN.mdx