@lobehub/chat 0.128.2 → 0.128.4
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.
- package/.github/workflows/issue-close-require.yml +3 -3
- package/.github/workflows/issues-translate.yml +3 -3
- package/.github/workflows/wiki-sync.yml +2 -2
- package/.husky/commit-msg +0 -3
- package/.husky/pre-commit +0 -3
- package/.i18nrc.js +2 -2
- package/CHANGELOG.md +50 -0
- package/README.md +3 -3
- package/README.zh-CN.md +3 -3
- package/contributing/Basic/Feature-Development.md +713 -0
- package/{docs/Development → contributing/Basic}/Feature-Development.zh-CN.md +2 -2
- package/{docs/Development → contributing/Basic}/Intro.zh-CN.md +5 -5
- package/{docs → contributing}/Home.md +21 -30
- package/{docs/Development → contributing/Internationalization}/Internationalization-Implementation.zh-CN.md +1 -1
- package/{docs → contributing}/_Sidebar.md +19 -30
- package/docs/agents/concepts.mdx +18 -0
- package/docs/agents/concepts.zh-CN.mdx +17 -0
- package/docs/agents/custom-agent.mdx +34 -0
- package/docs/agents/custom-agent.zh-CN.mdx +31 -0
- package/docs/agents/model.mdx +68 -0
- package/docs/agents/model.zh-CN.mdx +64 -0
- package/docs/agents/prompt.mdx +96 -0
- package/docs/agents/prompt.zh-CN.mdx +97 -0
- package/docs/agents/topics.mdx +7 -0
- package/docs/agents/topics.zh-CN.mdx +6 -0
- package/docs/common-errors/no-v1-suffix.mdx +18 -0
- package/docs/common-errors/no-v1-suffix.zh-CN.mdx +17 -0
- package/docs/common-errors/proxy-with-unable-to-verify-leaf-signature.mdx +70 -0
- package/docs/{Deployment/Common-Error.zh-CN.md → common-errors/proxy-with-unable-to-verify-leaf-signature.zh-CN.mdx} +8 -26
- package/docs/environment-variables/common.mdx +215 -0
- package/docs/environment-variables/common.zh-CN.mdx +214 -0
- package/docs/environment-variables/model-provider.mdx +135 -0
- package/docs/environment-variables/model-provider.zh-CN.mdx +133 -0
- package/docs/package.json +5 -0
- package/docs/plugins/basic-usage.mdx +40 -0
- package/docs/{Usage/Plugins.zh-CN.md → plugins/basic-usage.zh-CN.mdx} +7 -21
- package/docs/plugins/custom-plugin.mdx +27 -0
- package/docs/plugins/custom-plugin.zh-CN.mdx +26 -0
- package/docs/plugins/plugin-development.mdx +262 -0
- package/docs/{Plugins/Plugin-Development.zh-CN.md → plugins/plugin-development.zh-CN.mdx} +9 -33
- package/docs/plugins/plugin-store.mdx +10 -0
- package/docs/plugins/plugin-store.zh-CN.mdx +9 -0
- package/docs/self-hosting/analytics.mdx +20 -0
- package/docs/{Deployment/Analytics.zh-CN.md → self-hosting/analytics.zh-CN.mdx} +5 -8
- package/docs/self-hosting/authentication.mdx +94 -0
- package/docs/self-hosting/authentication.zh-CN.mdx +90 -0
- package/docs/self-hosting/deploy-with-azure-openai.mdx +48 -0
- package/docs/{Deployment/Deploy-with-Azure-OpenAI.zh-CN.md → self-hosting/deploy-with-azure-openai.zh-CN.mdx} +16 -21
- package/docs/self-hosting/docker-compose.mdx +121 -0
- package/docs/self-hosting/docker-compose.zh-CN.mdx +121 -0
- package/docs/self-hosting/docker.mdx +152 -0
- package/docs/self-hosting/docker.zh-CN.mdx +149 -0
- package/docs/self-hosting/environment-variable.mdx +340 -0
- package/docs/{Deployment/Environment-Variable.zh-CN.md → self-hosting/environment-variable.zh-CN.mdx} +43 -57
- package/docs/self-hosting/upstream-sync.mdx +66 -0
- package/docs/{Deployment/Upstream-Sync.zh-CN.md → self-hosting/upstream-sync.zh-CN.mdx} +23 -21
- package/docs/self-hosting/vercel.mdx +39 -0
- package/docs/self-hosting/vercel.zh-CN.mdx +39 -0
- package/docs/usage/agent-market.mdx +35 -0
- package/docs/usage/agent-market.zh-CN.mdx +32 -0
- package/docs/usage/mobile.mdx +8 -0
- package/docs/usage/mobile.zh-CN.mdx +7 -0
- package/docs/usage/more.mdx +21 -0
- package/docs/usage/more.zh-CN.mdx +19 -0
- package/docs/usage/plugin-system.mdx +84 -0
- package/docs/usage/plugin-system.zh-CN.mdx +77 -0
- package/docs/usage/pwa.mdx +21 -0
- package/docs/usage/pwa.zh-CN.mdx +21 -0
- package/docs/usage/text-to-image.mdx +5 -0
- package/docs/usage/text-to-image.zh-CN.mdx +6 -0
- package/docs/usage/theme.mdx +17 -0
- package/docs/usage/theme.zh-CN.mdx +15 -0
- package/docs/usage/tts.mdx +26 -0
- package/docs/usage/tts.zh-CN.mdx +24 -0
- package/docs/usage/vision.mdx +8 -0
- package/docs/usage/vision.zh-CN.mdx +7 -0
- package/locales/ar/common.json +1 -0
- package/locales/de-DE/common.json +1 -0
- package/locales/en-US/common.json +1 -0
- package/locales/es-ES/common.json +1 -0
- package/locales/fr-FR/common.json +1 -0
- package/locales/it-IT/common.json +1 -0
- package/locales/ja-JP/common.json +1 -0
- package/locales/ko-KR/common.json +1 -0
- package/locales/nl-NL/common.json +1 -0
- package/locales/pl-PL/common.json +1 -0
- package/locales/pt-BR/common.json +1 -0
- package/locales/ru-RU/common.json +1 -0
- package/locales/tr-TR/common.json +1 -0
- package/locales/vi-VN/common.json +1 -0
- package/locales/zh-CN/common.json +1 -0
- package/locales/zh-TW/common.json +1 -0
- package/next.config.mjs +5 -0
- package/package.json +6 -5
- package/scripts/docsWorkflow/const.ts +1 -1
- package/scripts/docsWorkflow/toc.ts +6 -6
- package/src/app/welcome/(desktop)/features/Footer.tsx +5 -3
- package/src/config/client.ts +6 -0
- package/src/const/url.ts +10 -1
- package/src/features/PluginStore/OnlineList.tsx +2 -16
- package/src/features/SideBar/BottomActions.tsx +11 -10
- package/src/locales/default/common.ts +1 -0
- package/docs/Deployment/Analytics.md +0 -20
- package/docs/Deployment/Authentication.md +0 -80
- package/docs/Deployment/Authentication.zh-CN.md +0 -80
- package/docs/Deployment/Common-Error.md +0 -87
- package/docs/Deployment/Deploy-with-Azure-OpenAI.md +0 -54
- package/docs/Deployment/Docker-Deployment.md +0 -219
- package/docs/Deployment/Docker-Deployment.zh-CN.md +0 -217
- package/docs/Deployment/Environment-Variable.md +0 -362
- package/docs/Deployment/Upstream-Sync.md +0 -62
- package/docs/Plugins/Plugin-Development.md +0 -287
- package/docs/Usage/Plugins.md +0 -53
- package/docs/Usage/Usage-Agents.md +0 -201
- package/docs/Usage/Usage-Agents.zh-CN.md +0 -202
- package/docs/Usage/Usage-Topics.md +0 -31
- package/docs/Usage/Usage-Topics.zh-CN.md +0 -31
- /package/{docs/Development → contributing/Basic}/Add-New-Authentication-Providers.md +0 -0
- /package/{docs/Development → contributing/Basic}/Add-New-Authentication-Providers.zh-CN.md +0 -0
- /package/{docs/Development → contributing/Basic}/Architecture.md +0 -0
- /package/{docs/Development → contributing/Basic}/Architecture.zh-CN.md +0 -0
- /package/{docs/Development → contributing/Basic}/Chat-API.md +0 -0
- /package/{docs/Development → contributing/Basic}/Chat-API.zh-CN.md +0 -0
- /package/{docs/Development → contributing/Basic}/Contributing-Guidelines.md +0 -0
- /package/{docs/Development → contributing/Basic}/Contributing-Guidelines.zh-CN.md +0 -0
- /package/{docs/Development → contributing/Basic}/Feature-Development-Frontend.md +0 -0
- /package/{docs/Development → contributing/Basic}/Feature-Development-Frontend.zh-CN.md +0 -0
- /package/{docs/Development → contributing/Basic}/Folder-Structure.md +0 -0
- /package/{docs/Development → contributing/Basic}/Folder-Structure.zh-CN.md +0 -0
- /package/{docs/Development → contributing/Basic}/Intro.md +0 -0
- /package/{docs/Development → contributing/Basic}/Resources.md +0 -0
- /package/{docs/Development → contributing/Basic}/Resources.zh-CN.md +0 -0
- /package/{docs/Development → contributing/Basic}/Setup-Development.md +0 -0
- /package/{docs/Development → contributing/Basic}/Setup-Development.zh-CN.md +0 -0
- /package/{docs/Development → contributing/Basic}/Test.md +0 -0
- /package/{docs/Development → contributing/Basic}/Test.zh-CN.md +0 -0
- /package/{docs/Development → contributing/Internationalization}/Add-New-Locale.md +0 -0
- /package/{docs/Development → contributing/Internationalization}/Add-New-Locale.zh-CN.md +0 -0
- /package/{docs/Development → contributing/Internationalization}/Internationalization-Implementation.md +0 -0
- /package/{docs → contributing}/Others/Lighthouse.md +0 -0
- /package/{docs → contributing}/Others/Lighthouse.zh-CN.md +0 -0
- /package/{docs/Development → contributing/State-Management}/State-Management-Intro.md +0 -0
- /package/{docs/Development → contributing/State-Management}/State-Management-Intro.zh-CN.md +0 -0
- /package/{docs/Development → contributing/State-Management}/State-Management-Selectors.md +0 -0
- /package/{docs/Development → contributing/State-Management}/State-Management-Selectors.zh-CN.md +0 -0
- /package/{docs → contributing}/_Footer.md +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Callout, Steps } from 'nextra/components';
|
|
2
|
+
|
|
3
|
+
# Vercel Deployment Guide
|
|
4
|
+
|
|
5
|
+
If you want to deploy LobeChat on Vercel, you can follow the steps below:
|
|
6
|
+
|
|
7
|
+
## Vercel Deployment Process
|
|
8
|
+
|
|
9
|
+
<Steps>
|
|
10
|
+
|
|
11
|
+
### Prepare your OpenAI API Key
|
|
12
|
+
|
|
13
|
+
Go to [OpenAI API Key](https://platform.openai.com/account/api-keys) to get your OpenAI API Key.
|
|
14
|
+
|
|
15
|
+
### Click the button below to deploy
|
|
16
|
+
|
|
17
|
+
[![][deploy-button-image]][deploy-link]
|
|
18
|
+
|
|
19
|
+
[deploy-button-image]: https://vercel.com/button
|
|
20
|
+
[deploy-link]: https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat&env=OPENAI_API_KEY,ACCESS_CODE&envDescription=Find%20your%20OpenAI%20API%20Key%20by%20click%20the%20right%20Learn%20More%20button.%20%7C%20Access%20Code%20can%20protect%20your%20website&envLink=https%3A%2F%2Fplatform.openai.com%2Faccount%2Fapi-keys&project-name=lobe-chat&repository-name=lobe-chat
|
|
21
|
+
|
|
22
|
+
Simply log in with your GitHub account, and remember to fill in `OPENAI_API_KEY` (required) and `ACCESS_CODE` (recommended) in the environment variables page.
|
|
23
|
+
|
|
24
|
+
### After deployment, you can start using it
|
|
25
|
+
|
|
26
|
+
### Bind a custom domain (optional)
|
|
27
|
+
|
|
28
|
+
Vercel's assigned domain DNS may be polluted in some regions, so binding a custom domain can establish a direct connection.
|
|
29
|
+
|
|
30
|
+
</Steps>
|
|
31
|
+
|
|
32
|
+
## Automatic Synchronization of Updates
|
|
33
|
+
|
|
34
|
+
If you have deployed your project using the one-click deployment steps mentioned above, you may find that you are always prompted with "updates available." This is because Vercel creates a new project for you by default instead of forking this project, which causes the inability to accurately detect updates.
|
|
35
|
+
|
|
36
|
+
<Callout>
|
|
37
|
+
We recommend following the [Self-Hosting Upstream
|
|
38
|
+
Sync](/zh/self-hosting/upstream-sync) steps to Redeploy.
|
|
39
|
+
</Callout>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Callout, Steps } from 'nextra/components';
|
|
2
|
+
|
|
3
|
+
# Vercel 部署指引
|
|
4
|
+
|
|
5
|
+
如果想在 Vercel 上部署 LobeChat,可以按照以下步骤进行操作:
|
|
6
|
+
|
|
7
|
+
## Vercel 部署流程
|
|
8
|
+
|
|
9
|
+
<Steps>
|
|
10
|
+
|
|
11
|
+
### 准备好你的 OpenAI API Key
|
|
12
|
+
|
|
13
|
+
前往 [OpenAI API Key](https://platform.openai.com/account/api-keys) 获取你的 OpenAI API Key
|
|
14
|
+
|
|
15
|
+
### 点击下方按钮进行部署
|
|
16
|
+
|
|
17
|
+
[![][deploy-button-image]][deploy-link]
|
|
18
|
+
|
|
19
|
+
直接使用 GitHub 账号登录即可,记得在环境变量页填入 `OPENAI_API_KEY` (必填) and `ACCESS_CODE`(推荐);
|
|
20
|
+
|
|
21
|
+
[deploy-button-image]: https://vercel.com/button
|
|
22
|
+
[deploy-link]: https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat&env=OPENAI_API_KEY,ACCESS_CODE&envDescription=Find%20your%20OpenAI%20API%20Key%20by%20click%20the%20right%20Learn%20More%20button.%20%7C%20Access%20Code%20can%20protect%20your%20website&envLink=https%3A%2F%2Fplatform.openai.com%2Faccount%2Fapi-keys&project-name=lobe-chat&repository-name=lobe-chat
|
|
23
|
+
|
|
24
|
+
### 部署完毕后,即可开始使用
|
|
25
|
+
|
|
26
|
+
### 绑定自定义域名(可选)
|
|
27
|
+
|
|
28
|
+
Vercel 分配的域名 DNS 在某些区域被污染了,绑定自定义域名即可直连。
|
|
29
|
+
|
|
30
|
+
</Steps>
|
|
31
|
+
|
|
32
|
+
## 自动同步更新
|
|
33
|
+
|
|
34
|
+
如果你根据上述中的一键部署步骤部署了自己的项目,你可能会发现总是被提示 “有可用更新”。这是因为 Vercel 默认为你创建新项目而非 fork 本项目,这将导致无法准确检测更新。
|
|
35
|
+
|
|
36
|
+
<Callout>
|
|
37
|
+
我们建议按照 [📘 LobeChat
|
|
38
|
+
自部署保持更新](/zh/self-hosting/upstream-sync) 步骤重新部署。
|
|
39
|
+
</Callout>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Callout } from 'nextra/components';
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
# Assistant Market
|
|
6
|
+
|
|
7
|
+
In LobeChat's Assistant Market, creators can discover a vibrant and innovative community that brings together numerous carefully designed assistants. These assistants not only play a crucial role in work scenarios but also provide great convenience in the learning process. Our market is not just a showcase platform, but also a collaborative space. Here, everyone can contribute their wisdom and share their personally developed assistants.
|
|
8
|
+
|
|
9
|
+
<Callout type={'info'}>
|
|
10
|
+
By [🤖/🏪 submitting agents][submit-agents-link], you can easily submit your assistant works to
|
|
11
|
+
our platform. We particularly emphasize that LobeChat has established a sophisticated automated
|
|
12
|
+
internationalization (i18n) workflow, which excels in seamlessly converting your assistants into
|
|
13
|
+
multiple language versions. This means that regardless of the language your users are using, they
|
|
14
|
+
can seamlessly experience your assistant.{' '}
|
|
15
|
+
</Callout>
|
|
16
|
+
|
|
17
|
+
<Callout>
|
|
18
|
+
We welcome all users to join this ever-growing ecosystem and participate in the iteration and
|
|
19
|
+
optimization of assistants. Together, let's create more interesting, practical, and innovative
|
|
20
|
+
assistants, further enriching the diversity and practicality of assistants.
|
|
21
|
+
</Callout>
|
|
22
|
+
|
|
23
|
+
## Assistant Examples
|
|
24
|
+
|
|
25
|
+
| Recently Added | Assistant Description |
|
|
26
|
+
| --- | --- |
|
|
27
|
+
| [Copywriting](https://chat-preview.lobehub.com/market?agent=copywriting)<br/><sup>By **[pllz7](https://github.com/pllz7)** on **2024-02-14**</sup> | Proficient in persuasive copywriting and consumer psychology<br/>`E-commerce` |
|
|
28
|
+
| [Private Domain Operation Expert](https://chat-preview.lobehub.com/market?agent=gl-syyy)<br/><sup>By **[guling-io](https://github.com/guling-io)** on **2024-02-14**</sup> | Proficient in private domain operation, traffic acquisition, conversion, and content planning, familiar with marketing theories and related classic works.<br/>`Private domain operation` `Traffic acquisition` `Conversion` `Content planning` |
|
|
29
|
+
| [Self-media Operation Expert](https://chat-preview.lobehub.com/market?agent=gl-zmtyy)<br/><sup>By **[guling-io](https://github.com/guling-io)** on **2024-02-14**</sup> | Proficient in self-media operation and content creation<br/>`Self-media operation` `Social media` `Content creation` `Fan growth` `Brand promotion` |
|
|
30
|
+
| [Product Description](https://chat-preview.lobehub.com/market?agent=product-description)<br/><sup>By **[pllz7](https://github.com/pllz7)** on **2024-02-14**</sup> | Create captivating product descriptions to improve e-commerce sales performance<br/>`E-commerce` |
|
|
31
|
+
|
|
32
|
+
> 📊 Total agents: [<kbd>**177**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
33
|
+
|
|
34
|
+
[submit-agents-link]: https://github.com/lobehub/lobe-chat-agents
|
|
35
|
+
[submit-agents-shield]: https://img.shields.io/badge/🤖/🏪_submit_agent-%E2%86%92-c4f042?labelColor=black&style=for-the-badge
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Callout } from 'nextra/components';
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
# 助手市场
|
|
6
|
+
|
|
7
|
+
在 LobeChat 的助手市场中,创作者们可以发现一个充满活力和创新的社区,它汇聚了众多精心设计的助手,这些助手不仅在工作场景中发挥着重要作用,也在学习过程中提供了极大的便利。我们的市场不仅是一个展示平台,更是一个协作的空间。在这里,每个人都可以贡献自己的智慧,分享个人开发的助手。
|
|
8
|
+
|
|
9
|
+
<Callout type={'info'}>
|
|
10
|
+
通过 [🤖/🏪 提交助手][submit-agents-link]
|
|
11
|
+
,你可以轻松地将你的助手作品提交到我们的平台。我们特别强调的是,LobeChat
|
|
12
|
+
建立了一套精密的自动化国际化(i18n)工作流程,
|
|
13
|
+
它的强大之处在于能够无缝地将你的助手转化为多种语言版本。这意味着,不论你的用户使用何种语言,他们都能无障碍地体验到你的助手。
|
|
14
|
+
</Callout>
|
|
15
|
+
|
|
16
|
+
<Callout>
|
|
17
|
+
我们欢迎所有用户加入这个不断成长的生态系统,共同参与到助手的迭代与优化中来。共同创造出更多有趣、实用且具有创新性的助手,进一步丰富助手的多样性和实用性。
|
|
18
|
+
</Callout>
|
|
19
|
+
|
|
20
|
+
## 助手示例
|
|
21
|
+
|
|
22
|
+
| 最近新增 | 助手说明 |
|
|
23
|
+
| --- | --- |
|
|
24
|
+
| [产品文案撰写](https://chat-preview.lobehub.com/market?agent=copywriting)<br/><sup>By **[pllz7](https://github.com/pllz7)** on **2024-02-14**</sup> | 精通有说服力的文案撰写和消费者心理学<br/>`电子商务` |
|
|
25
|
+
| [私域运营专家](https://chat-preview.lobehub.com/market?agent=gl-syyy)<br/><sup>By **[guling-io](https://github.com/guling-io)** on **2024-02-14**</sup> | 擅长私域运营、引流、承接、转化和内容策划,熟悉营销理论和相关经典著作。<br/>`私域运营` `引流` `承接` `转化` `内容策划` |
|
|
26
|
+
| [自媒体运营专家](https://chat-preview.lobehub.com/market?agent=gl-zmtyy)<br/><sup>By **[guling-io](https://github.com/guling-io)** on **2024-02-14**</sup> | 擅长自媒体运营与内容创作<br/>`自媒体运营` `社交媒体` `内容创作` `粉丝增长` `品牌推广` |
|
|
27
|
+
| [产品描述](https://chat-preview.lobehub.com/market?agent=product-description)<br/><sup>By **[pllz7](https://github.com/pllz7)** on **2024-02-14**</sup> | 打造引人入胜的产品描述,提升电子商务销售业绩<br/>`电子商务` |
|
|
28
|
+
|
|
29
|
+
> 📊 Total agents: [<kbd>**177**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
30
|
+
|
|
31
|
+
[submit-agents-link]: https://github.com/lobehub/lobe-chat-agents
|
|
32
|
+
[submit-agents-shield]: https://img.shields.io/badge/🤖/🏪_submit_agent-%E2%86%92-c4f042?labelColor=black&style=for-the-badge
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# Mobile Device Adaptation
|
|
4
|
+
|
|
5
|
+
LobeChat has undergone a series of optimized designs for mobile devices to enhance the user's mobile experience.
|
|
6
|
+
|
|
7
|
+
Currently, we are iterating on the user experience for mobile devices to achieve a smoother and more intuitive interaction. If you have any suggestions or ideas, we warmly welcome your feedback through GitHub Issues or Pull Requests.
|
|
8
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Callout } from 'nextra/components';
|
|
2
|
+
|
|
3
|
+
# More Features
|
|
4
|
+
|
|
5
|
+
In addition to the above features, our design and technical capabilities will provide you with more assurance in usage:
|
|
6
|
+
|
|
7
|
+
- [x] 💎 **Exquisite UI Design**: Carefully designed interface with elegant appearance and smooth interaction effects, supporting light and dark themes, and adaptable to mobile devices. Supports PWA, providing an experience closer to native applications.
|
|
8
|
+
- [x] 🗣️ **Smooth Conversation Experience**: Responsive design brings a smooth conversation experience and supports full Markdown rendering, including code highlighting, LaTex formulas, Mermaid flowcharts, and more.
|
|
9
|
+
- [x] 💨 **Fast Deployment**: Use the Vercel platform or our Docker image, simply click the deploy button, and deployment can be completed within 1 minute without complex configuration processes.
|
|
10
|
+
- [x] 🔒 **Privacy and Security**: All data is stored locally in the user's browser, ensuring user privacy and security.
|
|
11
|
+
- [x] 🌐 **Custom Domain**: If users have their own domain, they can bind it to the platform for quick access to the chat assistant from anywhere.
|
|
12
|
+
|
|
13
|
+
> ✨ As the product continues to iterate, we will bring more exciting features!
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
<Callout>
|
|
18
|
+
You can find our upcoming [Roadmap][github-project-link] plans in the Projects section.
|
|
19
|
+
</Callout>
|
|
20
|
+
|
|
21
|
+
[github-project-link]: https://github.com/lobehub/lobe-chat/projects
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Callout } from 'nextra/components';
|
|
2
|
+
|
|
3
|
+
# 更多特性
|
|
4
|
+
|
|
5
|
+
除了上述功能特性以外,我们的所具有的设计和技术能力将为你带来了更多使用保障:
|
|
6
|
+
|
|
7
|
+
- [x] 💎 **精致 UI 设计**:经过精心设计的界面,具有优雅的外观和流畅的交互效果,支持亮暗色主题,适配移动端。支持 PWA,提供更加接近原生应用的体验。
|
|
8
|
+
- [x] 🗣️ **流畅的对话体验**:流式响应带来流畅的对话体验,并且支持完整的 Markdown 渲染,包括代码高亮、LaTex 公式、Mermaid 流程图等。
|
|
9
|
+
- [x] 💨 **快速部署**:使用 Vercel 平台或者我们的 Docker 镜像,只需点击一键部署按钮,即可在 1 分钟内完成部署,无需复杂的配置过程。
|
|
10
|
+
- [x] 🔒 **隐私安全**:所有数据保存在用户浏览器本地,保证用户的隐私安全。
|
|
11
|
+
- [x] 🌐 **自定义域名**:如果用户拥有自己的域名,可以将其绑定到平台上,方便在任何地方快速访问对话助手。
|
|
12
|
+
|
|
13
|
+
> ✨ 随着产品迭代持续更新,我们将会带来更多更多令人激动的功能!
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
<Callout>你可以在 Projects 中找到我们后续的 [Roadmap][github-project-link] 计划</Callout>
|
|
18
|
+
|
|
19
|
+
[github-project-link]: https://github.com/lobehub/lobe-chat/projects
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { Callout, Steps } from 'nextra/components';
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
# Plugin System
|
|
6
|
+
|
|
7
|
+
The plugin ecosystem of LobeChat is an important extension of its core functionality, greatly enhancing the practicality and flexibility of the LobeChat assistant.
|
|
8
|
+
|
|
9
|
+
<video
|
|
10
|
+
controls
|
|
11
|
+
src="https://github.com/lobehub/lobe-chat/assets/28616219/f29475a3-f346-4196-a435-41a6373ab9e2"
|
|
12
|
+
muted
|
|
13
|
+
loop
|
|
14
|
+
></video>
|
|
15
|
+
|
|
16
|
+
By utilizing plugins, LobeChat assistants can obtain and process real-time information, such as searching for web information and providing users with instant and relevant news.
|
|
17
|
+
|
|
18
|
+
In addition, these plugins are not limited to news aggregation, but can also extend to other practical functions, such as quickly searching documents, generating images, obtaining data from various platforms like Bilibili, Steam, and interacting with various third-party services.
|
|
19
|
+
|
|
20
|
+
Learn more about [plugin usage](/en-US/usage/plugins/basic) by checking it out.
|
|
21
|
+
|
|
22
|
+
<Callout type={'default'}>
|
|
23
|
+
To help developers better participate in this ecosystem, we provide comprehensive development
|
|
24
|
+
resources. This includes detailed component development documentation, a fully-featured software
|
|
25
|
+
development kit (SDK), and template examples, all aimed at simplifying the development process and
|
|
26
|
+
lowering the entry barrier for developers.
|
|
27
|
+
</Callout>
|
|
28
|
+
|
|
29
|
+
<Callout type={'info'}>
|
|
30
|
+
We welcome developers to utilize these resources, unleash their creativity, and write
|
|
31
|
+
feature-rich, user-friendly plugins. Through collective efforts, we can continuously expand the
|
|
32
|
+
functional boundaries of the chat application and explore a more intelligent and efficient
|
|
33
|
+
creativity platform.
|
|
34
|
+
</Callout>
|
|
35
|
+
|
|
36
|
+
📊 Total plugins: [<kbd>**61**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
37
|
+
|
|
38
|
+
| Recently Added | Plugin Description |
|
|
39
|
+
| --- | --- |
|
|
40
|
+
| [Charts and Graphs](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **pyxl** on **2024-02-05**</sup> | Mermaid charts, presentation schemes, analysis, research websites, pie charts.<br/>`Charts` `Graphs` |
|
|
41
|
+
| [Social Search](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **say-apps** on **2024-02-02**</sup> | Social search provides access to tweets, users, followers, images, media, and more.<br/>`Social` `Twitter` `x` `Search` |
|
|
42
|
+
| [TokenInsights](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **feednews** on **2024-01-27**</sup> | Get real-time cryptocurrency prices, BTC, ETH, BNB, and the latest insights. The latest coin news and airdrop opportunities.<br/>`Cryptocurrency` `btc` `eth` `bnb` |
|
|
43
|
+
| [Bilibili](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2024-01-27**</sup> | Experience Bilibili's rich content through keyword video search, replay access, interactive barrage, popular video recommendations, and hot search insights, all at your fingertips.<br/>`Video` `Bilibili` `Search` |
|
|
44
|
+
|
|
45
|
+
## Plugin Ecosystem
|
|
46
|
+
|
|
47
|
+
<Callout>
|
|
48
|
+
If you are interested in plugin development, please refer to our [📘 Plugin Development
|
|
49
|
+
Guide](/en/usage/plugins/development) in the Wiki.
|
|
50
|
+
</Callout>
|
|
51
|
+
|
|
52
|
+
- [lobe-chat-plugins][lobe-chat-plugins]: This is the plugin index for LobeChat. It retrieves the list of plugins from the index.json of this repository and displays them to the users.
|
|
53
|
+
- [chat-plugin-template][chat-plugin-template]: Chat Plugin plugin development template, you can quickly create a new plugin project through the project template.
|
|
54
|
+
- [@lobehub/chat-plugin-sdk][chat-plugin-sdk]: The LobeChat plugin SDK can help you create excellent Lobe Chat plugins.
|
|
55
|
+
- [@lobehub/chat-plugins-gateway][chat-plugins-gateway]: The LobeChat plugin gateway is a backend service that serves as the gateway for LobeChat plugins. We deploy this service using Vercel.
|
|
56
|
+
|
|
57
|
+
### Roadmap Progress
|
|
58
|
+
|
|
59
|
+
The plugin system of LobeChat has now entered a stable stage, and we have basically completed most of the functionality required by the plugin system. However, we are still planning and considering the new possibilities that plugins can bring to us. You can learn more in the following Issues:
|
|
60
|
+
|
|
61
|
+
<Steps>
|
|
62
|
+
|
|
63
|
+
### ✅ Phase One of Plugins
|
|
64
|
+
|
|
65
|
+
Implementing the separation of plugins from the main body, splitting the plugins into independent repositories for maintenance, and implementing dynamic loading of plugins. [**#73**](https://github.com/lobehub/lobe-chat/issues/73)
|
|
66
|
+
|
|
67
|
+
### ✅ Phase Two of Plugins
|
|
68
|
+
|
|
69
|
+
The security and stability of plugin usage, more accurate presentation of abnormal states, maintainability and developer-friendliness of the plugin architecture. [**#97**](https://github.com/lobehub/lobe-chat/issues/97)
|
|
70
|
+
|
|
71
|
+
### ✅ Phase Three of Plugins
|
|
72
|
+
|
|
73
|
+
Higher-level and improved customization capabilities, support for OpenAPI schema invocation, compatibility with ChatGPT plugins, and the addition of Midjourney plugins. [**#411**](https://github.com/lobehub/lobe-chat/discussions/#411)
|
|
74
|
+
|
|
75
|
+
### 💭 Phase Four of Plugins
|
|
76
|
+
|
|
77
|
+
Comprehensive authentication, visual configuration of plugin definitions, Plugin SDK CLI, Python language development template, any other ideas? Join the discussion: [**#1310**](https://github.com/lobehub/lobe-chat/discussions/#1310)
|
|
78
|
+
|
|
79
|
+
</Steps>
|
|
80
|
+
|
|
81
|
+
[lobe-chat-plugins]: https://github.com/lobehub/lobe-chat-plugins
|
|
82
|
+
[chat-plugin-sdk]: https://github.com/lobehub/chat-plugin-sdk
|
|
83
|
+
[chat-plugin-template]: https://github.com/lobehub/chat-plugin-template
|
|
84
|
+
[chat-plugins-gateway]: https://github.com/lobehub/chat-plugins-gateway
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Callout, Steps } from 'nextra/components';
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
# 插件系统
|
|
6
|
+
|
|
7
|
+
LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地增强了 LobeChat 助手的实用性和灵活性。
|
|
8
|
+
|
|
9
|
+
<video
|
|
10
|
+
controls
|
|
11
|
+
src="https://github.com/lobehub/lobe-chat/assets/28616219/f29475a3-f346-4196-a435-41a6373ab9e2"
|
|
12
|
+
muted
|
|
13
|
+
loop
|
|
14
|
+
></video>
|
|
15
|
+
|
|
16
|
+
通过利用插件,LobeChat 的助手们能够实现实时信息的获取和处理,例如搜索网络信息,为用户提供即时且相关的资讯。
|
|
17
|
+
|
|
18
|
+
此外,这些插件不仅局限于新闻聚合,还可以扩展到其他实用的功能,如快速检索文档、生成图片、获取 Bilibili 、Steam 等各种平台数据,以及与其他各式各样的第三方服务交互。
|
|
19
|
+
|
|
20
|
+
通过查看 [插件使用](/zh/usage/plugins/basic) 了解更多。
|
|
21
|
+
|
|
22
|
+
<Callout type={'default'}>
|
|
23
|
+
为了帮助开发者更好地参与到这个生态中来,我们在提供了全面的开发资源。这包括详尽的组件开发文档、功能齐全的软件开发工具包(SDK),以及样板示例,这些都是为了简化开发过程,降低开发者的入门门槛。
|
|
24
|
+
</Callout>
|
|
25
|
+
|
|
26
|
+
<Callout type={'info'}>
|
|
27
|
+
我们欢迎开发者利用这些资源,发挥创造力,编写出功能丰富、用户友好的插件。通过共同的努力,我们可以不断扩展聊天应用的功能界限,探索一个更加智能、高效的创造力平台。
|
|
28
|
+
</Callout>
|
|
29
|
+
|
|
30
|
+
📊 Total plugins: [<kbd>**61**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
31
|
+
|
|
32
|
+
| 最近新增 | 插件描述 |
|
|
33
|
+
| --- | --- |
|
|
34
|
+
| [图表和图示](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **pyxl** on **2024-02-05**</sup> | 美人鱼图表,演示文稿方案,分析,研究网站,饼图。<br/>`图表` `图示` |
|
|
35
|
+
| [社交搜索](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **say-apps** on **2024-02-02**</sup> | 社交搜索提供访问推文、用户、关注者、图片、媒体等功能。<br/>`社交` `推特` `x` `搜索` |
|
|
36
|
+
| [TokenInsights](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **feednews** on **2024-01-27**</sup> | 获取实时加密货币价格,BTC,ETH,BNB 和最新见解。最新的币新闻和空投机会。<br/>`加密货币` `btc` `eth` `bnb` |
|
|
37
|
+
| [哔哩哔哩](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2024-01-27**</sup> | 通过关键词视频搜索、回放访问、互动弹幕、热门视频推荐和热搜洞察等功能,深入体验哔哩哔哩丰富的内容,尽在您的指尖。<br/>`视频` `哔哩哔哩` `搜索` |
|
|
38
|
+
|
|
39
|
+
## 插件生态体系
|
|
40
|
+
|
|
41
|
+
<Callout>
|
|
42
|
+
如果你对插件开发感兴趣,请在 Wiki 中查阅我们的 [📘 插件开发指南](/zh/usage/plugins/development)。
|
|
43
|
+
</Callout>
|
|
44
|
+
|
|
45
|
+
- [lobe-chat-plugins][lobe-chat-plugins]:这是 LobeChat 的插件索引。它从该仓库的 index.json 中获取插件列表并显示给用户。
|
|
46
|
+
- [chat-plugin-template][chat-plugin-template]: Chat Plugin 插件开发模版,你可以通过项目模版快速新建插件项目。
|
|
47
|
+
- [@lobehub/chat-plugin-sdk][chat-plugin-sdk]:LobeChat 插件 SDK 可帮助您创建出色的 Lobe Chat 插件。
|
|
48
|
+
- [@lobehub/chat-plugins-gateway][chat-plugins-gateway]:LobeChat 插件网关是一个后端服务,作为 LobeChat 插件的网关。我们使用 Vercel 部署此服务。
|
|
49
|
+
|
|
50
|
+
[lobe-chat-plugins]: https://github.com/lobehub/lobe-chat-plugins
|
|
51
|
+
[chat-plugin-sdk]: https://github.com/lobehub/chat-plugin-sdk
|
|
52
|
+
[chat-plugin-template]: https://github.com/lobehub/chat-plugin-template
|
|
53
|
+
[chat-plugins-gateway]: https://github.com/lobehub/chat-plugins-gateway
|
|
54
|
+
|
|
55
|
+
### 路线进展
|
|
56
|
+
|
|
57
|
+
LobeChat 的插件系统目前已初步进入一个稳定阶段,我们已基本完成大部分插件系统所需的功能,但我们仍然在规划与思考插件能为我们带来的全新可能性。您可以在以下 Issues 中了解更多信息:
|
|
58
|
+
|
|
59
|
+
<Steps>
|
|
60
|
+
|
|
61
|
+
### ✅ 插件一期
|
|
62
|
+
|
|
63
|
+
实现插件与主体分离,将插件拆分为独立仓库维护,并实现插件的动态加载。 [**#73**](https://github.com/lobehub/lobe-chat/issues/73)
|
|
64
|
+
|
|
65
|
+
### ✅ 插件二期
|
|
66
|
+
|
|
67
|
+
插件的安全性与使用的稳定性,更加精准地呈现异常状态,插件架构的可维护性与开发者友好。[**#97**](https://github.com/lobehub/lobe-chat/issues/97)
|
|
68
|
+
|
|
69
|
+
### ✅ 插件三期
|
|
70
|
+
|
|
71
|
+
更高阶与完善的自定义能力,支持 OpenAPI schema 调用、兼容 ChatGPT 插件、新增 Midjourney 插件。 [**#411**](https://github.com/lobehub/lobe-chat/discussions/#411)
|
|
72
|
+
|
|
73
|
+
### 💭 插件四期
|
|
74
|
+
|
|
75
|
+
完善的鉴权、可视化配置插件定义、 Plugin SDK CLI 、 Python 语言研发模板、还有什么想法?欢迎参与讨论: [**#1310**](https://github.com/lobehub/lobe-chat/discussions/#1310)
|
|
76
|
+
|
|
77
|
+
</Steps>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Steps } from 'nextra/components';
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
# Progressive Web App (PWA)
|
|
6
|
+
|
|
7
|
+
We understand the importance of providing a seamless experience for users in today's multi-device environment. To achieve this, we have adopted Progressive Web App [PWA](https://support.google.com/chrome/answer/9658361) technology, which is a modern web technology that elevates web applications to a near-native app experience. Through PWA, LobeChat is able to provide a highly optimized user experience on both desktop and mobile devices, while maintaining lightweight and high performance characteristics. Visually and perceptually, we have also carefully designed it to ensure that its interface is indistinguishable from a native app, providing smooth animations, responsive layouts, and adaptation to different screen resolutions of various devices.
|
|
8
|
+
|
|
9
|
+
If you are unfamiliar with the installation process of PWA, you can follow the steps below to add LobeChat as a desktop app (also applicable to mobile devices):
|
|
10
|
+
|
|
11
|
+
<Steps>
|
|
12
|
+
|
|
13
|
+
### Run Chrome or Edge browser on your computer
|
|
14
|
+
|
|
15
|
+
### Visit the LobeChat webpage
|
|
16
|
+
|
|
17
|
+
### In the top right corner of the address bar, click the <kbd>Install</kbd> icon
|
|
18
|
+
|
|
19
|
+
### Follow the on-screen instructions to complete the PWA installation
|
|
20
|
+
|
|
21
|
+
</Steps>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Steps } from 'nextra/components';
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
# 渐进式 Web 应用(PWA)
|
|
6
|
+
|
|
7
|
+
我们利深知在当今多设备环境下为用户提供无缝体验的重要性。为此,我们采用了渐进式 Web 应用 [PWA](https://support.google.com/chrome/answer/9658361) 技术,这是一种能够将网页应用提升至接近原生应用体验的现代 Web 技术。通过 PWA,LobeChat 能够在桌面和移动设备上提供高度优化的用户体验,同时保持轻量级和高性能的特点。在视觉和感觉上,我们也经过精心设计,以确保它的界面与原生应用无差别,提供流畅的动画、响应式布局和适配不同设备的屏幕分辨率。
|
|
8
|
+
|
|
9
|
+
若您未熟悉 PWA 的安装过程,您可以按照以下步骤将 LobeChat 添加为您的桌面应用(也适用于移动设备):
|
|
10
|
+
|
|
11
|
+
<Steps>
|
|
12
|
+
|
|
13
|
+
### 在电脑上运行 Chrome 或 Edge 浏览器
|
|
14
|
+
|
|
15
|
+
### 访问 LobeChat 网页
|
|
16
|
+
|
|
17
|
+
### 在地址栏的右上角,单击 <kbd>安装</kbd> 图标
|
|
18
|
+
|
|
19
|
+
### 根据屏幕上的指示完成 PWA 的安装
|
|
20
|
+
|
|
21
|
+
</Steps>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# Text to Image Generation
|
|
4
|
+
|
|
5
|
+
Supporting the latest text-to-image generation technology, LobeChat now enables users to directly utilize the Text to Image tool during conversations with the assistant. By harnessing the capabilities of AI tools such as [DALL-E 3](https://openai.com/dall-e-3), [MidJourney](https://www.midjourney.com/), and [Pollinations](https://pollinations.ai/), assistants can now transform your ideas into images. This allows for a more private and immersive creative process.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
# Text to Image 文生图
|
|
4
|
+
|
|
5
|
+
支持最新的文本到图片生成技术,LobeChat 现在能够让用户在与助手对话中直接调用文成图工具进行创作。通过利用 [`DALL-E 3`](https://openai.com/dall-e-3)、[`MidJourney`](https://www.midjourney.com/) 和 [`Pollinations`](https://pollinations.ai/) 等 AI 工具的能力, 助手们现在可以将你的想法转化为图像。同时可以更私密和沉浸式的完成你的创造过程。
|
|
6
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Callout } from 'nextra/components';
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
# Custom Themes
|
|
6
|
+
|
|
7
|
+
LobeChat places a strong emphasis on personalized user experiences in its interface design, and thus introduces flexible and diverse theme modes, including a light mode for daytime and a dark mode for nighttime.
|
|
8
|
+
|
|
9
|
+
In addition to theme mode switching, we also provide a series of color customization options, allowing users to adjust the application's theme colors according to their preferences. Whether it's a stable deep blue, a lively peach pink, or a professional gray and white, users can find color choices in LobeChat that match their own style.
|
|
10
|
+
|
|
11
|
+
<Callout type={'info'}>
|
|
12
|
+
The default configuration can intelligently identify the user's system color mode and
|
|
13
|
+
automatically switch themes to ensure a consistent visual experience with the operating
|
|
14
|
+
system.
|
|
15
|
+
</Callout>
|
|
16
|
+
|
|
17
|
+
For users who prefer to manually adjust details, LobeChat also provides intuitive setting options and offers a choice between conversation bubble mode and document mode for chat scenes.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Callout } from 'nextra/components';
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
# 自定义主题
|
|
6
|
+
|
|
7
|
+
LobeChat 在界面设计上十分考虑用户的个性化体验,因此引入了灵活多变的主题模式,其中包括日间的亮色模式和夜间的深色模式。
|
|
8
|
+
|
|
9
|
+
除了主题模式的切换,我们还提供了一系列的颜色定制选项,允许用户根据自己的喜好来调整应用的主题色彩。无论是想要沉稳的深蓝,还是希望活泼的桃粉,或者是专业的灰白,用户都能够在 LobeChat 中找到匹配自己风格的颜色选择。
|
|
10
|
+
|
|
11
|
+
<Callout type={'info'}>
|
|
12
|
+
默认配置能够智能地识别用户系统的颜色模式,自动进行主题切换,以确保应用界面与操作系统保持一致的视觉体验。
|
|
13
|
+
</Callout>
|
|
14
|
+
|
|
15
|
+
对于喜欢手动调控细节的用户,LobeChat 同样提供了直观的设置选项,针对聊天场景也提供了对话气泡模式和文档模式的选择。
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Callout } from 'nextra/components';
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
# TTS & STT Voice Conversation
|
|
6
|
+
|
|
7
|
+
LobeChat supports Text-to-Speech (TTS) and Speech-to-Text (STT) technologies. Our application can convert text information into clear voice output, allowing users to interact with our conversational agents as if they were talking to a real person. Users can choose from a variety of voices and pair the appropriate audio with the assistant. Additionally, for users who prefer auditory learning or need to obtain information while busy, TTS provides an excellent solution.
|
|
8
|
+
|
|
9
|
+
In LobeChat, we have carefully selected a series of high-quality voice options (OpenAI Audio, Microsoft Edge Speech) to meet the needs of users from different regions and cultural backgrounds. Users can choose suitable voices based on personal preferences or specific scenarios, thereby obtaining a personalized communication experience.
|
|
10
|
+
|
|
11
|
+
## Lobe TTS
|
|
12
|
+
|
|
13
|
+

|
|
14
|
+
|
|
15
|
+
[@lobehub/tts](https://tts.lobehub.com) is a high-quality TTS toolkit developed using the TS language, supporting usage in both server and browser environments.
|
|
16
|
+
|
|
17
|
+
- **Server**: With just 15 lines of code, it can achieve high-quality speech generation capabilities comparable to OpenAI TTS services. It currently supports EdgeSpeechTTS, MicrosoftTTS, OpenAITTS, and OpenAISTT.
|
|
18
|
+
- **Browser**: It provides high-quality React Hooks and visual audio components, supporting common functions such as loading, playing, pausing, and dragging the timeline, and offering extensive audio track style adjustment capabilities.
|
|
19
|
+
|
|
20
|
+
<Callout type={'info'}>
|
|
21
|
+
During the implementation of the TTS feature in LobeChat, we found that there was no good frontend
|
|
22
|
+
TTS library on the market, which resulted in a lot of effort being spent on implementation,
|
|
23
|
+
including data conversion, audio progress management, and speech visualization. Adhering to the
|
|
24
|
+
"Community First" concept, we have polished and open-sourced this implementation, hoping to help
|
|
25
|
+
community developers who want to implement TTS.
|
|
26
|
+
</Callout>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Callout } from 'nextra/components';
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
# TTS & STT 语音会话
|
|
6
|
+
|
|
7
|
+
LobeChat 支持文字转语音(Text-to-Speech,TTS)和语音转文字(Speech-to-Text,STT)技术,我们的应用能够将文本信息转化为清晰的语音输出,用户可以像与真人交谈一样与我们的对话代理进行交流。用户可以从多种声音中选择,给助手搭配合适的音源。 同时,对于那些倾向于听觉学习或者想要在忙碌中获取信息的用户来说,TTS 提供了一个极佳的解决方案。
|
|
8
|
+
|
|
9
|
+
在 LobeChat 中,我们精心挑选了一系列高品质的声音选项 (OpenAI Audio, Microsoft Edge Speech),以满足不同地域和文化背景用户的需求。用户可以根据个人喜好或者特定场景来选择合适的语音,从而获得个性化的交流体验。
|
|
10
|
+
|
|
11
|
+
## Lobe TTS
|
|
12
|
+
|
|
13
|
+

|
|
14
|
+
|
|
15
|
+
[@lobehub/tts](https://tts.lobehub.com) 是一个使用 TS 语言开发的,高质量 TTS 工具包,支持在服务端和浏览器中使用。
|
|
16
|
+
|
|
17
|
+
- **服务端**:只要使用 15 行代码,即可实现对标 OpenAI TTS 服务的高质量语音生成能力。目前支持 EdgeSpeechTTS 与 MicrosoftTTS 与 OpenAITTS、OpenAISTT。
|
|
18
|
+
- **浏览器**:提供了高质量的 React Hooks 与可视化音频组件,支持加载、播放、暂停、拖动时间轴等常用功能,且提供了非常丰富的音轨样式调整能力。
|
|
19
|
+
|
|
20
|
+
<Callout type={'info'}>
|
|
21
|
+
我们在实现 LobeChat 的 TTS 功能过程中,发现市面上并没有一款很好的 TTS
|
|
22
|
+
前端库,导致在实现上耗费了很多精力,包括数据转换、音频进度管理、语音可视化等。秉承「 Community
|
|
23
|
+
First 」 的理念,我们把这套实现打磨并开源了出来,希望能帮助到想要实现 TTS 的社区开发者们。
|
|
24
|
+
</Callout>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
#### Model Visual Recognition
|
|
4
|
+
|
|
5
|
+
LobeChat now supports large language models with visual recognition capabilities such as OpenAI's [`gpt-4-vision`](https://platform.openai.com/docs/guides/vision), Google Gemini Pro vision, and Zhipu GLM-4 Vision, enabling LobeChat to have multimodal interaction capabilities. Users can easily upload or drag and drop images into the chat box, and the assistant will be able to recognize the content of the images and engage in intelligent conversations based on them, creating more intelligent and diverse chat scenarios.
|
|
6
|
+
|
|
7
|
+
This feature opens up new ways of interaction, allowing communication to extend beyond text and encompass rich visual elements. Whether it's sharing images in daily use or interpreting images in specific industries, the assistant can provide an excellent conversational experience.
|
|
8
|
+
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
3
|
+
#### 模型视觉识别
|
|
4
|
+
|
|
5
|
+
LobeChat 已经支持 OpenAI 的 [`gpt-4-vision`](https://platform.openai.com/docs/guides/vision) 、Google Gemini Pro vision、智谱 GLM-4 Vision 等具有视觉识别能力的大语言模型,这使得 LobeChat 具备了多模态交互的能力。用户可以轻松上传图片或者拖拽图片到对话框中,助手将能够识别图片内容,并在此基础上进行智能对话,构建更智能、更多元化的聊天场景。
|
|
6
|
+
|
|
7
|
+
这一特性打开了新的互动方式,使得交流不再局限于文字,而是可以涵盖丰富的视觉元素。无论是日常使用中的图片分享,还是在特定行业内的图像解读,助手都能提供出色的对话体验。
|
package/locales/ar/common.json
CHANGED