@lobehub/chat 0.139.0 → 0.139.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +2 -0
- package/.github/workflows/test.yml +3 -1
- package/CHANGELOG.md +58 -0
- package/README.md +8 -8
- package/README.zh-CN.md +16 -17
- package/docs/self-hosting/advanced/analytics.mdx +0 -2
- package/docs/self-hosting/advanced/analytics.zh-CN.mdx +0 -2
- package/docs/self-hosting/advanced/authentication.mdx +4 -4
- package/docs/self-hosting/advanced/authentication.zh-CN.mdx +4 -4
- package/docs/self-hosting/advanced/sso-providers/auth0.mdx +11 -11
- package/docs/self-hosting/advanced/sso-providers/auth0.zh-CN.mdx +11 -11
- package/docs/self-hosting/advanced/sso-providers/microsoft-entra-id.mdx +9 -6
- package/docs/self-hosting/advanced/sso-providers/microsoft-entra-id.zh-CN.mdx +34 -34
- package/docs/self-hosting/advanced/upstream-sync.mdx +5 -3
- package/docs/self-hosting/advanced/upstream-sync.zh-CN.mdx +5 -3
- package/docs/self-hosting/environment-variables/basic.mdx +0 -2
- package/docs/self-hosting/environment-variables/basic.zh-CN.mdx +0 -2
- package/docs/self-hosting/environment-variables.mdx +0 -2
- package/docs/self-hosting/environment-variables.zh-CN.mdx +3 -4
- package/docs/self-hosting/examples/azure-openai.mdx +2 -4
- package/docs/self-hosting/examples/azure-openai.zh-CN.mdx +2 -4
- package/docs/self-hosting/platform/docker-compose.mdx +7 -3
- package/docs/self-hosting/platform/docker-compose.zh-CN.mdx +7 -3
- package/docs/self-hosting/platform/docker.mdx +9 -5
- package/docs/self-hosting/platform/docker.zh-CN.mdx +9 -5
- package/docs/self-hosting/platform/netlify.mdx +12 -14
- package/docs/self-hosting/platform/netlify.zh-CN.mdx +12 -14
- package/docs/self-hosting/platform/repocloud.mdx +0 -2
- package/docs/self-hosting/platform/repocloud.zh-CN.mdx +0 -2
- package/docs/self-hosting/platform/sealos.mdx +0 -2
- package/docs/self-hosting/platform/sealos.zh-CN.mdx +0 -2
- package/docs/self-hosting/platform/vercel.mdx +0 -2
- package/docs/self-hosting/platform/vercel.zh-CN.mdx +0 -2
- package/docs/self-hosting/platform/zeabur.mdx +0 -2
- package/docs/self-hosting/platform/zeabur.zh-CN.mdx +0 -2
- package/docs/usage/agents/concepts.mdx +5 -5
- package/docs/usage/agents/concepts.zh-CN.mdx +2 -2
- package/docs/usage/agents/custom-agent.mdx +13 -8
- package/docs/usage/agents/custom-agent.zh-CN.mdx +12 -6
- package/docs/usage/agents/model.mdx +2 -4
- package/docs/usage/agents/model.zh-CN.mdx +2 -4
- package/docs/usage/agents/prompt.mdx +2 -4
- package/docs/usage/agents/prompt.zh-CN.mdx +2 -4
- package/docs/usage/agents/topics.mdx +1 -1
- package/docs/usage/agents/topics.zh-CN.mdx +1 -1
- package/docs/usage/features/agent-market.mdx +4 -16
- package/docs/usage/features/agent-market.zh-CN.mdx +3 -18
- package/docs/usage/features/local-llm.mdx +1 -3
- package/docs/usage/features/local-llm.zh-CN.mdx +1 -3
- package/docs/usage/features/more.mdx +0 -2
- package/docs/usage/features/more.zh-CN.mdx +0 -2
- package/docs/usage/features/multi-ai-providers.mdx +2 -4
- package/docs/usage/features/multi-ai-providers.zh-CN.mdx +2 -4
- package/docs/usage/features/plugin-system.mdx +3 -13
- package/docs/usage/features/plugin-system.zh-CN.mdx +3 -13
- package/docs/usage/features/pwa.mdx +1 -3
- package/docs/usage/features/pwa.zh-CN.mdx +1 -3
- package/docs/usage/features/text-to-image.mdx +1 -0
- package/docs/usage/features/text-to-image.zh-CN.mdx +1 -0
- package/docs/usage/features/theme.mdx +2 -4
- package/docs/usage/features/theme.zh-CN.mdx +2 -4
- package/docs/usage/features/tts.mdx +7 -2
- package/docs/usage/features/tts.zh-CN.mdx +7 -4
- package/docs/usage/features/vision.mdx +1 -0
- package/docs/usage/features/vision.zh-CN.mdx +1 -0
- package/docs/usage/plugins/basic-usage.mdx +6 -6
- package/docs/usage/plugins/basic-usage.zh-CN.mdx +6 -6
- package/docs/usage/plugins/custom-plugin.mdx +5 -1
- package/docs/usage/plugins/custom-plugin.zh-CN.mdx +5 -1
- package/docs/usage/plugins/development.mdx +32 -32
- package/docs/usage/plugins/development.zh-CN.mdx +32 -32
- package/docs/usage/plugins/store.mdx +3 -3
- package/docs/usage/plugins/store.zh-CN.mdx +3 -3
- package/docs/usage/providers/groq.mdx +44 -0
- package/docs/usage/providers/groq.zh-CN.mdx +42 -0
- package/docs/usage/providers/ollama/gemma.mdx +3 -5
- package/docs/usage/providers/ollama/gemma.zh-CN.mdx +2 -4
- package/docs/usage/providers/ollama.mdx +11 -9
- package/docs/usage/providers/ollama.zh-CN.mdx +10 -11
- package/docs/usage/start.mdx +1 -0
- package/docs/usage/start.zh-CN.mdx +1 -0
- package/package.json +5 -4
- package/src/app/chat/(mobile)/features/ChatInput/index.tsx +1 -0
- package/src/components/ModelProviderIcon/index.tsx +5 -0
- package/src/features/MobileTabBar/index.tsx +2 -1
- package/vercel.json +1 -1
- package/.husky/commit-msg +0 -1
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { Callout } from 'nextra/components';
|
|
2
|
-
|
|
3
1
|
# Guide to Using Prompts
|
|
4
2
|
|
|
5
3
|
## Basic Concepts of Prompts
|
|
@@ -8,7 +6,7 @@ Generative AI is very useful, but it requires human guidance. In most cases, gen
|
|
|
8
6
|
|
|
9
7
|
## How to Write a Well-Structured Prompt
|
|
10
8
|
|
|
11
|
-
<Callout type={'
|
|
9
|
+
<Callout type={'important'}>
|
|
12
10
|
A structured prompt refers to the construction of the prompt having a clear logic and structure.
|
|
13
11
|
For example, if you want the model to generate an article, your prompt may need to include the
|
|
14
12
|
article's topic, outline, and style.
|
|
@@ -37,7 +35,7 @@ The second prompt generates longer output and better structure. The use of the t
|
|
|
37
35
|
|
|
38
36
|
## How to Improve Quality and Effectiveness
|
|
39
37
|
|
|
40
|
-
<Callout type={'
|
|
38
|
+
<Callout type={'tip'}>
|
|
41
39
|
There are several ways to improve the quality and effectiveness of prompts:
|
|
42
40
|
|
|
43
41
|
- **Be Clear About Your Needs:** The model's output will strive to meet your needs, so if your needs are not clear, the output may not meet expectations.
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { Callout } from 'nextra/components';
|
|
2
|
-
|
|
3
1
|
# Prompt 使用指南
|
|
4
2
|
|
|
5
3
|
## Prompt 基本概念
|
|
@@ -8,7 +6,7 @@ import { Callout } from 'nextra/components';
|
|
|
8
6
|
|
|
9
7
|
## 如何写好一个结构化 prompt
|
|
10
8
|
|
|
11
|
-
<Callout type={'
|
|
9
|
+
<Callout type={'important'}>
|
|
12
10
|
结构化 prompt 是指 prompt 的构造应该有明确的逻辑和结构。例如,如果你想让模型生成一篇文章,你的
|
|
13
11
|
prompt 可能需要包括文章的主题,文章的大纲,文章的风格等信息。
|
|
14
12
|
</Callout>
|
|
@@ -38,7 +36,7 @@ import { Callout } from 'nextra/components';
|
|
|
38
36
|
|
|
39
37
|
## 如何提升其质量和效果
|
|
40
38
|
|
|
41
|
-
<Callout type={'
|
|
39
|
+
<Callout type={'tip'}>
|
|
42
40
|
提升 prompt 质量和效果的方法主要有以下几点:
|
|
43
41
|
|
|
44
42
|
- **尽量明确你的需求:** 模型的输出会尽可能满足你的需求,所以如果你的需求不明确,输出可能会不如预期。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Topic Usage Guide
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<Image alt={'Topic Usage Guide'} borderless cover src={'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/279602496-fd72037a-735e-4cc2-aa56-2994bceaba81.png'} />
|
|
4
4
|
|
|
5
5
|
- **Save Topic:** During a conversation, if you want to save the current context and start a new topic, you can click the save button next to the send button.
|
|
6
6
|
- **Topic List:** Clicking on a topic in the list allows for quick switching of historical conversation records and continuing the conversation. You can also use the star icon <kbd>⭐️</kbd> to pin favorite topics to the top, or use the more button on the right to rename or delete topics.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 话题使用指南
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<Image alt={'话题使用指南'} borderless cover src={'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/279602496-fd72037a-735e-4cc2-aa56-2994bceaba81.png'} />
|
|
4
4
|
|
|
5
5
|
- **保存话题:** 在聊天过程中,如果想要保存当前上下文并开启新的话题,可以点击发送按钮旁边的保存按钮。
|
|
6
6
|
- **话题列表:** 点击列表中的话题可以快速切换历史对话记录,并继续对话。你还可以通过点击星标图标 <kbd>⭐️</kbd> 将话题收藏置顶,或者通过右侧更多按钮对话题进行重命名和删除操作。
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
title: Assistant Market
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
import { Callout } from 'nextra/components';
|
|
6
|
-
|
|
7
5
|
# Assistant Market
|
|
8
6
|
|
|
9
7
|
<Image
|
|
10
8
|
alt={'Assistant Market'}
|
|
9
|
+
borderless
|
|
11
10
|
cover
|
|
12
11
|
src={
|
|
13
12
|
'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670869-f1ffbf66-42b6-42cf-a937-9ce1f8328514.png'
|
|
@@ -16,27 +15,16 @@ import { Callout } from 'nextra/components';
|
|
|
16
15
|
|
|
17
16
|
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.
|
|
18
17
|
|
|
19
|
-
<Callout type={'
|
|
20
|
-
By [🤖/🏪 submitting agents]
|
|
18
|
+
<Callout type={'tip'}>
|
|
19
|
+
By [🤖/🏪 submitting agents](https://github.com/lobehub/lobe-chat-agents), you can easily submit your assistant works to
|
|
21
20
|
our platform. We particularly emphasize that LobeChat has established a sophisticated automated
|
|
22
21
|
internationalization (i18n) workflow, which excels in seamlessly converting your assistants into
|
|
23
22
|
multiple language versions. This means that regardless of the language your users are using, they
|
|
24
23
|
can seamlessly experience your assistant.
|
|
25
24
|
</Callout>
|
|
26
25
|
|
|
27
|
-
<Callout>
|
|
26
|
+
<Callout type={'important'}>
|
|
28
27
|
We welcome all users to join this ever-growing ecosystem and participate in the iteration and
|
|
29
28
|
optimization of assistants. Together, let's create more interesting, practical, and innovative
|
|
30
29
|
assistants, further enriching the diversity and practicality of assistants.
|
|
31
30
|
</Callout>
|
|
32
|
-
|
|
33
|
-
## Assistant Examples
|
|
34
|
-
|
|
35
|
-
| Recently Added | Assistant Description |
|
|
36
|
-
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
37
|
-
| [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` |
|
|
38
|
-
| [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` |
|
|
39
|
-
| [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` |
|
|
40
|
-
| [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` |
|
|
41
|
-
|
|
42
|
-
> 📊 Total agents: [<kbd>**177**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { Callout } from 'nextra/components';
|
|
2
|
-
|
|
3
1
|
# 助手市场
|
|
4
2
|
|
|
5
3
|
<Image
|
|
@@ -12,26 +10,13 @@ import { Callout } from 'nextra/components';
|
|
|
12
10
|
|
|
13
11
|
在 LobeChat 的助手市场中,创作者们可以发现一个充满活力和创新的社区,它汇聚了众多精心设计的助手,这些助手不仅在工作场景中发挥着重要作用,也在学习过程中提供了极大的便利。我们的市场不仅是一个展示平台,更是一个协作的空间。在这里,每个人都可以贡献自己的智慧,分享个人开发的助手。
|
|
14
12
|
|
|
15
|
-
<Callout type={'
|
|
16
|
-
通过 [🤖/🏪 提交助手]
|
|
13
|
+
<Callout type={'tip'}>
|
|
14
|
+
通过 [🤖/🏪 提交助手](https://github.com/lobehub/lobe-chat-agents)
|
|
17
15
|
,你可以轻松地将你的助手作品提交到我们的平台。我们特别强调的是,LobeChat
|
|
18
16
|
建立了一套精密的自动化国际化(i18n)工作流程,
|
|
19
17
|
它的强大之处在于能够无缝地将你的助手转化为多种语言版本。这意味着,不论你的用户使用何种语言,他们都能无障碍地体验到你的助手。
|
|
20
18
|
</Callout>
|
|
21
19
|
|
|
22
|
-
<Callout>
|
|
20
|
+
<Callout type={'important'}>
|
|
23
21
|
我们欢迎所有用户加入这个不断成长的生态系统,共同参与到助手的迭代与优化中来。共同创造出更多有趣、实用且具有创新性的助手,进一步丰富助手的多样性和实用性。
|
|
24
22
|
</Callout>
|
|
25
|
-
|
|
26
|
-
## 助手示例
|
|
27
|
-
|
|
28
|
-
| 最近新增 | 助手说明 |
|
|
29
|
-
| ---------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
|
30
|
-
| [产品文案撰写](https://chat-preview.lobehub.com/market?agent=copywriting)<br /><sup>By **[pllz7](https://github.com/pllz7)** on **2024-02-14**</sup> | 精通有说服力的文案撰写和消费者心理学<br />`电子商务` |
|
|
31
|
-
| [私域运营专家](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 />`私域运营` `引流` `承接` `转化` `内容策划` |
|
|
32
|
-
| [自媒体运营专家](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 />`自媒体运营` `社交媒体` `内容创作` `粉丝增长` `品牌推广` |
|
|
33
|
-
| [产品描述](https://chat-preview.lobehub.com/market?agent=product-description)<br /><sup>By **[pllz7](https://github.com/pllz7)** on **2024-02-14**</sup> | 打造引人入胜的产品描述,提升电子商务销售业绩<br />`电子商务` |
|
|
34
|
-
|
|
35
|
-
> 📊 Total agents: [<kbd>**177**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
36
|
-
|
|
37
|
-
[submit-agents-link]: https://github.com/lobehub/lobe-chat-agents
|
|
@@ -3,11 +3,9 @@ title: Local LLM
|
|
|
3
3
|
image: https://github.com/lobehub/lobe-chat/assets/28616219/8292b22e-1f4f-478b-b510-32c7883c1c6d
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
import { Callout } from 'nextra/components';
|
|
7
|
-
|
|
8
6
|
# Local Large Language Model (LLM) Support
|
|
9
7
|
|
|
10
|
-
<Image alt={'Ollama Local Large Language Model (LLM) Support'} cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c'} />
|
|
8
|
+
<Image alt={'Ollama Local Large Language Model (LLM) Support'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c'} />
|
|
11
9
|
|
|
12
10
|
<Callout>Available in >=0.127.0, currently only supports Docker deployment</Callout>
|
|
13
11
|
|
|
@@ -5,11 +5,9 @@ image: https://github.com/lobehub/lobe-chat/assets/28616219/8292b22e-1f4f-478b-b
|
|
|
5
5
|
tags: 本地大语言模型,LLM,LobeChat v0.127.0,Ollama AI,Docker 部署
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
import { Callout } from 'nextra/components';
|
|
9
|
-
|
|
10
8
|
# 支持本地大语言模型(LLM)
|
|
11
9
|
|
|
12
|
-
<Image alt={'Ollama 支持本地大语言模型'} cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c'} />
|
|
10
|
+
<Image alt={'Ollama 支持本地大语言模型'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c'} />
|
|
13
11
|
|
|
14
12
|
<Callout>在 >=v0.127.0 版本中可用,目前仅支持 Docker 部署</Callout>
|
|
15
13
|
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
title: Multi AI Providers
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
import { Callout } from 'nextra/components';
|
|
6
|
-
|
|
7
5
|
# Multi-Model Service Provider Support
|
|
8
6
|
|
|
9
|
-
<Image alt={'Multi-Model Service Provider Support'} cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/b164bc54-8ba2-4c1e-b2f2-f4d7f7e7a551'} />
|
|
7
|
+
<Image alt={'Multi-Model Service Provider Support'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/b164bc54-8ba2-4c1e-b2f2-f4d7f7e7a551'} />
|
|
10
8
|
|
|
11
9
|
<Callout>Available in version 0.123.0 and later</Callout>
|
|
12
10
|
|
|
@@ -27,6 +25,6 @@ At the same time, we are also planning to support more model service providers,
|
|
|
27
25
|
|
|
28
26
|
## Local Model Support
|
|
29
27
|
|
|
30
|
-
|
|
28
|
+
<Image alt={'Local Model Support'} borderless src={'https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c'} />
|
|
31
29
|
|
|
32
30
|
To meet the specific needs of users, LobeChat also supports the use of local models based on [Ollama](https://ollama.ai), allowing users to flexibly use their own or third-party models. For more details, see [Local Model Support](/en/usage/features/local-llm).
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { Callout } from 'nextra/components';
|
|
2
|
-
|
|
3
1
|
# 多模型服务商支持
|
|
4
2
|
|
|
5
|
-
<Image alt={'多模型服务商支持'} cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/b164bc54-8ba2-4c1e-b2f2-f4d7f7e7a551'} />
|
|
3
|
+
<Image alt={'多模型服务商支持'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/b164bc54-8ba2-4c1e-b2f2-f4d7f7e7a551'} />
|
|
6
4
|
|
|
7
5
|
<Callout>在 0.123.0 及以后版本中可用</Callout>
|
|
8
6
|
|
|
@@ -23,6 +21,6 @@ import { Callout } from 'nextra/components';
|
|
|
23
21
|
|
|
24
22
|
## 本地模型支持
|
|
25
23
|
|
|
26
|
-
|
|
24
|
+
<Image alt={'本地模型支持'} borderless src={'https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c'} />
|
|
27
25
|
|
|
28
26
|
为了满足特定用户的需求,LobeChat 还基于 [Ollama](https://ollama.ai) 支持了本地模型的使用,让用户能够更灵活地使用自己的或第三方的模型,详见 [本地模型支持](/zh/usage/features/local-llm)。
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
title: Plugin System
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
import { Callout, Steps } from 'nextra/components';
|
|
6
|
-
|
|
7
5
|
# Plugin System
|
|
8
6
|
|
|
9
7
|
<Image
|
|
10
8
|
alt={'Plugin System'}
|
|
9
|
+
borderless
|
|
11
10
|
cover
|
|
12
11
|
src={
|
|
13
12
|
'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670883-33c43a5c-a512-467e-855c-fa299548cce5.png'
|
|
@@ -24,29 +23,20 @@ In addition, these plugins are not limited to news aggregation, but can also ext
|
|
|
24
23
|
|
|
25
24
|
Learn more about [plugin usage](/en-US/usage/plugins/basic) by checking it out.
|
|
26
25
|
|
|
27
|
-
<Callout type={'
|
|
26
|
+
<Callout type={'tip'}>
|
|
28
27
|
To help developers better participate in this ecosystem, we provide comprehensive development
|
|
29
28
|
resources. This includes detailed component development documentation, a fully-featured software
|
|
30
29
|
development kit (SDK), and template examples, all aimed at simplifying the development process and
|
|
31
30
|
lowering the entry barrier for developers.
|
|
32
31
|
</Callout>
|
|
33
32
|
|
|
34
|
-
<Callout type={'
|
|
33
|
+
<Callout type={'important'}>
|
|
35
34
|
We welcome developers to utilize these resources, unleash their creativity, and write
|
|
36
35
|
feature-rich, user-friendly plugins. Through collective efforts, we can continuously expand the
|
|
37
36
|
functional boundaries of the chat application and explore a more intelligent and efficient
|
|
38
37
|
creativity platform.
|
|
39
38
|
</Callout>
|
|
40
39
|
|
|
41
|
-
📊 Total plugins: [<kbd>**61**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
42
|
-
|
|
43
|
-
| Recently Added | Plugin Description |
|
|
44
|
-
| ------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
45
|
-
| [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` |
|
|
46
|
-
| [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` |
|
|
47
|
-
| [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` |
|
|
48
|
-
| [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` |
|
|
49
|
-
|
|
50
40
|
## Plugin Ecosystem
|
|
51
41
|
|
|
52
42
|
<Callout>
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Callout, Steps } from 'nextra/components';
|
|
2
|
-
|
|
3
1
|
# 插件系统
|
|
4
2
|
|
|
5
3
|
<Image
|
|
6
4
|
alt={'插件系统'}
|
|
5
|
+
borderless
|
|
7
6
|
cover
|
|
8
7
|
src={
|
|
9
8
|
'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670883-33c43a5c-a512-467e-855c-fa299548cce5.png'
|
|
@@ -20,23 +19,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
|
20
19
|
|
|
21
20
|
通过查看 [插件使用](/zh/usage/plugins/basic) 了解更多。
|
|
22
21
|
|
|
23
|
-
<Callout type={'
|
|
22
|
+
<Callout type={'tip'}>
|
|
24
23
|
为了帮助开发者更好地参与到这个生态中来,我们在提供了全面的开发资源。这包括详尽的组件开发文档、功能齐全的软件开发工具包(SDK),以及样板示例,这些都是为了简化开发过程,降低开发者的入门门槛。
|
|
25
24
|
</Callout>
|
|
26
25
|
|
|
27
|
-
<Callout type={'
|
|
26
|
+
<Callout type={'important'}>
|
|
28
27
|
我们欢迎开发者利用这些资源,发挥创造力,编写出功能丰富、用户友好的插件。通过共同的努力,我们可以不断扩展聊天应用的功能界限,探索一个更加智能、高效的创造力平台。
|
|
29
28
|
</Callout>
|
|
30
29
|
|
|
31
|
-
📊 Total plugins: [<kbd>**61**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
32
|
-
|
|
33
|
-
| 最近新增 | 插件描述 |
|
|
34
|
-
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
|
|
35
|
-
| [图表和图示](https://chat-preview.lobehub.com/settings/agent)<br /><sup>By **pyxl** on **2024-02-05**</sup> | 美人鱼图表,演示文稿方案,分析,研究网站,饼图。<br />`图表` `图示` |
|
|
36
|
-
| [社交搜索](https://chat-preview.lobehub.com/settings/agent)<br /><sup>By **say-apps** on **2024-02-02**</sup> | 社交搜索提供访问推文、用户、关注者、图片、媒体等功能。<br />`社交` `推特` `x` `搜索` |
|
|
37
|
-
| [TokenInsights](https://chat-preview.lobehub.com/settings/agent)<br /><sup>By **feednews** on **2024-01-27**</sup> | 获取实时加密货币价格,BTC,ETH,BNB 和最新见解。最新的币新闻和空投机会。<br />`加密货币` `btc` `eth` `bnb` |
|
|
38
|
-
| [哔哩哔哩](https://chat-preview.lobehub.com/settings/agent)<br /><sup>By **LobeHub** on **2024-01-27**</sup> | 通过关键词视频搜索、回放访问、互动弹幕、热门视频推荐和热搜洞察等功能,深入体验哔哩哔哩丰富的内容,尽在您的指尖。<br />`视频` `哔哩哔哩` `搜索` |
|
|
39
|
-
|
|
40
30
|
## 插件生态体系
|
|
41
31
|
|
|
42
32
|
<Callout>
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
title: Progressive Web Apps (PWA)
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
import { Steps } from 'nextra/components';
|
|
6
|
-
|
|
7
5
|
# Progressive Web App (PWA)
|
|
8
6
|
|
|
9
|
-
<Image alt={'Progressive Web App (PWA)'} cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/ecc8364a-cfc4-4a3d-b6fd-68b2d9bc5f0d'} />
|
|
7
|
+
<Image alt={'Progressive Web App (PWA)'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/ecc8364a-cfc4-4a3d-b6fd-68b2d9bc5f0d'} />
|
|
10
8
|
|
|
11
9
|
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.
|
|
12
10
|
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { Steps } from 'nextra/components';
|
|
2
|
-
|
|
3
1
|
# 渐进式 Web 应用(PWA)
|
|
4
2
|
|
|
5
|
-
<Image alt={'渐进式 Web 应用(PWA)'} cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/ecc8364a-cfc4-4a3d-b6fd-68b2d9bc5f0d'} />
|
|
3
|
+
<Image alt={'渐进式 Web 应用(PWA)'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/ecc8364a-cfc4-4a3d-b6fd-68b2d9bc5f0d'} />
|
|
6
4
|
|
|
7
5
|
我们利深知在当今多设备环境下为用户提供无缝体验的重要性。为此,我们采用了渐进式 Web 应用 [PWA](https://support.google.com/chrome/answer/9658361) 技术,这是一种能够将网页应用提升至接近原生应用体验的现代 Web 技术。通过 PWA,LobeChat 能够在桌面和移动设备上提供高度优化的用户体验,同时保持轻量级和高性能的特点。在视觉和感觉上,我们也经过精心设计,以确保它的界面与原生应用无差别,提供流畅的动画、响应式布局和适配不同设备的屏幕分辨率。
|
|
8
6
|
|
|
@@ -2,17 +2,15 @@
|
|
|
2
2
|
title: Custom Themes
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
import { Callout } from 'nextra/components';
|
|
6
|
-
|
|
7
5
|
# Custom Themes
|
|
8
6
|
|
|
9
|
-
<Image alt={'Custom Themes'} cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/9eca103c-9335-4a4c-8192-271a0b857b26'} />
|
|
7
|
+
<Image alt={'Custom Themes'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/9eca103c-9335-4a4c-8192-271a0b857b26'} />
|
|
10
8
|
|
|
11
9
|
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.
|
|
12
10
|
|
|
13
11
|
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.
|
|
14
12
|
|
|
15
|
-
<Callout type={'
|
|
13
|
+
<Callout type={'tip'}>
|
|
16
14
|
The default configuration can intelligently identify the user's system color mode and
|
|
17
15
|
automatically switch themes to ensure a consistent visual experience with the operating system.
|
|
18
16
|
</Callout>
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { Callout } from 'nextra/components';
|
|
2
|
-
|
|
3
1
|
# 自定义主题
|
|
4
2
|
|
|
5
|
-
<Image alt={'自定义主题'} cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/9eca103c-9335-4a4c-8192-271a0b857b26'} />
|
|
3
|
+
<Image alt={'自定义主题'} borderless cover src={'https://github.com/lobehub/lobe-chat/assets/28616219/9eca103c-9335-4a4c-8192-271a0b857b26'} />
|
|
6
4
|
|
|
7
5
|
LobeChat 在界面设计上十分考虑用户的个性化体验,因此引入了灵活多变的主题模式,其中包括日间的亮色模式和夜间的深色模式。
|
|
8
6
|
|
|
9
7
|
除了主题模式的切换,我们还提供了一系列的颜色定制选项,允许用户根据自己的喜好来调整应用的主题色彩。无论是想要沉稳的深蓝,还是希望活泼的桃粉,或者是专业的灰白,用户都能够在 LobeChat 中找到匹配自己风格的颜色选择。
|
|
10
8
|
|
|
11
|
-
<Callout type={'
|
|
9
|
+
<Callout type={'tip'}>
|
|
12
10
|
默认配置能够智能地识别用户系统的颜色模式,自动进行主题切换,以确保应用界面与操作系统保持一致的视觉体验。
|
|
13
11
|
</Callout>
|
|
14
12
|
|
|
@@ -6,6 +6,7 @@ title: Speech Synthesis and Recognition (TTS & STT)
|
|
|
6
6
|
|
|
7
7
|
<Image
|
|
8
8
|
alt={'TTS & STT Voice Conversation'}
|
|
9
|
+
borderless
|
|
9
10
|
cover
|
|
10
11
|
src={
|
|
11
12
|
'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072124-c9853d8d-f1b5-44a8-a305-45ebc0f6d19a.png'
|
|
@@ -18,9 +19,13 @@ In LobeChat, we have carefully selected a series of high-quality voice options (
|
|
|
18
19
|
|
|
19
20
|
## Lobe TTS
|
|
20
21
|
|
|
21
|
-
|
|
22
|
+
<Image
|
|
23
|
+
alt={'LobeTTS @lobehub/tts'}
|
|
24
|
+
borderless
|
|
25
|
+
src={'https://github.com/lobehub/lobe-chat/assets/28616219/52d20fdc-48c0-45e4-9c51-ee150fc18be7'}
|
|
26
|
+
/>
|
|
22
27
|
|
|
23
|
-
[
|
|
28
|
+
[`@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.
|
|
24
29
|
|
|
25
30
|
- **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.
|
|
26
31
|
- **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.
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Callout } from 'nextra/components';
|
|
2
|
-
|
|
3
1
|
# TTS & STT 语音会话
|
|
4
2
|
|
|
5
3
|
<Image
|
|
6
4
|
alt={'TTS & STT 语音会话'}
|
|
5
|
+
borderless
|
|
7
6
|
cover
|
|
8
7
|
src={
|
|
9
8
|
'https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072124-c9853d8d-f1b5-44a8-a305-45ebc0f6d19a.png'
|
|
@@ -16,9 +15,13 @@ LobeChat 支持文字转语音(Text-to-Speech,TTS)和语音转文字(Spe
|
|
|
16
15
|
|
|
17
16
|
## Lobe TTS
|
|
18
17
|
|
|
19
|
-
|
|
18
|
+
<Image
|
|
19
|
+
alt={'LobeTTS @lobehub/tts'}
|
|
20
|
+
borderless
|
|
21
|
+
src={'https://github.com/lobehub/lobe-chat/assets/28616219/52d20fdc-48c0-45e4-9c51-ee150fc18be7'}
|
|
22
|
+
/>
|
|
20
23
|
|
|
21
|
-
[
|
|
24
|
+
[`@lobehub/tts`](https://tts.lobehub.com) 是一个使用 TS 语言开发的,高质量 TTS 工具包,支持在服务端和浏览器中使用。
|
|
22
25
|
|
|
23
26
|
- **服务端**:只要使用 15 行代码,即可实现对标 OpenAI TTS 服务的高质量语音生成能力。目前支持 EdgeSpeechTTS 与 MicrosoftTTS 与 OpenAITTS、OpenAISTT。
|
|
24
27
|
- **浏览器**:提供了高质量的 React Hooks 与可视化音频组件,支持加载、播放、暂停、拖动时间轴等常用功能,且提供了非常丰富的音轨样式调整能力。
|
|
@@ -4,23 +4,23 @@ The plugin system is a key element in expanding the capabilities of assistants i
|
|
|
4
4
|
|
|
5
5
|
Watch the following video to quickly get started with using LobeChat plugins:
|
|
6
6
|
|
|
7
|
-
<Video src="https://github.com/lobehub/lobe-chat/assets/28616219/94d4c312-1699-4e24-8782-138883678c9e" />
|
|
7
|
+
<Video height={840} src="https://github.com/lobehub/lobe-chat/assets/28616219/94d4c312-1699-4e24-8782-138883678c9e" />
|
|
8
8
|
|
|
9
9
|
## Plugin Store
|
|
10
10
|
|
|
11
11
|
You can access the Plugin Store by navigating to "Extension Tools" -> "Plugin Store" in the session toolbar.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
<Image alt="Plugin Store S1" height={472} src="https://github.com/lobehub/lobe-chat/assets/28616219/ab4e60d0-1293-49ac-8798-cb29b3b789e6" />
|
|
14
14
|
|
|
15
15
|
The Plugin Store allows you to directly install and use plugins within LobeChat.
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
<Image alt="Plugin Store S2" height={612} src="https://github.com/lobehub/lobe-chat/assets/28616219/d7a5d821-116f-4be6-8a1a-38d81a5ea0ea" />
|
|
18
18
|
|
|
19
19
|
## Using Plugins
|
|
20
20
|
|
|
21
21
|
After installing a plugin, simply enable it under the current assistant to use it.
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
<Image alt="Using Plugins" height={472} src="https://github.com/lobehub/lobe-chat/assets/28616219/76ab1ae7-a4f9-4285-8ebd-45b90251aba1" />
|
|
24
24
|
|
|
25
25
|
## Plugin Configuration
|
|
26
26
|
|
|
@@ -28,6 +28,6 @@ Some plugins may require specific configurations, such as API keys.
|
|
|
28
28
|
|
|
29
29
|
After installing a plugin, you can click on "Settings" to enter the plugin's settings and fill in the required configurations:
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
<Image alt="Plugin Configuration S1" height={472} src="https://github.com/lobehub/lobe-chat/assets/28616219/10eb3023-4528-4b06-8092-062e7b3865cc" />
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
<Image alt="Plugin Configuration S2" height={472} src="https://github.com/lobehub/lobe-chat/assets/28616219/ab2e4c25-4b11-431b-9266-442d8b14cb41" />
|
|
@@ -4,23 +4,23 @@
|
|
|
4
4
|
|
|
5
5
|
查看以下视频,快速上手使用 LobeChat 插件:
|
|
6
6
|
|
|
7
|
-
<Video src="https://github.com/lobehub/lobe-chat/assets/28616219/94d4c312-1699-4e24-8782-138883678c9e" />
|
|
7
|
+
<Video height={840} src="https://github.com/lobehub/lobe-chat/assets/28616219/94d4c312-1699-4e24-8782-138883678c9e" />
|
|
8
8
|
|
|
9
9
|
## 插件商店
|
|
10
10
|
|
|
11
11
|
你可以在会话工具条中的 「扩展工具」 -> 「插件商店」,进入插件商店。
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
<Image alt="插件商店 S1" height={472} src="https://github.com/lobehub/lobe-chat/assets/28616219/ab4e60d0-1293-49ac-8798-cb29b3b789e6" />
|
|
14
14
|
|
|
15
15
|
插件商店中会在 LobeChat 中可以直接安装并使用的插件。
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
<Image alt="插件商店 S2" height={612} src="https://github.com/lobehub/lobe-chat/assets/28616219/d7a5d821-116f-4be6-8a1a-38d81a5ea0ea" />
|
|
18
18
|
|
|
19
19
|
## 使用插件
|
|
20
20
|
|
|
21
21
|
安装完毕插件后,只需在当前助手下开启插件即可使用。
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
<Image alt="使用插件" height={472} src="https://github.com/lobehub/lobe-chat/assets/28616219/76ab1ae7-a4f9-4285-8ebd-45b90251aba1" />
|
|
24
24
|
|
|
25
25
|
## 插件配置
|
|
26
26
|
|
|
@@ -28,6 +28,6 @@
|
|
|
28
28
|
|
|
29
29
|
你可以在安装插件后,点击设置进入插件的设置填写配置:
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
<Image alt="插件配置 S1" height={472} src="https://github.com/lobehub/lobe-chat/assets/28616219/10eb3023-4528-4b06-8092-062e7b3865cc" />
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
<Image alt="插件配置 S2" height={472} src="https://github.com/lobehub/lobe-chat/assets/28616219/ab2e4c25-4b11-431b-9266-442d8b14cb41" />
|
|
@@ -13,7 +13,11 @@ If you want to try installing custom plugins on your own, you can use the follow
|
|
|
13
13
|
- `Custom Lobe Plugin` Mock Credit Card: [https://lobe-plugin-mock-credit-card.vercel.app/manifest.json](https://lobe-plugin-mock-credit-card.vercel.app/manifest.json)
|
|
14
14
|
- `ChatGPT Plugin` Access Links: [https://www.accesslinks.ai/.well-known/ai-plugin.json](https://www.accesslinks.ai/.well-known/ai-plugin.json)
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
<Cards rows={2}>
|
|
17
|
+
<Image alt="Installing Custom Plugins S1" height={472} src="https://github.com/lobehub/lobe-chat/assets/28616219/bb9cd00f-b20c-4d7b-9c60-b921d350e319" />
|
|
18
|
+
|
|
19
|
+
<Image alt="Installing Custom Plugins S2" height={472} src="https://github.com/lobehub/lobe-chat/assets/28616219/bdeb678e-6502-4667-86b1-504221ee7ded" />
|
|
20
|
+
</Cards>
|
|
17
21
|
|
|
18
22
|
## Developing Custom Plugins
|
|
19
23
|
|
|
@@ -13,7 +13,11 @@
|
|
|
13
13
|
- `自定义 Lobe 插件` Mock Credit Card:[https://lobe-plugin-mock-credit-card.vercel.app/manifest.json](https://lobe-plugin-mock-credit-card.vercel.app/manifest.json)
|
|
14
14
|
- `ChatGPT 插件` Access Links:[https://www.accesslinks.ai/.well-known/ai-plugin.json](https://www.accesslinks.ai/.well-known/ai-plugin.json)
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
<Cards rows={2}>
|
|
17
|
+
<Image alt="安装自定义插件 S1" height={472} src="https://github.com/lobehub/lobe-chat/assets/28616219/bb9cd00f-b20c-4d7b-9c60-b921d350e319" />
|
|
18
|
+
|
|
19
|
+
<Image alt="安装自定义插件 S2" height={472} src="https://github.com/lobehub/lobe-chat/assets/28616219/bdeb678e-6502-4667-86b1-504221ee7ded" />
|
|
20
|
+
</Cards>
|
|
17
21
|
|
|
18
22
|
## 开发自定义插件
|
|
19
23
|
|