@lobehub/chat 0.96.8 → 0.96.9
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 +3 -0
- package/CHANGELOG.md +25 -0
- package/CODE_OF_CONDUCT.md +21 -21
- package/CONTRIBUTING.md +1 -1
- package/README.md +26 -9
- package/README.zh-CN.md +29 -12
- package/docs/Deploy-with-Azure-OpenAI.md +6 -6
- package/docs/Home.md +14 -2
- package/docs/Lighthouse.md +8 -8
- package/docs/Plugin-Development.md +3 -3
- package/docs/Plugin-Development.zh-CN.md +3 -3
- package/docs/Usage-Agents.md +195 -0
- package/docs/Usage-Agents.zh-CN.md +196 -0
- package/docs/Usage-Topics.md +31 -0
- package/docs/Usage-Topics.zh-CN.md +31 -0
- package/docs/_Sidebar.md +10 -2
- package/locales/en_US/chat.json +8 -2
- package/locales/ja_JP/chat.json +7 -1
- package/locales/ko_KR/chat.json +7 -1
- package/locales/ru_RU/chat.json +7 -1
- package/locales/zh_CN/chat.json +5 -1
- package/locales/zh_TW/chat.json +7 -1
- package/next.config.mjs +9 -1
- package/package.json +6 -7
- package/scripts/readmeWorkflow/const.ts +19 -0
- package/scripts/readmeWorkflow/index.ts +12 -0
- package/scripts/readmeWorkflow/syncAgentIndex.ts +47 -0
- package/scripts/readmeWorkflow/syncPluginIndex.ts +43 -0
- package/scripts/readmeWorkflow/utlis.ts +52 -0
- package/src/app/chat/(desktop)/features/ChatHeader.tsx +11 -1
- package/src/app/chat/(desktop)/features/SessionList.tsx +1 -1
- package/src/app/chat/(desktop)/features/SideBar.tsx +1 -1
- package/src/app/chat/(mobile)/features/ChatHeader.tsx +2 -6
- package/src/app/chat/(mobile)/features/TopicList.tsx +1 -1
- package/src/app/chat/features/Conversation/ChatList/Actions/Error.tsx +1 -7
- package/src/app/chat/features/Conversation/ChatList/Actions/User.tsx +0 -1
- package/src/app/chat/features/Conversation/ChatList/Actions/index.ts +48 -0
- package/src/app/chat/features/Conversation/ChatList/Messages/index.ts +27 -0
- package/src/app/chat/features/Conversation/ChatList/index.tsx +7 -29
- package/src/app/chat/features/{TopicListContent/SystemRole/Header.tsx → SidebarHeader/index.tsx} +9 -8
- package/src/app/chat/features/{TopicListContent/SystemRole → SystemRole}/index.tsx +45 -16
- package/src/app/chat/features/TopicListContent/Header.tsx +86 -0
- package/src/app/chat/features/TopicListContent/Topic/SkeletonList.tsx +1 -1
- package/src/app/chat/features/TopicListContent/TopicSearchBar/index.tsx +8 -3
- package/src/app/chat/features/TopicListContent/index.tsx +18 -7
- package/src/app/settings/features/SideBar/index.tsx +1 -1
- package/src/features/AgentInfo/index.tsx +3 -1
- package/src/features/AgentSetting/AgentMeta/index.tsx +5 -1
- package/src/features/PluginDevModal/MetaForm.tsx +4 -3
- package/src/layout/GlobalLayout/Locale.tsx +12 -2
- package/src/locales/default/chat.ts +5 -1
- package/src/store/global/initialState.ts +2 -0
- package/src/store/global/slices/common.ts +7 -0
- package/src/store/session/slices/chat/actions/topic.ts +30 -0
- package/src/store/session/slices/chat/selectors/index.ts +2 -1
- package/src/store/session/slices/chat/selectors/topic.ts +4 -0
- package/src/components/EmojiPicker/index.tsx +0 -56
- package/src/components/EmojiPicker/style.ts +0 -30
- /package/src/app/chat/features/{TopicListContent/SystemRole → SystemRole}/style.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 0.96.9](https://github.com/lobehub/lobe-chat/compare/v0.96.8...v0.96.9)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2023-11-04**</sup>
|
|
8
|
+
|
|
9
|
+
#### 💄 Styles
|
|
10
|
+
|
|
11
|
+
- **misc**: Update topic list header.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### Styles
|
|
19
|
+
|
|
20
|
+
- **misc**: Update topic list header ([ce932d7](https://github.com/lobehub/lobe-chat/commit/ce932d7))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
5
30
|
### [Version 0.96.8](https://github.com/lobehub/lobe-chat/compare/v0.96.7...v0.96.8)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2023-10-31**</sup>
|
package/CODE_OF_CONDUCT.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Our Pledge
|
|
4
4
|
|
|
5
|
-
We as members, contributors, and leaders pledge to
|
|
5
|
+
We as members, contributors, and leaders pledge to participate in our
|
|
6
6
|
community a harassment-free experience for everyone, regardless of age, body
|
|
7
7
|
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
8
8
|
identity and expression, level of experience, education, socio-economic status,
|
|
@@ -15,25 +15,25 @@ diverse, inclusive, and healthy community.
|
|
|
15
15
|
## Our Standards
|
|
16
16
|
|
|
17
17
|
Examples of behavior that contributes to a positive environment for our
|
|
18
|
-
community
|
|
18
|
+
community includes:
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
- Demonstrating empathy and kindness toward other people
|
|
21
|
+
- Being respectful of differing opinions, viewpoints, and experiences
|
|
22
|
+
- Giving and gracefully accepting constructive feedback
|
|
23
|
+
- Accepting responsibility and apologizing to those affected by our mistakes,
|
|
24
24
|
and learning from the experience
|
|
25
|
-
|
|
25
|
+
- Focusing on what is best not just for us as individuals, but for the
|
|
26
26
|
overall community
|
|
27
27
|
|
|
28
28
|
## Examples of unacceptable behavior include:
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
- The use of sexualized language or imagery, and sexual attention or
|
|
31
31
|
advances of any kind
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
- Trolling, insulting or derogatory comments, and personal or political attacks
|
|
33
|
+
- Public or private harassment
|
|
34
|
+
- Publishing others' private information, such as a physical or email
|
|
35
35
|
address, without their explicit permission
|
|
36
|
-
|
|
36
|
+
- Other conduct that could reasonably be considered inappropriate in a
|
|
37
37
|
professional setting
|
|
38
38
|
|
|
39
39
|
## Enforcement Responsibilities
|
|
@@ -50,7 +50,7 @@ decisions when appropriate.
|
|
|
50
50
|
|
|
51
51
|
## Scope
|
|
52
52
|
|
|
53
|
-
This Code of Conduct applies within all community spaces
|
|
53
|
+
This Code of Conduct applies within all community spaces and also applies when
|
|
54
54
|
an individual is officially representing the community in public spaces.
|
|
55
55
|
Examples of representing our community include using an official e-mail address,
|
|
56
56
|
posting via an official social media account, or acting as an appointed
|
|
@@ -87,7 +87,7 @@ of actions.
|
|
|
87
87
|
|
|
88
88
|
**Consequence**: A warning with consequences for continued behavior. No
|
|
89
89
|
interaction with the people involved, including unsolicited interaction with
|
|
90
|
-
those enforcing the Code of Conduct, for a specified
|
|
90
|
+
those enforcing the Code of Conduct, for a specified time. This
|
|
91
91
|
includes avoiding interactions in community spaces as well as external channels
|
|
92
92
|
like social media. Violating these terms may lead to a temporary or
|
|
93
93
|
permanent ban.
|
|
@@ -98,7 +98,7 @@ permanent ban.
|
|
|
98
98
|
sustained inappropriate behavior.
|
|
99
99
|
|
|
100
100
|
**Consequence**: A temporary ban from any sort of interaction or public
|
|
101
|
-
communication with the community for a specified
|
|
101
|
+
communication with the community for a specified time. No public or
|
|
102
102
|
private interaction with the people involved, including unsolicited interaction
|
|
103
103
|
with those enforcing the Code of Conduct, is allowed during this period.
|
|
104
104
|
Violating these terms may lead to a permanent ban.
|
|
@@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
|
|
|
106
106
|
### 4. Permanent Ban
|
|
107
107
|
|
|
108
108
|
**Community Impact**: Demonstrating a pattern of violation of community
|
|
109
|
-
standards, including sustained inappropriate behavior,
|
|
109
|
+
standards, including sustained inappropriate behavior, harassment of an
|
|
110
110
|
individual, or aggression toward or disparagement of classes of individuals.
|
|
111
111
|
|
|
112
112
|
**Consequence**: A permanent ban from any sort of public interaction within
|
|
@@ -116,13 +116,13 @@ the community.
|
|
|
116
116
|
|
|
117
117
|
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
118
118
|
version 2.0, available at
|
|
119
|
-
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html
|
|
119
|
+
<https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>.
|
|
120
120
|
|
|
121
121
|
Community Impact Guidelines were inspired by [Mozilla's code of conduct
|
|
122
122
|
enforcement ladder](https://github.com/mozilla/diversity).
|
|
123
123
|
|
|
124
|
-
[homepage]: https://www.contributor-covenant.org
|
|
125
|
-
|
|
126
124
|
For answers to common questions about this code of conduct, see the FAQ at
|
|
127
|
-
https://www.contributor-covenant.org/faq
|
|
128
|
-
https://www.contributor-covenant.org/translations
|
|
125
|
+
<https://www.contributor-covenant.org/faq>. Translations are available at
|
|
126
|
+
<https://www.contributor-covenant.org/translations>.
|
|
127
|
+
|
|
128
|
+
[homepage]: https://www.contributor-covenant.org
|
package/CONTRIBUTING.md
CHANGED
package/README.md
CHANGED
|
@@ -109,8 +109,8 @@ Please be aware that LobeChat is currently under active development, and feedbac
|
|
|
109
109
|

|
|
110
110
|
|
|
111
111
|
#### `1` Function Calling Plugin System
|
|
112
|
-
By establishing a versatile plugin system, ChatGPT becomes capable of delivering real-time news updates and enhancing your ability to interact with documents and e-commerce data more effectively. This extended functionality positions ChatGPT as a valuable resource across diverse domains. If you have an interest in creating plugins, we offer comprehensive component development documentation, software development kits (SDKs), and pre-made templates in the [🧩 Plugin System](#-Plugin-System) section below. Join us in our collective efforts to empower ChatGPT, making it both more potent and user-friendly.
|
|
113
112
|
|
|
113
|
+
By establishing a versatile plugin system, ChatGPT becomes capable of delivering real-time news updates and enhancing your ability to interact with documents and e-commerce data more effectively. This extended functionality positions ChatGPT as a valuable resource across diverse domains. If you have an interest in creating plugins, we offer comprehensive component development documentation, software development kits (SDKs), and pre-made templates in the [🧩 Plugin System](#-plugins) section below. Join us in our collective efforts to empower ChatGPT, making it both more potent and user-friendly.
|
|
114
114
|
|
|
115
115
|
<br/>
|
|
116
116
|
|
|
@@ -120,6 +120,19 @@ By establishing a versatile plugin system, ChatGPT becomes capable of delivering
|
|
|
120
120
|
|
|
121
121
|
In our agent market. We have accumulated a large number of practical, prompt agents that have been used in daily work and study. You can also share your agents here and iterate and optimize your prompt agents with more people. You can submit your agents through [🤖/🏪 Submit Agents][submit-agents-link], and our automated i18n workflow will automatically translate your agents into multiple languages, allowing users worldwide to enjoy your wisdom.
|
|
122
122
|
|
|
123
|
+
<!-- AGENT LIST -->
|
|
124
|
+
|
|
125
|
+
| Recent Submits | Description |
|
|
126
|
+
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
|
|
127
|
+
| [Sketch Feature Summary Expert](https://chat-preview.lobehub.com/market?agent=sketch-changelog-highlighter)<br/><sup>By **[arvinxx](https://github.com/arvinxx)** on **2023-11-02**</sup> | Skilled at extracting key changes from Sketch release notes<br/>`experience-design` `sketch` `update` `feature` `text-summary` |
|
|
128
|
+
| [Master of Debating](https://chat-preview.lobehub.com/market?agent=tqg-20231026)<br/><sup>By **[cake79](https://github.com/cake79)** on **2023-10-26**</sup> | Simulates people who enjoy debating and can express counterarguments to any user input<br/>`writing` `dialogue` |
|
|
129
|
+
| [Graph Generator](https://chat-preview.lobehub.com/market?agent=graph-generator)<br/><sup>By **[choldrim](https://github.com/choldrim)** on **2023-10-23**</sup> | Automatic Graph Generator<br/>`graph` |
|
|
130
|
+
| [Master of Naming](https://chat-preview.lobehub.com/market?agent=meaningful-name)<br/><sup>By **[yingxirz](https://github.com/yingxirz)** on **2023-10-18**</sup> | Provides concise and meaningful names for your artistic creations.<br/>`naming` `creative` |
|
|
131
|
+
|
|
132
|
+
> 📊 Total agents: [<kbd>**37**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
133
|
+
|
|
134
|
+
<!-- AGENT LIST -->
|
|
135
|
+
|
|
123
136
|
<br/>
|
|
124
137
|
|
|
125
138
|

|
|
@@ -282,11 +295,18 @@ Plugins provide a means to extend the [Function Calling][fc-link] capabilities o
|
|
|
282
295
|
> - [x] [**Plugin Phase 2**](https://github.com/lobehub/lobe-chat/issues/97): The security and stability of the plugin's use, more accurately presenting abnormal states, the maintainability of the plugin architecture, and developer-friendly.
|
|
283
296
|
> - [ ] [**Plugin Phase 3**](https://github.com/lobehub/lobe-chat/issues/149): Higher-level and more comprehensive customization capabilities, support for plugin authentication, and examples.
|
|
284
297
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
|
288
|
-
|
|
|
289
|
-
| [
|
|
298
|
+
<!-- PLUGIN LIST -->
|
|
299
|
+
|
|
300
|
+
| Official Plugin | Repository | Description |
|
|
301
|
+
| ------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
|
|
302
|
+
| [Clock Time](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2023-11-01**</sup> | [lobehub/chat-plugin-clock-time](https://github.com/lobehub/chat-plugin-clock-time) | Display a clock to show current time<br/>`clock` `time` |
|
|
303
|
+
| [Website Crawler](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2023-08-17**</sup> | [lobehub/chat-plugin-web-crawler](https://github.com/lobehub/chat-plugin-web-crawler) | Extract content from web links<br/>`web` `content-crawler` |
|
|
304
|
+
| [Search Engine](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2023-08-15**</sup> | [lobehub/chat-plugin-search-engine](https://github.com/lobehub/chat-plugin-search-engine) | Query search engine to get information<br/>`web` `search` |
|
|
305
|
+
| [Realtime Weather](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2023-08-12**</sup> | [lobehub/chat-plugin-realtime-weather](https://github.com/lobehub/chat-plugin-realtime-weather) | Get realtime weather information<br/>`weather` `realtime` |
|
|
306
|
+
|
|
307
|
+
> 📊 Total plugins: [<kbd>**4**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
308
|
+
|
|
309
|
+
<!-- PLUGIN LIST -->
|
|
290
310
|
|
|
291
311
|
<div align="right">
|
|
292
312
|
|
|
@@ -365,11 +385,8 @@ This project is [MIT](./LICENSE) licensed.
|
|
|
365
385
|
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/chat_preview_lobehub_com_chat.html
|
|
366
386
|
[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg
|
|
367
387
|
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/chat_preview_lobehub_com_chat.html
|
|
368
|
-
[chat-plugin-realtime-weather]: https://github.com/lobehub/chat-plugin-realtime-weather
|
|
369
388
|
[chat-plugin-sdk]: https://github.com/lobehub/chat-plugin-sdk
|
|
370
|
-
[chat-plugin-search-engine]: https://github.com/lobehub/chat-plugin-search-engine
|
|
371
389
|
[chat-plugin-template]: https://github.com/lobehub/chat-plugin-template
|
|
372
|
-
[chat-plugin-web-crawler]: https://github.com/lobehub/chat-plugin-web-crawler
|
|
373
390
|
[chat-plugins-gateway]: https://github.com/lobehub/chat-plugins-gateway
|
|
374
391
|
[codespaces-link]: https://codespaces.new/lobehub/lobe-chat
|
|
375
392
|
[codespaces-shield]: https://github.com/codespaces/badge.svg
|
package/README.zh-CN.md
CHANGED
|
@@ -110,7 +110,7 @@ LobeChat 是一个开源的、可扩展的([Function Calling][fc-link])高
|
|
|
110
110
|
|
|
111
111
|
#### `1` Function Calling 插件系统
|
|
112
112
|
|
|
113
|
-
通过构建强大的插件生态,ChatGPT 不仅能够实时获取最新新闻,还能助你一臂之力,轻松查询文档、访问各大电商数据。这使得 ChatGPT 在更广泛的领域中发挥其关键作用。如果你对编写插件有所兴趣,我们在下文的 🧩 插件体系 中提供了详尽的组件开发文档、SDK、以及样板文件,让我们一起让助手变得更加好用和强大~
|
|
113
|
+
通过构建强大的插件生态,ChatGPT 不仅能够实时获取最新新闻,还能助你一臂之力,轻松查询文档、访问各大电商数据。这使得 ChatGPT 在更广泛的领域中发挥其关键作用。如果你对编写插件有所兴趣,我们在下文的 [🧩 插件体系](#-插件体系) 中提供了详尽的组件开发文档、SDK、以及样板文件,让我们一起让助手变得更加好用和强大~
|
|
114
114
|
|
|
115
115
|
<br/>
|
|
116
116
|
|
|
@@ -120,6 +120,19 @@ LobeChat 是一个开源的、可扩展的([Function Calling][fc-link])高
|
|
|
120
120
|
|
|
121
121
|
在我们的助手市场中,我们积累了大量实用的助手 Prompt,这些都是在日常工作和学习中得到实际应用的。你也可以在这里分享你的助手,与更多的人一起迭代和优化你的助手提示词。你可以通过 [🤖/🏪 提交助手][submit-agents-link] 来提交你的助手,我们构建的自动化 i18n 工作流将会自动将你的助手翻译成多语言版本,让多语种用户都能享受到你的智慧成果。
|
|
122
122
|
|
|
123
|
+
<!-- AGENT LIST -->
|
|
124
|
+
|
|
125
|
+
| 最近新增 | 助手说明 |
|
|
126
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
|
|
127
|
+
| [Sketch 特性总结专家](https://chat-preview.lobehub.com/market?agent=sketch-changelog-highlighter)<br/><sup>By **[arvinxx](https://github.com/arvinxx)** on **2023-11-02**</sup> | 擅长从 Sketch 的更新日志中提取关键变更要点<br/>`体验设计` `sketch` `更新` `特性` `文本总结` |
|
|
128
|
+
| [抬杠高手](https://chat-preview.lobehub.com/market?agent=tqg-20231026)<br/><sup>By **[cake79](https://github.com/cake79)** on **2023-10-26**</sup> | 模拟那些喜欢抬杠的人, 能对用户输入的任何观点进行抬杠表达的角色<br/>`写作` `对话` |
|
|
129
|
+
| [图表生成器](https://chat-preview.lobehub.com/market?agent=graph-generator)<br/><sup>By **[choldrim](https://github.com/choldrim)** on **2023-10-23**</sup> | 自动图表生成器<br/>`图表` |
|
|
130
|
+
| [作品命名大师](https://chat-preview.lobehub.com/market?agent=meaningful-name)<br/><sup>By **[yingxirz](https://github.com/yingxirz)** on **2023-10-18**</sup> | 为您的艺术创作提供简洁而富有内涵的名称。<br/>`起名` `创意` |
|
|
131
|
+
|
|
132
|
+
> 📊 Total agents: [<kbd>**37**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
133
|
+
|
|
134
|
+
<!-- AGENT LIST -->
|
|
135
|
+
|
|
123
136
|
<br/>
|
|
124
137
|
|
|
125
138
|

|
|
@@ -258,7 +271,7 @@ $ docker run -d -p 3210:3210 \
|
|
|
258
271
|
|
|
259
272
|
## 📦 生态系统
|
|
260
273
|
|
|
261
|
-
| NPM |
|
|
274
|
+
| NPM | 仓库 | 描述 | 版本 |
|
|
262
275
|
| ------------------------------- | ------------------------------------- | ----------------------------------------------------------------------------------------------------- | --------------------------------------- |
|
|
263
276
|
| [@lobehub/ui][lobe-ui-link] | [lobehub/lobe-ui][lobe-ui-github] | Lobe UI 是一个专为构建 AIGC 网页应用程序而设计的开源 UI 组件库。 | [![][lobe-ui-shield]][lobe-ui-link] |
|
|
264
277
|
| [@lobehub/lint][lobe-lint-link] | [lobehub/lobe-lint][lobe-lint-github] | LobeLint 为 LobeHub 提供 ESlint,Stylelint,Commitlint,Prettier,Remark 和 Semantic Release 的配置。 | [![][lobe-lint-shield]][lobe-lint-link] |
|
|
@@ -286,11 +299,18 @@ $ docker run -d -p 3210:3210 \
|
|
|
286
299
|
> - [x] [**插件二期**](https://github.com/lobehub/lobe-chat/issues/97): 插件的安全性与使用的稳定性,更加精准地呈现异常状态,插件架构的可维护性与开发者友好
|
|
287
300
|
> - [ ] [**插件三期**](https://github.com/lobehub/lobe-chat/issues/149):更高阶与完善的自定义能力,支持插件鉴权与示例
|
|
288
301
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
|
292
|
-
|
|
|
293
|
-
| [
|
|
302
|
+
<!-- PLUGIN LIST -->
|
|
303
|
+
|
|
304
|
+
| 官方插件 | 仓库 | 插件描述 |
|
|
305
|
+
| ------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | --------------------------- |
|
|
306
|
+
| [时钟时间](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2023-11-01**</sup> | [lobehub/chat-plugin-clock-time](https://github.com/lobehub/chat-plugin-clock-time) | 显示一个时钟来展示当前时间<br/>`时钟` `时间` |
|
|
307
|
+
| [网站爬虫](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2023-08-17**</sup> | [lobehub/chat-plugin-web-crawler](https://github.com/lobehub/chat-plugin-web-crawler) | 从网页链接中提取内容<br/>`网页` `内容爬取器` |
|
|
308
|
+
| [搜索引擎](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2023-08-15**</sup> | [lobehub/chat-plugin-search-engine](https://github.com/lobehub/chat-plugin-search-engine) | 查询搜索引擎以获取信息<br/>`网络` `搜索` |
|
|
309
|
+
| [实时天气](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2023-08-12**</sup> | [lobehub/chat-plugin-realtime-weather](https://github.com/lobehub/chat-plugin-realtime-weather) | 获取实时天气信息<br/>`天气` `实时` |
|
|
310
|
+
|
|
311
|
+
> 📊 Total plugins: [<kbd>**4**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
312
|
+
|
|
313
|
+
<!-- PLUGIN LIST -->
|
|
294
314
|
|
|
295
315
|
<div align="right">
|
|
296
316
|
|
|
@@ -366,14 +386,11 @@ This project is [MIT](./LICENSE) licensed.
|
|
|
366
386
|
[bun-link]: https://bun.sh
|
|
367
387
|
[bun-shield]: https://img.shields.io/badge/-speedup%20with%20bun-black?logo=bun&style=for-the-badge
|
|
368
388
|
[chat-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/desktop/pagespeed.svg
|
|
369
|
-
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/
|
|
389
|
+
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/chat_preview_lobehub_com_chat.html
|
|
370
390
|
[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg
|
|
371
|
-
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/
|
|
372
|
-
[chat-plugin-realtime-weather]: https://github.com/lobehub/chat-plugin-realtime-weather
|
|
391
|
+
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/chat_preview_lobehub_com_chat.html
|
|
373
392
|
[chat-plugin-sdk]: https://github.com/lobehub/chat-plugin-sdk
|
|
374
|
-
[chat-plugin-search-engine]: https://github.com/lobehub/chat-plugin-search-engine
|
|
375
393
|
[chat-plugin-template]: https://github.com/lobehub/chat-plugin-template
|
|
376
|
-
[chat-plugin-web-crawler]: https://github.com/lobehub/chat-plugin-web-crawler
|
|
377
394
|
[chat-plugins-gateway]: https://github.com/lobehub/chat-plugins-gateway
|
|
378
395
|
[codespaces-link]: https://codespaces.new/lobehub/lobe-chat
|
|
379
396
|
[codespaces-shield]: https://github.com/codespaces/badge.svg
|
|
@@ -37,13 +37,13 @@ After completing the above field configuration, click on "Check". If the prompt
|
|
|
37
37
|
|
|
38
38
|
If you want the deployed version to be directly configured with Azure OpenAI for end users to use immediately, you need to configure the following environment variables at deployment:
|
|
39
39
|
|
|
40
|
-
| Environment Variable | Required | Description | Default Value | Example
|
|
41
|
-
| -------------------- | -------- | --------------------------------------------------------------------------------- | ------------------ |
|
|
42
|
-
| `USE_AZURE_OPENAI` | Yes | Set this value to `1` to enable Azure OpenAI configuration | - | `1`
|
|
43
|
-
| `AZURE_API_KEY` | Yes | This is the API key you applied for on the Azure OpenAI account page | - | `c55168be3874490ef0565d9779ecd5a6`
|
|
44
|
-
| `OPENAI_PROXY_URL` | Yes | Azure API address, can be found in the "Keys and Endpoints" section | - | `https://docs-test-001.openai.azure.com`
|
|
40
|
+
| Environment Variable | Required | Description | Default Value | Example |
|
|
41
|
+
| -------------------- | -------- | --------------------------------------------------------------------------------- | ------------------ | -------------------------------------------------------------- |
|
|
42
|
+
| `USE_AZURE_OPENAI` | Yes | Set this value to `1` to enable Azure OpenAI configuration | - | `1` |
|
|
43
|
+
| `AZURE_API_KEY` | Yes | This is the API key you applied for on the Azure OpenAI account page | - | `c55168be3874490ef0565d9779ecd5a6` |
|
|
44
|
+
| `OPENAI_PROXY_URL` | Yes | Azure API address, can be found in the "Keys and Endpoints" section | - | `https://docs-test-001.openai.azure.com` |
|
|
45
45
|
| `AZURE_API_VERSION` | No | Azure's API version, follows the YYYY-MM-DD format | 2023-08-01-preview | `2023-05-15`, refer to [latest version][azure-api-version-url] |
|
|
46
|
-
| `ACCESS_CODE` | No | Add a password to access this service, the password should be 6 digits or letters | - | `awCT74` or `e3@09!`
|
|
46
|
+
| `ACCESS_CODE` | No | Add a password to access this service, the password should be 6 digits or letters | - | `awCT74` or `e3@09!` |
|
|
47
47
|
|
|
48
48
|
> **Note**\
|
|
49
49
|
> When you enable `USE_AZURE_OPENAI` on the server side, users will not be able to modify and use the OpenAI key in the front-end configuration.
|
package/docs/Home.md
CHANGED
|
@@ -12,13 +12,19 @@ LobeChat is a open-source, extensible ([Function Calling][fc-url]), high-perform
|
|
|
12
12
|
|
|
13
13
|

|
|
14
14
|
|
|
15
|
-
### 🤯 LobeChat
|
|
15
|
+
### 🤯 LobeChat Usage
|
|
16
|
+
|
|
17
|
+
- [Custom Agents Guide](Usage-Agents) | [自定义助手指南](Usage-Agents.zh-CN)
|
|
18
|
+
- [Topics Guide](Usage-Topics) | [话题指南](Usage-Topics.zh-CN)
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
#### 🛳 Self Hosting
|
|
16
23
|
|
|
17
24
|
- [Environment Variables](Environment-Variable) | [环境变量](Environment-Variable.zh-CN)
|
|
18
25
|
- [Maintaining Updates with LobeChat Self-Deployment](Upstream-Sync) | [自部署保持更新](Upstream-Sync.zh-CN)
|
|
19
26
|
- [Deploying with Azure OpenAI](Deploy-with-Azure-OpenAI) | [使用 Azure OpenAI 部署](Deploy-with-Azure-OpenAI.zh-CN)
|
|
20
27
|
- [Docker Deployment Guide](Docker-Deployment) | [Docker 部署指引](Docker-Deployment.zh-CN)
|
|
21
|
-
- [Lighthouse Report](Lighthouse) | [性能测试](Lighthouse.zh-CN)
|
|
22
28
|
|
|
23
29
|
---
|
|
24
30
|
|
|
@@ -36,6 +42,12 @@ LobeChat is a open-source, extensible ([Function Calling][fc-url]), high-perform
|
|
|
36
42
|
|
|
37
43
|
---
|
|
38
44
|
|
|
45
|
+
#### 📊 Other
|
|
46
|
+
|
|
47
|
+
- [Lighthouse Report](Lighthouse) | [性能测试](Lighthouse.zh-CN)
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
39
51
|
<details><summary><h4>📝 License</h4></summary>
|
|
40
52
|
|
|
41
53
|
[![][fossa-license-shield]][fossa-license-url]
|
package/docs/Lighthouse.md
CHANGED
|
@@ -48,18 +48,18 @@
|
|
|
48
48
|
| [⚡️ Lighthouse Report][settings-desktop-report] | [⚡️ Lighthouse Report][settings-mobile-report] |
|
|
49
49
|
|
|
50
50
|
[chat-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/desktop/pagespeed.svg
|
|
51
|
-
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/
|
|
51
|
+
[chat-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/desktop/chat_preview_lobehub_com_chat.html
|
|
52
52
|
[chat-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/chat/mobile/pagespeed.svg
|
|
53
|
-
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/
|
|
53
|
+
[chat-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/chat/mobile/chat_preview_lobehub_com_chat.html
|
|
54
54
|
[market-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/market/desktop/pagespeed.svg
|
|
55
|
-
[market-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/market/desktop/
|
|
55
|
+
[market-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/market/desktop/chat_preview_lobehub_com_market.html
|
|
56
56
|
[market-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/market/mobile/pagespeed.svg
|
|
57
|
-
[market-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/market/mobile/
|
|
57
|
+
[market-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/market/mobile/chat_preview_lobehub_com_market.html
|
|
58
58
|
[settings-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/settings/desktop/pagespeed.svg
|
|
59
|
-
[settings-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/settings/desktop/
|
|
59
|
+
[settings-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/settings/desktop/chat_preview_lobehub_com_settings.html
|
|
60
60
|
[settings-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/settings/mobile/pagespeed.svg
|
|
61
|
-
[settings-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/settings/mobile/
|
|
61
|
+
[settings-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/settings/mobile/chat_preview_lobehub_com_settings.html
|
|
62
62
|
[welcome-desktop]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/welcome/desktop/pagespeed.svg
|
|
63
|
-
[welcome-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/welcome/desktop/
|
|
63
|
+
[welcome-desktop-report]: https://lobehub.github.io/lobe-chat/lighthouse/welcome/desktop/chat_preview_lobehub_com_welcome.html
|
|
64
64
|
[welcome-mobile]: https://raw.githubusercontent.com/lobehub/lobe-chat/lighthouse/lighthouse/welcome/mobile/pagespeed.svg
|
|
65
|
-
[welcome-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/welcome/mobile/
|
|
65
|
+
[welcome-mobile-report]: https://lobehub.github.io/lobe-chat/lighthouse/welcome/mobile/chat_preview_lobehub_com_welcome.html
|
|
@@ -261,10 +261,10 @@ If you want more people to use your plugin, you are welcome to submit it for rev
|
|
|
261
261
|
|
|
262
262
|
### Plugin Shield
|
|
263
263
|
|
|
264
|
-
[](https://github.com/lobehub/lobe-chat-plugins)
|
|
265
265
|
|
|
266
266
|
```markdown
|
|
267
|
-
[](https://github.com/lobehub/lobe-chat-plugins)
|
|
268
268
|
```
|
|
269
269
|
|
|
270
270
|
<br/>
|
|
@@ -283,5 +283,5 @@ If you want more people to use your plugin, you are welcome to submit it for rev
|
|
|
283
283
|
[lobe-chat-plugin-template-url]: https://github.com/lobehub/chat-plugin-template
|
|
284
284
|
[manifest-docs-url]: https://chat-plugin-sdk.lobehub.com/guides/plugin-manifest
|
|
285
285
|
[plugin-error-type-url]: https://github.com/lobehub/chat-plugin-template
|
|
286
|
-
[submit-plugin-shield]: https://img.shields.io/badge/🧩/🏪_submit_plugin-%E2%86%92-
|
|
286
|
+
[submit-plugin-shield]: https://img.shields.io/badge/🧩/🏪_submit_plugin-%E2%86%92-95f3d9?labelColor=black&style=for-the-badge
|
|
287
287
|
[submit-plugin-url]: https://github.com/lobehub/lobe-chat-plugins
|
|
@@ -260,10 +260,10 @@ export default Render;
|
|
|
260
260
|
|
|
261
261
|
### 插件 Shield
|
|
262
262
|
|
|
263
|
-
[](https://github.com/lobehub/lobe-chat-plugins)
|
|
264
264
|
|
|
265
265
|
```markdown
|
|
266
|
-
[](https://github.com/lobehub/lobe-chat-plugins)
|
|
267
267
|
```
|
|
268
268
|
|
|
269
269
|
<br/>
|
|
@@ -282,5 +282,5 @@ export default Render;
|
|
|
282
282
|
[lobe-chat-plugin-template-url]: https://github.com/lobehub/chat-plugin-template
|
|
283
283
|
[manifest-docs-url]: https://chat-plugin-sdk.lobehub.com/guides/plugin-manifest
|
|
284
284
|
[plugin-error-type-url]: https://github.com/lobehub/chat-plugin-template
|
|
285
|
-
[submit-plugin-shield]: https://img.shields.io/badge/🧩/🏪_submit_plugin-%E2%86%92-
|
|
285
|
+
[submit-plugin-shield]: https://img.shields.io/badge/🧩/🏪_submit_plugin-%E2%86%92-95f3d9?labelColor=black&style=for-the-badge
|
|
286
286
|
[submit-plugin-url]: https://github.com/lobehub/lobe-chat-plugins
|