@lobehub/chat 0.129.2 → 0.129.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/CHANGELOG.md CHANGED
@@ -2,6 +2,56 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 0.129.4](https://github.com/lobehub/lobe-chat/compare/v0.129.3...v0.129.4)
6
+
7
+ <sup>Released on **2024-02-24**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **ollama**: Fix gemma model id.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **ollama**: Fix gemma model id, closes [#1377](https://github.com/lobehub/lobe-chat/issues/1377) ([3da50ff](https://github.com/lobehub/lobe-chat/commit/3da50ff))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
30
+ ### [Version 0.129.3](https://github.com/lobehub/lobe-chat/compare/v0.129.2...v0.129.3)
31
+
32
+ <sup>Released on **2024-02-23**</sup>
33
+
34
+ #### 💄 Styles
35
+
36
+ - **misc**: Add gemma model logo for ollama.
37
+
38
+ <br/>
39
+
40
+ <details>
41
+ <summary><kbd>Improvements and Fixes</kbd></summary>
42
+
43
+ #### Styles
44
+
45
+ - **misc**: Add gemma model logo for ollama, closes [#1369](https://github.com/lobehub/lobe-chat/issues/1369) ([e2fb3a3](https://github.com/lobehub/lobe-chat/commit/e2fb3a3))
46
+
47
+ </details>
48
+
49
+ <div align="right">
50
+
51
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
52
+
53
+ </div>
54
+
5
55
  ### [Version 0.129.2](https://github.com/lobehub/lobe-chat/compare/v0.129.1...v0.129.2)
6
56
 
7
57
  <sup>Released on **2024-02-23**</sup>
package/README.md CHANGED
@@ -1,17 +1,14 @@
1
- <a name="readme-top"></a>
1
+ <div align="center"><a name="readme-top"></a>
2
2
 
3
- <div align="center">
4
-
5
- <img height="120" src="https://registry.npmmirror.com/@lobehub/assets-logo/1.0.0/files/assets/logo-3d.webp">
6
- <img height="120" src="https://gw.alipayobjects.com/zos/kitchen/qJ3l3EPsdW/split.svg">
7
- <img height="120" src="https://registry.npmmirror.com/@lobehub/assets-emoji-anim/1.0.0/files/assets/robot.webp">
3
+ [![][image-banner]][vercel-link]
8
4
 
9
5
  # Lobe Chat
10
6
 
11
- LobeChat is an open-source, high-performance chatbot framework<br/>that supports speech synthesis, multimodal, and extensible ([Function Call][fc-link]) plugin system. <br/>
12
- Supports one-click free deployment of your private ChatGPT/LLM web application.
7
+ An open-source, modern-design ChatGPT/LLMs UI/Framework.<br/>
8
+ Supports speech-synthesis, multi-modal, and extensible ([function call][docs-functionc-call]) plugin system.<br/>
9
+ One-click **FREE** deployment of your private ChatGPT/Gemini/Ollama chat application.
13
10
 
14
- **English** · [简体中文](./README.zh-CN.md) · [Changelog](./CHANGELOG.md) · [Documents][github-document-link] · [Report Bug][github-issues-link] · [Request Feature][github-issues-link]
11
+ **English** · [简体中文](./README.zh-CN.md) · [Changelog](./CHANGELOG.md) · [Documents][docs] · [Report Bug][github-issues-link] · [Request Feature][github-issues-link]
15
12
 
16
13
  <!-- SHIELD GROUP -->
17
14
 
@@ -44,8 +41,7 @@ Supports one-click free deployment of your private ChatGPT/LLM web application.
44
41
 
45
42
  [![][github-trending-shield]][github-trending-url]
46
43
 
47
- ![](https://github.com/lobehub/lobe-chat/assets/28616219/9f155dff-4737-429f-9cad-a70a1a860c5f)
48
- ![](https://github.com/lobehub/lobe-chat/assets/28616219/8b04c3c9-3d71-4fb4-bd9b-a4f415c5876d)
44
+ [![][image-overview]][vercel-link]
49
45
 
50
46
  </div>
51
47
 
@@ -56,6 +52,17 @@ Supports one-click free deployment of your private ChatGPT/LLM web application.
56
52
 
57
53
  - [👋🏻 Getting Started & Join Our Community](#-getting-started--join-our-community)
58
54
  - [✨ Features](#-features)
55
+ - [`1` Multi-Model Service Provider Support](#1-multi-model-service-provider-support)
56
+ - [`2` Local Large Language Model (LLM) Support](#2-local-large-language-model-llm-support)
57
+ - [`3` Model Visual Recognition](#3-model-visual-recognition)
58
+ - [`4` TTS & STT Voice Conversation](#4-tts--stt-voice-conversation)
59
+ - [`5` Text to Image Generation](#5-text-to-image-generation)
60
+ - [`6` Plugin System (Function Calling)](#6-plugin-system-function-calling)
61
+ - [`7` Agent Market (GPTs)](#7-agent-market-gpts)
62
+ - [`8` Progressive Web App (PWA)](#8-progressive-web-app-pwa)
63
+ - [`9` Mobile Device Adaptation](#9-mobile-device-adaptation)
64
+ - [`10` Custom Themes](#10-custom-themes)
65
+ - [`*` What's more](#-whats-more)
59
66
  - [⚡️ Performance](#️-performance)
60
67
  - [🛳 Self Hosting](#-self-hosting)
61
68
  - [`A` Deploying with Vercel, Zeabur or Sealos](#a-deploying-with-vercel-zeabur-or-sealos)
@@ -65,7 +72,7 @@ Supports one-click free deployment of your private ChatGPT/LLM web application.
65
72
  - [🧩 Plugins](#-plugins)
66
73
  - [⌨️ Local Development](#️-local-development)
67
74
  - [🤝 Contributing](#-contributing)
68
- - [🩷 Sponsor](#-sponsor)
75
+ - [❤️ Sponsor](#️-sponsor)
69
76
  - [🔗 More Products](#-more-products)
70
77
 
71
78
  ####
@@ -76,7 +83,10 @@ Supports one-click free deployment of your private ChatGPT/LLM web application.
76
83
 
77
84
  ## 👋🏻 Getting Started & Join Our Community
78
85
 
79
- We are a group of e/acc design-engineers, hoping to provide modern design components and tools for AIGC. Whether for users or professional developers, LobeHub will be your AI Agent playground. Please be aware that LobeChat is currently under active development, and feedback is welcome for any [issues][issues-link] encountered.
86
+ We are a group of e/acc design-engineers, hoping to provide modern design components and tools for AIGC.
87
+ By adopting the Bootstrapping approach, we aim to provide developers and users with a more open, transparent, and user-friendly product ecosystem.
88
+
89
+ Whether for users or professional developers, LobeHub will be your AI Agent playground. Please be aware that LobeChat is currently under active development, and feedback is welcome for any [issues][issues-link] encountered.
80
90
 
81
91
  | [![][vercel-shield-badge]][vercel-link] | No installation or registration necessary! Visit our website to experience it firsthand. |
82
92
  | :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------- |
@@ -86,7 +96,7 @@ We are a group of e/acc design-engineers, hoping to provide modern design compon
86
96
  >
87
97
  > **Star Us**, You will receive all release notifications from GitHub without any delay \~ ⭐️
88
98
 
89
- ![](https://gw.alipayobjects.com/zos/kitchen/0hcO8QiU9c/star.webp)
99
+ [![][image-star]][github-stars-link]
90
100
 
91
101
  <details>
92
102
  <summary><kbd>Star History</kbd></summary>
@@ -98,9 +108,50 @@ We are a group of e/acc design-engineers, hoping to provide modern design compon
98
108
 
99
109
  ## ✨ Features
100
110
 
101
- ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072129-382bdf30-e3d6-4411-b5a0-249710b8ba08.png)
111
+ [![][image-feat-privoder]][docs-feat-provider]
112
+
113
+ ### `1` [Multi-Model Service Provider Support][docs-feat-provider]
114
+
115
+ In the continuous development of LobeChat, we deeply understand the importance of diversity in model service providers for meeting the needs of the community when providing AI conversation services. Therefore, we have expanded our support to multiple model service providers, rather than being limited to a single one, in order to offer users a more diverse and rich selection of conversations.
116
+
117
+ In this way, LobeChat can more flexibly adapt to the needs of different users, while also providing developers with a wider range of choices.
118
+
119
+ #### Supported Model Service Providers
120
+
121
+ We have implemented support for the following model service providers:
122
+
123
+ - **AWS Bedrock**: Integrated with AWS Bedrock service, supporting models such as **Claude / LLama2**, providing powerful natural language processing capabilities. [Learn more](https://aws.amazon.com/cn/bedrock)
124
+ - **Google AI (Gemini Pro, Gemini Vision)**: Access to Google's **Gemini** series models, including Gemini and Gemini Pro, to support advanced language understanding and generation. [Learn more](https://deepmind.google/technologies/gemini/)
125
+ - **ChatGLM**: Added the **ChatGLM** series models from Zhipuai (GLM-4/GLM-4-vision/GLM-3-turbo), providing users with another efficient conversation model choice. [Learn more](https://www.zhipuai.cn/)
126
+ - **Moonshot AI (Dark Side of the Moon)**: Integrated with the Moonshot series models, an innovative AI startup from China, aiming to provide deeper conversation understanding. [Learn more](https://www.moonshot.cn/)
127
+
128
+ At the same time, we are also planning to support more model service providers, such as Replicate and Perplexity, to further enrich our service provider library. If you would like LobeChat to support your favorite service provider, feel free to join our [community discussion](https://github.com/lobehub/lobe-chat/discussions/1284).
129
+
130
+ <div align="right">
102
131
 
103
- #### `1` Visual Model Support
132
+ [![][back-to-top]](#readme-top)
133
+
134
+ </div>
135
+
136
+ [![][image-feat-local]][docs-feat-local]
137
+
138
+ ### `2` [Local Large Language Model (LLM) Support][docs-feat-local]
139
+
140
+ 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.
141
+
142
+ > \[!TIP]
143
+ >
144
+ > Learn more about [📘 Using Ollama in LobeChat][docs-usage-ollama] by checking it out.
145
+
146
+ <div align="right">
147
+
148
+ [![][back-to-top]](#readme-top)
149
+
150
+ </div>
151
+
152
+ [![][image-feat-vision]][docs-feat-vision]
153
+
154
+ ### `3` [Model Visual Recognition][docs-feat-vision]
104
155
 
105
156
  LobeChat now supports OpenAI's latest [`gpt-4-vision`](https://platform.openai.com/docs/guides/vision) model with visual recognition capabilities,
106
157
  a multimodal intelligence that can perceive visuals. Users can easily upload or drag and drop images into the dialogue box,
@@ -116,9 +167,9 @@ Whether it's sharing images in daily use or interpreting images within specific
116
167
 
117
168
  </div>
118
169
 
119
- ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072124-c9853d8d-f1b5-44a8-a305-45ebc0f6d19a.png)
170
+ [![][image-feat-tts]][docs-feat-tts]
120
171
 
121
- #### `2` TTS & STT Voice Speech
172
+ ### `4` [TTS & STT Voice Conversation][docs-feat-tts]
122
173
 
123
174
  LobeChat supports Text-to-Speech (TTS) and Speech-to-Text (STT) technologies, enabling our application to convert text messages into clear voice outputs,
124
175
  allowing users to interact with our conversational agent as if they were talking to a real person. Users can choose from a variety of voices to pair with the agent.
@@ -127,28 +178,15 @@ Moreover, TTS offers an excellent solution for those who prefer auditory learnin
127
178
  In LobeChat, we have meticulously selected a range of high-quality voice options (OpenAI Audio, Microsoft Edge Speech) to meet the needs of users from different regions and cultural backgrounds.
128
179
  Users can choose the voice that suits their personal preferences or specific scenarios, resulting in a personalized communication experience.
129
180
 
130
- > \[!NOTE]
131
- >
132
- > In the process of implementing this feature, we found that there was no satisfactory TTS (Text-to-Speech) frontend library available on the market.
133
- > As a result, we invested a lot of effort, including data conversion, audio progress management, and speech visualization, among other tasks.
134
-
135
- > \[!IMPORTANT]
136
- >
137
- > Therefore, we decided to refine our implementation and make it open source, hoping to assist developers who wish to implement TTS.
138
- > [@lobehub/tts][lobe-tts-github] is a high-quality TTS toolkit developed in TypeScript, which supports usage both on the server-side and in the browser.
139
- >
140
- > - **Server-side:** With just 15 lines of code, you can achieve high-quality voice generation capabilities comparable to OpenAI's TTS service. It currently supports EdgeSpeechTTS, MicrosoftTTS, OpenAITTS, and OpenAISTT.
141
- > - **Browser-side:** It provides high-quality React Hooks and visual audio components, supporting common functions such as loading, playing, pausing, and dragging the timeline. Additionally, it offers a very rich set of capabilities for adjusting the audio track styles.
142
-
143
181
  <div align="right">
144
182
 
145
183
  [![][back-to-top]](#readme-top)
146
184
 
147
185
  </div>
148
186
 
149
- ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/297746445-0ff762b9-aa08-4337-afb7-12f932b6efbb.png)
187
+ [![][image-feat-t2i]][docs-feat-t2i]
150
188
 
151
- #### `3` Text to Image
189
+ ### `5` [Text to Image Generation][docs-feat-t2i]
152
190
 
153
191
  With support for the latest text-to-image generation technology, LobeChat now allows users to invoke image creation tools directly within conversations with the agent. By leveraging 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/), the agents are now equipped to transform your ideas into images.
154
192
 
@@ -160,30 +198,21 @@ This enables a more private and immersive creative process, allowing for the sea
160
198
 
161
199
  </div>
162
200
 
163
- ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670883-33c43a5c-a512-467e-855c-fa299548cce5.png)
164
-
165
- #### `4` Function Calling Plugin System
201
+ [![][image-feat-plugin]][docs-feat-plugin]
166
202
 
167
- The plugin ecosystem of LobeChat is a significant extension of its core functionalities, greatly enhancing the practicality and flexibility of ChatGPT.
168
- By leveraging plugins, ChatGPT can perform real-time information retrieval and processing,
169
- such as automatically fetching the latest news headlines to provide users with immediate and relevant information.
170
- Moreover, these plugins are not limited to news aggregation but can also extend to other practical functions, such as quick document retrieval,
171
- e-commerce platform data access, and various third-party services.
203
+ ### `6` [Plugin System (Function Calling)][docs-feat-plugin]
172
204
 
173
- > Learn More in [📘 Plugin Usage](https://chat-docs.lobehub.com/en/usage/plugins/basic)
205
+ The plugin ecosystem of LobeChat is an important extension of its core functionality, greatly enhancing the practicality and flexibility of the LobeChat assistant.
174
206
 
175
207
  <video controls src="https://github.com/lobehub/lobe-chat/assets/28616219/f29475a3-f346-4196-a435-41a6373ab9e2" muted="false"></video>
176
208
 
177
- > \[!TIP]
178
- >
179
- > To aid developers in joining this ecosystem, we provide comprehensive development resources in the [🧩 Plugin System](#-plugins) section.
180
- > This includes detailed component development documentation,
181
- > a fully-featured software development kit (SDK), and template files—all designed to simplify the development process and lower the barrier to entry for developers.
209
+ 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.
182
210
 
183
- > \[!IMPORTANT]
211
+ 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.
212
+
213
+ > \[!TIP]
184
214
  >
185
- > We welcome developers to use these resources to unleash their creativity and write feature-rich, user-friendly plugins.
186
- > With collective efforts, we can continuously expand the boundaries of chat applications and explore a more intelligent and efficient creativity platform.
215
+ > Learn more about [📘 Plugin Usage][docs-usage-plugin] by checking it out.
187
216
 
188
217
  <!-- PLUGIN LIST -->
189
218
 
@@ -204,11 +233,11 @@ e-commerce platform data access, and various third-party services.
204
233
 
205
234
  </div>
206
235
 
207
- ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670869-f1ffbf66-42b6-42cf-a937-9ce1f8328514.png)
236
+ [![][image-feat-agent]][docs-feat-agent]
208
237
 
209
- #### `5` Agent Market
238
+ ### `7` [Agent Market (GPTs)][docs-feat-agent]
210
239
 
211
- In the LobeChat Agent Marketplace, creators can discover a vibrant and innovative community that brings together a multitude of well-designed agents,
240
+ In LobeChat Agent Marketplace, creators can discover a vibrant and innovative community that brings together a multitude of well-designed agents,
212
241
  which not only play an important role in work scenarios but also offer great convenience in learning processes.
213
242
  Our marketplace is not just a showcase platform but also a collaborative space. Here, everyone can contribute their wisdom and share the agents they have developed.
214
243
 
@@ -226,12 +255,12 @@ Our marketplace is not just a showcase platform but also a collaborative space.
226
255
 
227
256
  <!-- AGENT LIST -->
228
257
 
229
- | Recent Submits | Description |
230
- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
231
- | [Facebook Advertising Writing Expert](https://chat-preview.lobehub.com/market?agent=facebook-advertising-writing-expert)<br/><sup>By **[pllz7](https://github.com/pllz7)** on **2024-02-19**</sup> | Specializing in creating attention-grabbing headlines, compelling primary texts, and effective ad copy<br/>`facebook` `advertising` `writing` `expert` `ecommerce` |
232
- | [Jira Story Facilitator](https://chat-preview.lobehub.com/market?agent=jira-product-manager)<br/><sup>By **[emad-pg](https://github.com/emad-pg)** on **2024-02-19**</sup> | Specialized in transforming feature ideas into comprehensive Jira stories<br/>`technical-product-management` `story-creation` `jira` |
233
- | [ThinkTank360](https://chat-preview.lobehub.com/market?agent=think-tank-business-strategy)<br/><sup>By **[mikelix](https://github.com/mikelix)** on **2024-02-19**</sup> | Skilled consultant channeling wisdom of Steve Jobs, Elon Musk, MA Yun, Plato, and Ray Dalio for decision reviews, judgements, and advice.<br/>`innovation` `wisdom` `think-tank` `business-strategy` |
234
- | [Translation Specialist](https://chat-preview.lobehub.com/market?agent=translation-specialist)<br/><sup>By **[MYSeaIT](https://github.com/MYSeaIT)** on **2024-02-19**</sup> | Expert translator fluent in Spanish and English<br/>`translation` `language` `expert` `guidelines` |
258
+ | Recent Submits | Description |
259
+ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
260
+ | [LobeChat Technical Documentation Expert](https://chat-preview.lobehub.com/market?agent=lobe-chat-developer-document-writer)<br/><sup>By **[arvinxx](https://github.com/arvinxx)** on **2024-02-22**</sup> | LobeChat is an AI conversation application built with the Next.js framework. I will help you write the development documentation for LobeChat.<br/>`development-documentation` `technical-introduction` `next-js` `react` `lobe-chat` |
261
+ | [Facebook Advertising Writing Expert](https://chat-preview.lobehub.com/market?agent=facebook-advertising-writing-expert)<br/><sup>By **[pllz7](https://github.com/pllz7)** on **2024-02-19**</sup> | Specializing in creating attention-grabbing headlines, compelling primary texts, and effective ad copy<br/>`facebook` `advertising` `writing` `expert` `ecommerce` |
262
+ | [Jira Story Facilitator](https://chat-preview.lobehub.com/market?agent=jira-product-manager)<br/><sup>By **[emad-pg](https://github.com/emad-pg)** on **2024-02-19**</sup> | Specialized in transforming feature ideas into comprehensive Jira stories<br/>`technical-product-management` `story-creation` `jira` |
263
+ | [ThinkTank360](https://chat-preview.lobehub.com/market?agent=think-tank-business-strategy)<br/><sup>By **[mikelix](https://github.com/mikelix)** on **2024-02-19**</sup> | Skilled consultant channeling wisdom of Steve Jobs, Elon Musk, MA Yun, Plato, and Ray Dalio for decision reviews, judgements, and advice.<br/>`innovation` `wisdom` `think-tank` `business-strategy` |
235
264
 
236
265
  > 📊 Total agents: [<kbd>**181**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
237
266
 
@@ -243,9 +272,9 @@ Our marketplace is not just a showcase platform but also a collaborative space.
243
272
 
244
273
  </div>
245
274
 
246
- ![](https://gw.alipayobjects.com/zos/kitchen/69x6bllkX3/pwa.webp)
275
+ [![][image-feat-pwa]][docs-feat-pwa]
247
276
 
248
- #### `6` Progressive Web App
277
+ ### `8` [Progressive Web App (PWA)][docs-feat-pwa]
249
278
 
250
279
  We deeply understand the importance of providing a seamless experience for users in today's multi-device environment.
251
280
  Therefore, we have adopted Progressive Web Application ([PWA](https://support.google.com/chrome/answer/9658361)) technology,
@@ -270,9 +299,9 @@ providing smooth animations, responsive layouts, and adapting to different devic
270
299
 
271
300
  </div>
272
301
 
273
- ![](https://gw.alipayobjects.com/zos/kitchen/R441AuFS4W/mobile.webp)
302
+ [![][image-feat-mobile]][docs-feat-mobile]
274
303
 
275
- #### `7` Mobile Device Adaptation
304
+ ### `9` [Mobile Device Adaptation][docs-feat-mobile]
276
305
 
277
306
  We have carried out a series of optimization designs for mobile devices to enhance the user's mobile experience. Currently, we are iterating on the mobile user experience to achieve smoother and more intuitive interactions. If you have any suggestions or ideas, we welcome you to provide feedback through GitHub Issues or Pull Requests.
278
307
 
@@ -282,9 +311,9 @@ We have carried out a series of optimization designs for mobile devices to enhan
282
311
 
283
312
  </div>
284
313
 
285
- ![](https://gw.alipayobjects.com/zos/kitchen/pvus1lo%26Z7/darkmode.webp)
314
+ [![][image-feat-theme]][docs-feat-theme]
286
315
 
287
- #### `8` Theme Mode Selection
316
+ ### `10` [Custom Themes][docs-feat-theme]
288
317
 
289
318
  As a design-engineering-oriented application, LobeChat places great emphasis on users' personalized experiences,
290
319
  hence introducing flexible and diverse theme modes, including a light mode for daytime and a dark mode for nighttime.
@@ -302,7 +331,7 @@ Whether it's a desire for a sober dark blue, a lively peach pink, or a professio
302
331
 
303
332
  </div>
304
333
 
305
- #### What's more
334
+ ### `*` What's more
306
335
 
307
336
  Beside these features, LobeChat also have much better basic technique underground:
308
337
 
@@ -330,7 +359,7 @@ Beside these features, LobeChat also have much better basic technique undergroun
330
359
 
331
360
  > \[!NOTE]
332
361
  >
333
- > The complete list of reports can be found in the [📘 Lighthouse Reports](https://github.com/lobehub/lobe-chat/wiki/Lighthouse)
362
+ > The complete list of reports can be found in the [📘 Lighthouse Reports][docs-lighthouse]
334
363
 
335
364
  | Desktop | Mobile |
336
365
  | :-----------------------------------------: | :----------------------------------------: |
@@ -347,6 +376,10 @@ Beside these features, LobeChat also have much better basic technique undergroun
347
376
 
348
377
  LobeChat provides Self-Hosted Version with Vercel and [Docker Image][docker-release-link]. This allows you to deploy your own chatbot within a few minutes without any prior knowledge.
349
378
 
379
+ > \[!TIP]
380
+ >
381
+ > Learn more about [📘 Build your own LobeChat][docs-self-hosting] by checking it out.
382
+
350
383
  ### `A` Deploying with Vercel, Zeabur or Sealos
351
384
 
352
385
  If you want to deploy this service yourself on either Vercel or Zeabur, you can follow these steps:
@@ -370,7 +403,7 @@ If you have deployed your own project following the one-click deployment steps i
370
403
 
371
404
  > \[!TIP]
372
405
  >
373
- > We suggest you redeploy using the following steps, [📘 Maintaining Updates with LobeChat Self-Deployment](https://github.com/lobehub/lobe-chat/wiki/Upstream-Sync).
406
+ > We suggest you redeploy using the following steps, [📘 Auto Sync With Latest][docs-upstream-sync]
374
407
 
375
408
  <br/>
376
409
 
@@ -405,7 +438,7 @@ $ docker run -d -p 3210:3210 \
405
438
 
406
439
  > \[!NOTE]
407
440
  >
408
- > For detailed instructions on deploying with Docker, please refer to the [📘 Docker Deployment Guide](https://github.com/lobehub/lobe-chat/wiki/Docker-Deployment)
441
+ > For detailed instructions on deploying with Docker, please refer to the [📘 Docker Deployment Guide][docs-docker]
409
442
 
410
443
  <br/>
411
444
 
@@ -422,7 +455,7 @@ This project provides some additional configuration items set with environment v
422
455
 
423
456
  > \[!NOTE]
424
457
  >
425
- > The complete list of environment variables can be found in the [📘 Environment Variables](https://github.com/lobehub/lobe-chat/wiki/Environment-Variable)
458
+ > The complete list of environment variables can be found in the [📘 Environment Variables][docs-env-var]
426
459
 
427
460
  <div align="right">
428
461
 
@@ -432,12 +465,12 @@ This project provides some additional configuration items set with environment v
432
465
 
433
466
  ## 📦 Ecosystem
434
467
 
435
- | NPM | Repository | Description | Version |
436
- | ------------------------------- | ------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | --------------------------------------- |
437
- | [@lobehub/ui][lobe-ui-link] | [lobehub/lobe-ui][lobe-ui-github] | Lobe UI is an open-source UI component library dedicated to building AIGC web applications. | [![][lobe-ui-shield]][lobe-ui-link] |
438
- | [@lobehub/tts][lobe-tts-link] | [lobehub/lobe-tts][lobe-tts-github] | Lobe TTS is a high-quality & reliable TTS/STT React Hooks library | [![][lobe-tts-shield]][lobe-tts-link] |
439
- | [@lobehub/lint][lobe-lint-link] | [lobehub/lobe-lint][lobe-lint-github] | LobeLint provides configurations for ESlint, Stylelint, Commitlint, Prettier, Remark, and Semantic Release for LobeHub. | [![][lobe-lint-shield]][lobe-lint-link] |
440
- | @lobehub/assets | [lobehub/assets][lobe-assets-github] | Logo assets, favicons, webfonts for LobeHub. | |
468
+ | NPM | Repository | Description | Version |
469
+ | --------------------------------- | --------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------- |
470
+ | [@lobehub/ui][lobe-ui-link] | [lobehub/lobe-ui][lobe-ui-github] | Open-source UI component library dedicated to building AIGC web applications. | [![][lobe-ui-shield]][lobe-ui-link] |
471
+ | [@lobehub/icons][lobe-icons-link] | [lobehub/lobe-icons][lobe-icons-github] | Popular AI / LLM Model Brand SVG Logo and Icon Collection. | [![][lobe-icons-shield]][lobe-icons-link] |
472
+ | [@lobehub/tts][lobe-tts-link] | [lobehub/lobe-tts][lobe-tts-github] | High-quality & reliable TTS/STT React Hooks library | [![][lobe-tts-shield]][lobe-tts-link] |
473
+ | [@lobehub/lint][lobe-lint-link] | [lobehub/lobe-lint][lobe-lint-github] | Configurations for ESlint, Stylelint, Commitlint, Prettier, Remark, and Semantic Release for LobeHub. | [![][lobe-lint-shield]][lobe-lint-link] |
441
474
 
442
475
  <div align="right">
443
476
 
@@ -447,7 +480,7 @@ This project provides some additional configuration items set with environment v
447
480
 
448
481
  ## 🧩 Plugins
449
482
 
450
- Plugins provide a means to extend the [Function Calling][fc-link] capabilities of LobeChat. They can be used to introduce new function calls and even new ways to render message results. If you are interested in plugin development, please refer to our [📘 Plugin Development Guide](https://github.com/lobehub/lobe-chat/wiki/Plugin-Development) in the Wiki.
483
+ Plugins provide a means to extend the [Function Calling][docs-functionc-call] capabilities of LobeChat. They can be used to introduce new function calls and even new ways to render message results. If you are interested in plugin development, please refer to our [📘 Plugin Development Guide][docs-plugin-dev] in the Wiki.
451
484
 
452
485
  - [lobe-chat-plugins][lobe-chat-plugins]: This is the plugin index for LobeChat. It accesses index.json from this repository to display a list of available plugins for LobeChat to the user.
453
486
  - [chat-plugin-template][chat-plugin-template]: This is the plugin template for LobeChat plugin development.
@@ -460,7 +493,7 @@ Plugins provide a means to extend the [Function Calling][fc-link] capabilities o
460
493
  >
461
494
  > - [x] [**Plugin Phase 1**](https://github.com/lobehub/lobe-chat/issues/73): Implement separation of the plugin from the main body, split the plugin into an independent repository for maintenance, and realize dynamic loading of the plugin.
462
495
  > - [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.
463
- > - [ ] [**Plugin Phase 3**](https://github.com/lobehub/lobe-chat/issues/149): Higher-level and more comprehensive customization capabilities, support for plugin authentication, and examples.
496
+ > - [x] [**Plugin Phase 3**](https://github.com/lobehub/lobe-chat/issues/149): Higher-level and more comprehensive customization capabilities, support for plugin authentication, and examples.
464
497
 
465
498
  <div align="right">
466
499
 
@@ -483,7 +516,7 @@ $ pnpm install
483
516
  $ pnpm dev
484
517
  ```
485
518
 
486
- If you would like to learn more details, please feel free to look at our [📘 Development Guide](https://github.com/lobehub/lobe-chat/wiki/index)
519
+ If you would like to learn more details, please feel free to look at our [📘 Development Guide][docs-dev-guide].
487
520
 
488
521
  <div align="right">
489
522
 
@@ -545,7 +578,7 @@ Contributions of all types are more than welcome; if you are interested in contr
545
578
 
546
579
  </div>
547
580
 
548
- ## 🩷 Sponsor
581
+ ## ❤️ Sponsor
549
582
 
550
583
  Every bit counts and your one-time donation sparkles in our galaxy of support! You're a shooting star, making a swift and bright impact on our journey. Thank you for believing in us – your generosity guides us toward our mission, one brilliant flash at a time.
551
584
 
@@ -564,7 +597,8 @@ Every bit counts and your one-time donation sparkles in our galaxy of support! Y
564
597
 
565
598
  ## 🔗 More Products
566
599
 
567
- - **[🤯 Lobe Theme][lobe-theme]:** The modern theme for Stable Diffusion WebUI, exquisite interface design, highly customizable UI, and efficiency-boosting features.
600
+ - **[🅰️ Lobe SD Theme][lobe-theme]:** Modern theme for Stable Diffusion WebUI, exquisite interface design, highly customizable UI, and efficiency-boosting features.
601
+ - **[⛵️ Lobe Midjourney WebUI][lobe-midjourney-webui]:** WebUI for Midjourney, leverages AI to quickly generate a wide array of rich and diverse images from text prompts, sparking creativity and enhancing conversations.
568
602
  - **[🌏 Lobe i18n][lobe-i18n] :** Lobe i18n is an automation tool for the i18n (internationalization) translation process, powered by ChatGPT. It supports features such as automatic splitting of large files, incremental updates, and customization options for the OpenAI model, API proxy, and temperature.
569
603
  - **[💌 Lobe Commit][lobe-commit]:** Lobe Commit is a CLI tool that leverages Langchain/ChatGPT to generate Gitmoji-based commit messages.
570
604
 
@@ -614,7 +648,27 @@ This project is [MIT](./LICENSE) licensed.
614
648
  [docker-release-shield]: https://img.shields.io/docker/v/lobehub/lobe-chat?color=369eff&label=docker&labelColor=black&logo=docker&logoColor=white&style=flat-square
615
649
  [docker-size-link]: https://hub.docker.com/r/lobehub/lobe-chat
616
650
  [docker-size-shield]: https://img.shields.io/docker/image-size/lobehub/lobe-chat?color=369eff&labelColor=black&style=flat-square
617
- [fc-link]: https://sspai.com/post/81986
651
+ [docs]: https://chat-docs.lobehub.com/en
652
+ [docs-dev-guide]: https://github.com/lobehub/lobe-chat/wiki/index
653
+ [docs-docker]: https://chat-docs.lobehub.com/en/self-hosting/platform/docker
654
+ [docs-env-var]: https://chat-docs.lobehub.com/en/self-hosting/environment-variables
655
+ [docs-feat-agent]: https://chat-docs.lobehub.com/en/usage/features/agent-market
656
+ [docs-feat-local]: https://chat-docs.lobehub.com/en/usage/features/local-llm
657
+ [docs-feat-mobile]: https://chat-docs.lobehub.com/en/usage/features/mobile
658
+ [docs-feat-plugin]: https://chat-docs.lobehub.com/en/usage/features/plugin-system
659
+ [docs-feat-provider]: https://chat-docs.lobehub.com/en/usage/features/multi-ai-providers
660
+ [docs-feat-pwa]: https://chat-docs.lobehub.com/en/usage/features/pwa
661
+ [docs-feat-t2i]: https://chat-docs.lobehub.com/en/usage/features/text-to-image
662
+ [docs-feat-theme]: https://chat-docs.lobehub.com/en/usage/features/theme
663
+ [docs-feat-tts]: https://chat-docs.lobehub.com/en/usage/features/tts
664
+ [docs-feat-vision]: https://chat-docs.lobehub.com/en/usage/features/vision
665
+ [docs-functionc-call]: https://platform.openai.com/docs/guides/function-calling
666
+ [docs-lighthouse]: https://github.com/lobehub/lobe-chat/wiki/Lighthouse
667
+ [docs-plugin-dev]: https://chat-docs.lobehub.com/en/usage/plugins/development
668
+ [docs-self-hosting]: https://chat-docs.lobehub.com/en/self-hosting/start
669
+ [docs-upstream-sync]: https://chat-docs.lobehub.com/en/self-hosting/advanced/upstream-sync
670
+ [docs-usage-ollama]: https://chat-docs.lobehub.com/en/usage/providers/ollama
671
+ [docs-usage-plugin]: https://chat-docs.lobehub.com/en/usage/plugins/basic
618
672
  [fossa-license-link]: https://app.fossa.com/projects/git%2Bgithub.com%2Flobehub%2Flobe-chat
619
673
  [fossa-license-shield]: https://app.fossa.com/api/projects/git%2Bgithub.com%2Flobehub%2Flobe-chat.svg?type=large
620
674
  [github-action-release-link]: https://github.com/actions/workflows/lobehub/lobe-chat/release.yml
@@ -623,7 +677,6 @@ This project is [MIT](./LICENSE) licensed.
623
677
  [github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/lobehub/lobe-chat/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
624
678
  [github-contributors-link]: https://github.com/lobehub/lobe-chat/graphs/contributors
625
679
  [github-contributors-shield]: https://img.shields.io/github/contributors/lobehub/lobe-chat?color=c4f042&labelColor=black&style=flat-square
626
- [github-document-link]: https://chat-docs.lobehub.com/en
627
680
  [github-forks-link]: https://github.com/lobehub/lobe-chat/network/members
628
681
  [github-forks-shield]: https://img.shields.io/github/forks/lobehub/lobe-chat?color=8ae8ff&labelColor=black&style=flat-square
629
682
  [github-issues-link]: https://github.com/lobehub/lobe-chat/issues
@@ -639,14 +692,30 @@ This project is [MIT](./LICENSE) licensed.
639
692
  [github-stars-shield]: https://img.shields.io/github/stars/lobehub/lobe-chat?color=ffcb47&labelColor=black&style=flat-square
640
693
  [github-trending-shield]: https://trendshift.io/api/badge/repositories/2256
641
694
  [github-trending-url]: https://trendshift.io/repositories/2256
695
+ [image-banner]: https://github.com/lobehub/lobe-chat/assets/28616219/9f155dff-4737-429f-9cad-a70a1a860c5f
696
+ [image-feat-agent]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670869-f1ffbf66-42b6-42cf-a937-9ce1f8328514.png
697
+ [image-feat-local]: https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c
698
+ [image-feat-mobile]: https://gw.alipayobjects.com/zos/kitchen/R441AuFS4W/mobile.webp
699
+ [image-feat-plugin]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670883-33c43a5c-a512-467e-855c-fa299548cce5.png
700
+ [image-feat-privoder]: https://github.com/lobehub/lobe-chat/assets/28616219/b164bc54-8ba2-4c1e-b2f2-f4d7f7e7a551
701
+ [image-feat-pwa]: https://gw.alipayobjects.com/zos/kitchen/69x6bllkX3/pwa.webp
702
+ [image-feat-t2i]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/297746445-0ff762b9-aa08-4337-afb7-12f932b6efbb.png
703
+ [image-feat-theme]: https://gw.alipayobjects.com/zos/kitchen/pvus1lo%26Z7/darkmode.webp
704
+ [image-feat-tts]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072124-c9853d8d-f1b5-44a8-a305-45ebc0f6d19a.png
705
+ [image-feat-vision]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072129-382bdf30-e3d6-4411-b5a0-249710b8ba08.png
706
+ [image-overview]: https://github.com/lobehub/lobe-chat/assets/28616219/8b04c3c9-3d71-4fb4-bd9b-a4f415c5876d
707
+ [image-star]: https://github.com/lobehub/lobe-chat/assets/17870709/cb06b748-513f-47c2-8740-d876858d7855
642
708
  [issues-link]: https://img.shields.io/github/issues/lobehub/lobe-chat.svg?style=flat
643
- [lobe-assets-github]: https://github.com/lobehub/lobe-assets
644
709
  [lobe-chat-plugins]: https://github.com/lobehub/lobe-chat-plugins
645
710
  [lobe-commit]: https://github.com/lobehub/lobe-commit/tree/master/packages/lobe-commit
646
711
  [lobe-i18n]: https://github.com/lobehub/lobe-commit/tree/master/packages/lobe-i18n
712
+ [lobe-icons-github]: https://github.com/lobehub/lobe-icons
713
+ [lobe-icons-link]: https://www.npmjs.com/package/@lobehub/icons
714
+ [lobe-icons-shield]: https://img.shields.io/npm/v/@lobehub/icons?color=369eff&labelColor=black&logo=npm&logoColor=white&style=flat-square
647
715
  [lobe-lint-github]: https://github.com/lobehub/lobe-lint
648
716
  [lobe-lint-link]: https://www.npmjs.com/package/@lobehub/lint
649
717
  [lobe-lint-shield]: https://img.shields.io/npm/v/@lobehub/lint?color=369eff&labelColor=black&logo=npm&logoColor=white&style=flat-square
718
+ [lobe-midjourney-webui]: https://github.com/lobehub/lobe-midjourney-webui
650
719
  [lobe-theme]: https://github.com/lobehub/sd-webui-lobe-theme
651
720
  [lobe-tts-github]: https://github.com/lobehub/lobe-tts
652
721
  [lobe-tts-link]: https://www.npmjs.com/package/@lobehub/tts
@@ -671,7 +740,7 @@ This project is [MIT](./LICENSE) licensed.
671
740
  [share-whatsapp-shield]: https://img.shields.io/badge/-share%20on%20whatsapp-black?labelColor=black&logo=whatsapp&logoColor=white&style=flat-square
672
741
  [share-x-link]: https://x.com/intent/tweet?hashtags=chatbot%2CchatGPT%2CopenAI&text=Check%20this%20GitHub%20repository%20out%20%F0%9F%A4%AF%20LobeChat%20-%20An%20open-source%2C%20extensible%20%28Function%20Calling%29%2C%20high-performance%20chatbot%20framework.%20It%20supports%20one-click%20free%20deployment%20of%20your%20private%20ChatGPT%2FLLM%20web%20application.&url=https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat
673
742
  [share-x-shield]: https://img.shields.io/badge/-share%20on%20x-black?labelColor=black&logo=x&logoColor=white&style=flat-square
674
- [sponsor-link]: https://opencollective.com/lobehub 'Become 🩷 LobeHub Sponsor'
743
+ [sponsor-link]: https://opencollective.com/lobehub 'Become ❤️ LobeHub Sponsor'
675
744
  [sponsor-shield]: https://img.shields.io/badge/-Sponsor%20LobeHub-f04f88?logo=opencollective&logoColor=white&style=flat-square
676
745
  [submit-agents-link]: https://github.com/lobehub/lobe-chat-agents
677
746
  [submit-agents-shield]: https://img.shields.io/badge/🤖/🏪_submit_agent-%E2%86%92-c4f042?labelColor=black&style=for-the-badge
package/README.zh-CN.md CHANGED
@@ -1,14 +1,12 @@
1
- <a name="readme-top"></a>
1
+ <div align="center"><a name="readme-top"></a>
2
2
 
3
- <div align="center">
4
-
5
- <img height="120" src="https://registry.npmmirror.com/@lobehub/assets-logo/1.0.0/files/assets/logo-3d.webp">
6
- <img height="120" src="https://gw.alipayobjects.com/zos/kitchen/qJ3l3EPsdW/split.svg">
7
- <img height="120" src="https://registry.npmmirror.com/@lobehub/assets-emoji-anim/1.0.0/files/assets/robot.webp">
3
+ [![][image-banner]][vercel-link]
8
4
 
9
5
  <h1>Lobe Chat</h1>
10
6
 
11
- LobeChat 是开源的高性能聊天机器人框架,支持语音合成、多模态、可扩展的([Function Call][fc-link])插件系统。<br/> 支持一键免费部署私人 ChatGPT/LLM 网页应用程序。
7
+ 开源、现代化设计的 ChatGPT/LLMs 聊天应用与开发框架<br/>
8
+ 支持语音合成、多模态、可扩展的([function call][docs-functionc-call])插件系统<br/>
9
+ 一键**免费**拥有你自己的 ChatGPT/Gemini/Ollama 应用
12
10
 
13
11
  [English](./README.md) · **简体中文** · [更新日志](./CHANGELOG.md) · [文档][github-document-link] · [报告问题][github-issues-link] · [请求功能][github-issues-link]
14
12
 
@@ -42,8 +40,7 @@ LobeChat 是开源的高性能聊天机器人框架,支持语音合成、多
42
40
 
43
41
  [![][github-trending-shield]][github-trending-url]
44
42
 
45
- ![](https://github.com/lobehub/lobe-chat/assets/28616219/9f155dff-4737-429f-9cad-a70a1a860c5f)
46
- ![](https://github.com/lobehub/lobe-chat/assets/28616219/8b04c3c9-3d71-4fb4-bd9b-a4f415c5876d)
43
+ [![][image-overview]][vercel-link]
47
44
 
48
45
  </div>
49
46
 
@@ -54,6 +51,17 @@ LobeChat 是开源的高性能聊天机器人框架,支持语音合成、多
54
51
 
55
52
  - [👋🏻 开始使用 & 交流](#-开始使用--交流)
56
53
  - [✨ 特性一览](#-特性一览)
54
+ - [`1` 多模型服务商支持](#1-多模型服务商支持)
55
+ - [`2` 支持本地大语言模型 (LLM)](#2-支持本地大语言模型-llm)
56
+ - [`3` 模型视觉识别 (Model Visual)](#3-模型视觉识别-model-visual)
57
+ - [`4` TTS & STT 语音会话](#4-tts--stt-语音会话)
58
+ - [`5` Text to Image 文生图](#5-text-to-image-文生图)
59
+ - [`6` 插件系统 (Function Calling)](#6-插件系统-function-calling)
60
+ - [`7` 助手市场 (GPTs)](#7-助手市场-gpts)
61
+ - [`8` 渐进式 Web 应用 (PWA)](#8-渐进式-web-应用-pwa)
62
+ - [`9` 移动设备适配](#9-移动设备适配)
63
+ - [`10` 自定义主题](#10-自定义主题)
64
+ - [更多特性](#更多特性)
57
65
  - [⚡️ 性能测试](#️-性能测试)
58
66
  - [🛳 开箱即用](#-开箱即用)
59
67
  - [`A` 使用 Vercel、Zeabur 或 Sealos 部署](#a-使用-vercelzeabur-或-sealos-部署)
@@ -64,7 +72,7 @@ LobeChat 是开源的高性能聊天机器人框架,支持语音合成、多
64
72
  - [🧩 插件体系](#-插件体系)
65
73
  - [⌨️ 本地开发](#️-本地开发)
66
74
  - [🤝 参与贡献](#-参与贡献)
67
- - [🩷 感谢赞助](#-感谢赞助)
75
+ - [❤ 社区赞助](#-社区赞助)
68
76
  - [🔗 更多工具](#-更多工具)
69
77
 
70
78
  ####
@@ -75,8 +83,10 @@ LobeChat 是开源的高性能聊天机器人框架,支持语音合成、多
75
83
 
76
84
  ## 👋🏻 开始使用 & 交流
77
85
 
78
- 我们是一群充满热情的设计工程师,希望为 AIGC 提供现代化的设计组件和工具,并以开源的方式分享。不论普通用户与专业开发者
79
- LobeHub 旨在成为所有人的 AI Agent 实验场,LobeChat 目前正在积极开发中,有需求或者问题,欢迎提交 [issues][issues-link]
86
+ 我们是一群充满热情的设计工程师,希望为 AIGC 提供现代化的设计组件和工具,并以开源的方式分享。
87
+ 同时通过 Bootstrapping 的方式,我们希望能够为开发者和用户提供一个更加开放、更加透明友好的产品生态。
88
+
89
+ 不论普通用户与专业开发者 LobeHub 旨在成为所有人的 AI Agent 实验场,LobeChat 目前正在积极开发中,有需求或者问题,欢迎提交 [issues][issues-link]
80
90
 
81
91
  | [![][vercel-shield-badge]][vercel-link] | 无需安装或注册!访问我们的网站,快速体验 |
82
92
  | :---------------------------------------- | :--------------------------------------------------------------------------- |
@@ -86,7 +96,7 @@ LobeHub 旨在成为所有人的 AI Agent 实验场,LobeChat 目前正在积
86
96
  >
87
97
  > **收藏项目**,你将从 GitHub 上无延迟地接收所有发布通知~⭐️
88
98
 
89
- ![](https://gw.alipayobjects.com/zos/kitchen/0hcO8QiU9c/star.webp)
99
+ [![][image-star]][github-stars-link]
90
100
 
91
101
  <details><summary><kbd>Star History</kbd></summary>
92
102
  <picture>
@@ -97,9 +107,50 @@ LobeHub 旨在成为所有人的 AI Agent 实验场,LobeChat 目前正在积
97
107
 
98
108
  ## ✨ 特性一览
99
109
 
100
- ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072129-382bdf30-e3d6-4411-b5a0-249710b8ba08.png)
110
+ [![][image-feat-privoder]][docs-feat-provider]
111
+
112
+ ### `1` [多模型服务商支持][docs-feat-provider]
113
+
114
+ 在 LobeChat 的不断发展过程中,我们深刻理解到在提供 AI 会话服务时模型服务商的多样性对于满足社区需求的重要性。因此,我们不再局限于单一的模型服务商,而是拓展了对多种模型服务商的支持,以便为用户提供更为丰富和多样化的会话选择。
115
+
116
+ 通过这种方式,LobeChat 能够更灵活地适应不同用户的需求,同时也为开发者提供了更为广泛的选择空间。
117
+
118
+ #### 已支持的模型服务商
119
+
120
+ 我们已经实现了对以下模型服务商的支持:
121
+
122
+ - **AWS Bedrock**:集成了 AWS Bedrock 服务,支持了 **Claude / LLama2** 等模型,提供了强大的自然语言处理能力。[了解更多](https://aws.amazon.com/cn/bedrock)
123
+ - **Google AI (Gemini Pro、Gemini Vision)**:接入了 Google 的 **Gemini** 系列模型,包括 Gemini 和 Gemini Pro,以支持更高级的语言理解和生成。[了解更多](https://deepmind.google/technologies/gemini/)
124
+ - **ChatGLM**:加入了智谱的 **ChatGLM** 系列模型(GLM-4/GLM-4-vision/GLM-3-turbo),为用户提供了另一种高效的会话模型选择。[了解更多](https://www.zhipuai.cn/)
125
+ - **Moonshot AI (月之暗面)**:集成了 Moonshot 系列模型,这是一家来自中国的创新性 AI 创业公司,旨在提供更深层次的会话理解。[了解更多](https://www.moonshot.cn/)
126
+
127
+ 同时,我们也在计划支持更多的模型服务商,如 Replicate 和 Perplexity 等,以进一步丰富我们的服务商库。如果你希望让 LobeChat 支持你喜爱的服务商,欢迎加入我们的[社区讨论](https://github.com/lobehub/lobe-chat/discussions/1284)。
128
+
129
+ <div align="right">
130
+
131
+ [![][back-to-top]](#readme-top)
132
+
133
+ </div>
134
+
135
+ [![][image-feat-local]][docs-feat-local]
136
+
137
+ ### `2` [支持本地大语言模型 (LLM)][docs-feat-local]
138
+
139
+ 为了满足特定用户的需求,LobeChat 还基于 [Ollama](https://ollama.ai) 支持了本地模型的使用,让用户能够更灵活地使用自己的或第三方的模型。
140
+
141
+ > \[!TIP]
142
+ >
143
+ > 查阅 [📘 在 LobeChat 中使用 Ollama][docs-usage-ollama] 获得更多信息
144
+
145
+ <div align="right">
146
+
147
+ [![][back-to-top]](#readme-top)
148
+
149
+ </div>
101
150
 
102
- #### `1` GPT 视觉认知
151
+ [![][image-feat-vision]][docs-feat-vision]
152
+
153
+ ### `3` [模型视觉识别 (Model Visual)][docs-feat-vision]
103
154
 
104
155
  LobeChat 已经支持 OpenAI 最新的 [`gpt-4-vision`](https://platform.openai.com/docs/guides/vision) 支持视觉识别的模型,这是一个具备视觉识别能力的多模态智能。
105
156
  用户可以轻松上传图片或者拖拽图片到对话框中,助手将能够识别图片内容,并在此基础上进行智能对话,构建更智能、更多元化的聊天场景。
@@ -112,32 +163,24 @@ LobeChat 已经支持 OpenAI 最新的 [`gpt-4-vision`](https://platform.openai.
112
163
 
113
164
  </div>
114
165
 
115
- ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072124-c9853d8d-f1b5-44a8-a305-45ebc0f6d19a.png)
166
+ [![][image-feat-tts]][docs-feat-tts]
116
167
 
117
- #### `2` TTS & STT 语音会话
168
+ ### `4` [TTS & STT 语音会话][docs-feat-tts]
118
169
 
119
170
  LobeChat 支持文字转语音(Text-to-Speech,TTS)和语音转文字(Speech-to-Text,STT)技术,我们的应用能够将文本信息转化为清晰的语音输出,用户可以像与真人交谈一样与我们的对话代理进行交流。
120
171
  用户可以从多种声音中选择,给助手搭配合适的音源。 同时,对于那些倾向于听觉学习或者想要在忙碌中获取信息的用户来说,TTS 提供了一个极佳的解决方案。
121
172
 
122
173
  在 LobeChat 中,我们精心挑选了一系列高品质的声音选项 (OpenAI Audio, Microsoft Edge Speech),以满足不同地域和文化背景用户的需求。用户可以根据个人喜好或者特定场景来选择合适的语音,从而获得个性化的交流体验。
123
174
 
124
- > \[!NOTE]
125
- >
126
- > 我们在实现该功能过程中,发现市面上并没有一款很好的 TTS 前端库。因此我们实现上耗费了很多精力,包括数据转换、音频进度管理、语音可视化等。
127
- > 于是我们决定把这套实现打磨并开源出来,希望能帮助到想要实现 TTS 的开发者们,[@lobehub/tts][lobe-tts-link] 是一个使用 TS 语言开发的,高质量 TTS 工具包,支持在服务端和浏览器中使用。
128
- >
129
- > - **服务端**:只要使用 15 行代码,即可实现对标 OpenAI TTS 服务的高质量语音生成能力。目前支持 EdgeSpeechTTS 与 MicrosoftTTS 与 OpenAITTS、OpenAISTT。
130
- > - **浏览器**:提供了高质量的 React Hooks 与可视化音频组件,支持加载、播放、暂停、拖动时间轴等常用功能,且提供了非常丰富的音轨样式调整能力。
131
-
132
175
  <div align="right">
133
176
 
134
177
  [![][back-to-top]](#readme-top)
135
178
 
136
179
  </div>
137
180
 
138
- ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/297746445-0ff762b9-aa08-4337-afb7-12f932b6efbb.png)
181
+ [![][image-feat-t2i]][docs-feat-t2i]
139
182
 
140
- #### `3` Text to Image 文生图
183
+ ### `5` [Text to Image 文生图][docs-feat-t2i]
141
184
 
142
185
  支持最新的文本到图片生成技术,LobeChat 现在能够让用户在与助手对话中直接调用文成图工具进行创作。
143
186
  通过利用 [`DALL-E 3`](https://openai.com/dall-e-3)、[`MidJourney`](https://www.midjourney.com/) 和 [`Pollinations`](https://pollinations.ai/) 等 AI 工具的能力, 助手们现在可以将你的想法转化为图像。
@@ -149,25 +192,19 @@ LobeChat 支持文字转语音(Text-to-Speech,TTS)和语音转文字(Spe
149
192
 
150
193
  </div>
151
194
 
152
- ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670883-33c43a5c-a512-467e-855c-fa299548cce5.png)
195
+ [![][image-feat-plugin]][docs-feat-plugin]
153
196
 
154
- #### `4` Function Calling 插件系统
197
+ ### `6` [插件系统 (Function Calling)][docs-feat-plugin]
155
198
 
156
- LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地增强了 ChatGPT 的实用性和灵活性。通过利用插件,ChatGPT 能够实现实时信息的获取和处理,例如自动获取最新新闻头条,为用户提供即时且相关的资讯。
157
- 此外,这些插件不仅局限于新闻聚合,还可以扩展到其他实用的功能,如快速检索文档、获取电商平台数据、以及其他各式各样的第三方服务。
158
-
159
- > 通过文档了解更多 [📘 插件使用](https://chat-docs.lobehub.com/zh/usage/plugins/basic)
199
+ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地增强了 ChatGPT 的实用性和灵活性。
160
200
 
161
201
  <video controls src="https://github.com/lobehub/lobe-chat/assets/28616219/f29475a3-f346-4196-a435-41a6373ab9e2" muted="false"></video>
162
202
 
163
- > \[!TIP]
164
- >
165
- > 为了帮助开发者更好地参与到这个生态中来,我们在 [🧩 插件体系](#-插件体系) 部分提供了全面的开发资源。
166
- > 这包括详尽的组件开发文档、功能齐全的软件开发工具包(SDK),以及样板文件,这些都是为了简化开发过程,降低开发者的入门门槛。
203
+ 通过利用插件,ChatGPT 能够实现实时信息的获取和处理,例如自动获取最新新闻头条,为用户提供即时且相关的资讯。
167
204
 
168
- > \[!IMPORTANT]
169
- >
170
- > 我们欢迎开发者利用这些资源,发挥创造力,编写出功能丰富、用户友好的插件。通过共同的努力,我们可以不断扩展聊天应用的功能界限,探索一个更加智能、高效的创造力平台。
205
+ 此外,这些插件不仅局限于新闻聚合,还可以扩展到其他实用的功能,如快速检索文档、获取电商平台数据、以及其他各式各样的第三方服务。
206
+
207
+ > 通过文档了解更多 [📘 插件使用][docs-usage-plugin]
171
208
 
172
209
  <!-- PLUGIN LIST -->
173
210
 
@@ -188,9 +225,9 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
188
225
 
189
226
  </div>
190
227
 
191
- ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670869-f1ffbf66-42b6-42cf-a937-9ce1f8328514.png)
228
+ [![][image-feat-agent]][docs-feat-agent]
192
229
 
193
- #### `5` 助手市场
230
+ ### `7` [助手市场 (GPTs)][docs-feat-agent]
194
231
 
195
232
  在 LobeChat 的助手市场中,创作者们可以发现一个充满活力和创新的社区,它汇聚了众多精心设计的助手,这些助手不仅在工作场景中发挥着重要作用,也在学习过程中提供了极大的便利。
196
233
  我们的市场不仅是一个展示平台,更是一个协作的空间。在这里,每个人都可以贡献自己的智慧,分享个人开发的助手。
@@ -206,12 +243,12 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
206
243
 
207
244
  <!-- AGENT LIST -->
208
245
 
209
- | 最近新增 | 助手说明 |
210
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
211
- | [Facebook 广告撰写专家](https://chat-preview.lobehub.com/market?agent=facebook-advertising-writing-expert)<br/><sup>By **[pllz7](https://github.com/pllz7)** on **2024-02-19**</sup> | 专注于创建引人注目的标题、引人入胜的主体文本和有效的广告文案<br/>`facebook` `advertising` `writing` `expert` `ecommerce` |
212
- | [Jira 故事协助工具](https://chat-preview.lobehub.com/market?agent=jira-product-manager)<br/><sup>By **[emad-pg](https://github.com/emad-pg)** on **2024-02-19**</sup> | 专注于将功能点子转化为全面的 Jira 故事<br/>`技术产品管理` `故事创建` `jira` |
213
- | [ThinkTank360](https://chat-preview.lobehub.com/market?agent=think-tank-business-strategy)<br/><sup>By **[mikelix](https://github.com/mikelix)** on **2024-02-19**</sup> | 熟练的顾问,汲取史蒂夫・乔布斯、埃隆・马斯克、马云、柏拉图和雷・达里奥的智慧,用于决策审查、判断和建议。<br/>`创新` `智慧` `智囊团` `商业策略` |
214
- | [翻译专家](https://chat-preview.lobehub.com/market?agent=translation-specialist)<br/><sup>By **[MYSeaIT](https://github.com/MYSeaIT)** on **2024-02-19**</sup> | 精通西班牙语和英语的专业翻译人员<br/>`翻译` `语言` `专家` `指南` |
246
+ | 最近新增 | 助手说明 |
247
+ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
248
+ | [LobeChat 技术文档专家](https://chat-preview.lobehub.com/market?agent=lobe-chat-developer-document-writer)<br/><sup>By **[arvinxx](https://github.com/arvinxx)** on **2024-02-22**</sup> | LobeChat 是一个 Next.js 框架构建的 AI 会话应用,我将会帮你一起书写 LobeChat 的开发文档<br/>`开发文档` `技术介绍` `next-js` `react` `lobe-chat` |
249
+ | [Facebook 广告撰写专家](https://chat-preview.lobehub.com/market?agent=facebook-advertising-writing-expert)<br/><sup>By **[pllz7](https://github.com/pllz7)** on **2024-02-19**</sup> | 专注于创建引人注目的标题、引人入胜的主体文本和有效的广告文案<br/>`facebook` `advertising` `writing` `expert` `ecommerce` |
250
+ | [Jira 故事协助工具](https://chat-preview.lobehub.com/market?agent=jira-product-manager)<br/><sup>By **[emad-pg](https://github.com/emad-pg)** on **2024-02-19**</sup> | 专注于将功能点子转化为全面的 Jira 故事<br/>`技术产品管理` `故事创建` `jira` |
251
+ | [ThinkTank360](https://chat-preview.lobehub.com/market?agent=think-tank-business-strategy)<br/><sup>By **[mikelix](https://github.com/mikelix)** on **2024-02-19**</sup> | 熟练的顾问,汲取史蒂夫・乔布斯、埃隆・马斯克、马云、柏拉图和雷・达里奥的智慧,用于决策审查、判断和建议。<br/>`创新` `智慧` `智囊团` `商业策略` |
215
252
 
216
253
  > 📊 Total agents: [<kbd>**181**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
217
254
 
@@ -223,9 +260,9 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
223
260
 
224
261
  </div>
225
262
 
226
- ![](https://gw.alipayobjects.com/zos/kitchen/69x6bllkX3/pwa.webp)
263
+ [![][image-feat-pwa]][docs-feat-pwa]
227
264
 
228
- #### `6` PWA 渐进式 Web 应用
265
+ ### `8` [渐进式 Web 应用 (PWA)][docs-feat-pwa]
229
266
 
230
267
  我们利深知在当今多设备环境下为用户提供无缝体验的重要性。为此,我们采用了渐进式 Web 应用 [PWA](https://support.google.com/chrome/answer/9658361) 技术,
231
268
  这是一种能够将网页应用提升至接近原生应用体验的现代 Web 技术。通过 PWA,LobeChat 能够在桌面和移动设备上提供高度优化的用户体验,同时保持轻量级和高性能的特点。
@@ -246,9 +283,9 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
246
283
 
247
284
  </div>
248
285
 
249
- ![](https://gw.alipayobjects.com/zos/kitchen/R441AuFS4W/mobile.webp)
286
+ [![][image-feat-mobile]][docs-feat-mobile]
250
287
 
251
- #### `7` 移动设备适配
288
+ ### `9` [移动设备适配][docs-feat-mobile]
252
289
 
253
290
  针对移动设备进行了一系列的优化设计,以提升用户的移动体验。目前,我们正在对移动端的用户体验进行版本迭代,以实现更加流畅和直观的交互。如果您有任何建议或想法,我们非常欢迎您通过 GitHub Issues 或者 Pull Requests 提供反馈。
254
291
 
@@ -258,9 +295,9 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
258
295
 
259
296
  </div>
260
297
 
261
- ![](https://gw.alipayobjects.com/zos/kitchen/pvus1lo%26Z7/darkmode.webp)
298
+ [![][image-feat-theme]][docs-feat-theme]
262
299
 
263
- #### `8` 自定义主题
300
+ ### `10` [自定义主题][docs-feat-theme]
264
301
 
265
302
  作为设计工程师出身 LobeChat 在界面设计上十分考虑用户的个性化体验,因此引入了灵活多变的主题模式,其中包括日间的亮色模式和夜间的深色模式。
266
303
  除了主题模式的切换,提供了一系列的颜色定制选项,允许用户根据自己的喜好来调整应用的主题色彩。无论是想要沉稳的深蓝,还是希望活泼的桃粉,或者是专业的灰白,用户都能够在 LobeChat 中找到匹配自己风格的颜色选择。
@@ -275,7 +312,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
275
312
 
276
313
  </div>
277
314
 
278
- #### 更多特性
315
+ ### 更多特性
279
316
 
280
317
  除了上述功能特性以外,我们的所具有的设计和技术能力将为你带来了更多使用保障:
281
318
 
@@ -303,7 +340,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
303
340
 
304
341
  > \[!NOTE]
305
342
  >
306
- > 完整测试报告可见 [📘 Lighthouse 性能测试](https://github.com/lobehub/lobe-chat/wiki/Lighthouse.zh-CN)
343
+ > 完整测试报告可见 [📘 Lighthouse 性能测试][docs-lighthouse]
307
344
 
308
345
  | Desktop | Mobile |
309
346
  | :-------------------------------------------: | :------------------------------------------: |
@@ -320,7 +357,9 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
320
357
 
321
358
  LobeChat 提供了 Vercel 的 自托管版本 和 [Docker 镜像][docker-release-link],这使你可以在几分钟内构建自己的聊天机器人,无需任何基础知识。
322
359
 
323
- <br/>
360
+ > \[!TIP]
361
+ >
362
+ > 完整教程请查阅 [📘 构建属于自己的 Lobe Chat][docs-self-hosting]
324
363
 
325
364
  ### `A` 使用 Vercel、Zeabur 或 Sealos 部署
326
365
 
@@ -345,7 +384,7 @@ LobeChat 提供了 Vercel 的 自托管版本 和 [Docker 镜像][docker-release
345
384
 
346
385
  > \[!TIP]
347
386
  >
348
- > 我们建议按照 [📘 LobeChat 自部署保持更新](https://github.com/lobehub/lobe-chat/wiki/Upstream-Sync.zh-CN) 步骤重新部署。
387
+ > 我们建议按照 [📘 自动同步更新][docs-upstream-sync] 步骤重新部署。
349
388
 
350
389
  <br/>
351
390
 
@@ -380,7 +419,7 @@ $ docker run -d -p 3210:3210 \
380
419
 
381
420
  > \[!NOTE]
382
421
  >
383
- > 有关 Docker 部署的详细说明,详见 [📘 使用 Docker 部署](https://github.com/lobehub/lobe-chat/wiki/Docker-Deployment.zh-CN)
422
+ > 有关 Docker 部署的详细说明,详见 [📘 使用 Docker 部署][docs-docker]
384
423
 
385
424
  <br/>
386
425
 
@@ -397,7 +436,7 @@ $ docker run -d -p 3210:3210 \
397
436
 
398
437
  > \[!NOTE]
399
438
  >
400
- > 完整环境变量可见 [📘环境变量](https://github.com/lobehub/lobe-chat/wiki/Environment-Variable.zh-CN)
439
+ > 完整环境变量可见 [📘 环境变量][docs-env-var]
401
440
 
402
441
  <br/>
403
442
 
@@ -449,12 +488,12 @@ API Key 是使用 LobeChat 进行大语言模型会话的必要信息,本节
449
488
 
450
489
  ## 📦 生态系统
451
490
 
452
- | NPM | 仓库 | 描述 | 版本 |
453
- | ------------------------------- | ------------------------------------- | ----------------------------------------------------------------------------------------------------- | --------------------------------------- |
454
- | [@lobehub/ui][lobe-ui-link] | [lobehub/lobe-ui][lobe-ui-github] | Lobe UI 是一个专为构建 AIGC 网页应用程序而设计的开源 UI 组件库。 | [![][lobe-ui-shield]][lobe-ui-link] |
455
- | [@lobehub/tts][lobe-tts-link] | [lobehub/lobe-tts][lobe-tts-github] | Lobe TTS 是一个专为 TTS/STT 建设的语音合成 / 识别 React Hooks 库 | [![][lobe-tts-shield]][lobe-tts-link] |
456
- | [@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] |
457
- | @lobehub/assets | [lobehub/assets][lobe-assets-github] | LobeHub 的 Logo 资源、favicon、网页字体。 | |
491
+ | NPM | 仓库 | 描述 | 版本 |
492
+ | --------------------------------- | --------------------------------------- | ---------------------------------------------------------------------------------------- | ----------------------------------------- |
493
+ | [@lobehub/ui][lobe-ui-link] | [lobehub/lobe-ui][lobe-ui-github] | 构建 AIGC 网页应用程序而设计的开源 UI 组件库 | [![][lobe-ui-shield]][lobe-ui-link] |
494
+ | [@lobehub/icons][lobe-icons-link] | [lobehub/lobe-icons][lobe-icons-github] | 主流 AI / LLM 模型和公司 SVG Logo 与 Icon 合集 | [![][lobe-icons-shield]][lobe-icons-link] |
495
+ | [@lobehub/tts][lobe-tts-link] | [lobehub/lobe-tts][lobe-tts-github] | AI TTS / STT 语音合成 / 识别 React Hooks 库 | [![][lobe-tts-shield]][lobe-tts-link] |
496
+ | [@lobehub/lint][lobe-lint-link] | [lobehub/lobe-lint][lobe-lint-github] | LobeHub 代码样式规范 ESlint,Stylelint,Commitlint,Prettier,Remark 和 Semantic Release | [![][lobe-lint-shield]][lobe-lint-link] |
458
497
 
459
498
  <div align="right">
460
499
 
@@ -464,12 +503,12 @@ API Key 是使用 LobeChat 进行大语言模型会话的必要信息,本节
464
503
 
465
504
  ## 🧩 插件体系
466
505
 
467
- 插件提供了扩展 LobeChat [Function Calling][fc-link] 能力的方法。可以用于引入新的 Function Calling,甚至是新的消息结果渲染方式。如果你对插件开发感兴趣,请在 Wiki 中查阅我们的 [📘 插件开发指引](https://github.com/lobehub/lobe-chat/wiki/Plugin-Development.zh-CN) 。
506
+ 插件提供了扩展 LobeChat [Function Calling][docs-functionc-call] 能力的方法。可以用于引入新的 Function Calling,甚至是新的消息结果渲染方式。如果你对插件开发感兴趣,请在 Wiki 中查阅我们的 [📘 插件开发指引][docs-plugin-dev] 。
468
507
 
469
- - [lobe-chat-plugins][lobe-chat-plugins]:这是 LobeChat 的插件索引。它从该仓库的 index.json 中获取插件列表并显示给用户。
470
- - [chat-plugin-template][chat-plugin-template]: Chat Plugin 插件开发模版,你可以通过项目模版快速新建插件项目。
471
- - [@lobehub/chat-plugin-sdk][chat-plugin-sdk]:LobeChat 插件 SDK 可帮助您创建出色的 Lobe Chat 插件。
472
- - [@lobehub/chat-plugins-gateway][chat-plugins-gateway]:LobeChat 插件网关是一个后端服务,作为 LobeChat 插件的网关。我们使用 Vercel 部署此服务。主要的 API POST /api/v1/runner 被部署为 Edge Function。
508
+ - [lobe-chat-plugins][lobe-chat-plugins]:插件索引从该仓库的 index.json 中获取插件列表并显示给用户。
509
+ - [chat-plugin-template][chat-plugin-template]:插件开发模版,你可以通过项目模版快速新建插件项目。
510
+ - [@lobehub/chat-plugin-sdk][chat-plugin-sdk]:插件 SDK 可帮助您创建出色的 Lobe Chat 插件。
511
+ - [@lobehub/chat-plugins-gateway][chat-plugins-gateway]:插件网关是一个后端服务,作为 LobeChat 插件的网关。我们使用 Vercel 部署此服务。主要的 API POST /api/v1/runner 被部署为 Edge Function。
473
512
 
474
513
  > \[!NOTE]
475
514
  >
@@ -477,7 +516,7 @@ API Key 是使用 LobeChat 进行大语言模型会话的必要信息,本节
477
516
  >
478
517
  > - [x] [**插件一期**](https://github.com/lobehub/lobe-chat/issues/73): 实现插件与主体分离,将插件拆分为独立仓库维护,并实现插件的动态加载
479
518
  > - [x] [**插件二期**](https://github.com/lobehub/lobe-chat/issues/97): 插件的安全性与使用的稳定性,更加精准地呈现异常状态,插件架构的可维护性与开发者友好
480
- > - [ ] [**插件三期**](https://github.com/lobehub/lobe-chat/issues/149):更高阶与完善的自定义能力,支持插件鉴权与示例
519
+ > - [x] [**插件三期**](https://github.com/lobehub/lobe-chat/issues/149):更高阶与完善的自定义能力,支持插件鉴权与示例
481
520
 
482
521
  <div align="right">
483
522
 
@@ -500,7 +539,7 @@ $ pnpm install
500
539
  $ pnpm run dev
501
540
  ```
502
541
 
503
- 如果你希望了解更多详情,欢迎可以查阅我们的 [📘 开发指南](https://github.com/lobehub/lobe-chat/wiki/index.zh-CN)
542
+ 如果你希望了解更多详情,欢迎可以查阅我们的 [📘 开发指南][docs-dev-guide]
504
543
 
505
544
  <div align="right">
506
545
 
@@ -561,7 +600,7 @@ $ pnpm run dev
561
600
 
562
601
  </div>
563
602
 
564
- ## 🩷 感谢赞助
603
+ ## ❤ 社区赞助
565
604
 
566
605
  每一分支持都珍贵无比,汇聚成我们支持的璀璨银河!你就像一颗划破夜空的流星,瞬间点亮我们前行的道路。感谢你对我们的信任 —— 你的支持笔就像星辰导航,一次又一次地为项目指明前进的光芒。
567
606
 
@@ -580,9 +619,10 @@ $ pnpm run dev
580
619
 
581
620
  ## 🔗 更多工具
582
621
 
583
- - [🤯 Lobe Theme][lobe-theme] : Stable Diffusion WebUI 的现代主题,精致的界面设计,高度可定制的 UI,以及提高效率的功能。
584
- - [🌏 Lobe i18n][lobe-i18n] : Lobe i18n 是一个由 ChatGPT 驱动的 i18n(国际化)翻译过程的自动化工具。它支持自动分割大文件、增量更新,以及为 OpenAI 模型、API 代理和温度提供定制选项的功能。
585
- - [💌 Lobe Commit][lobe-commit] : Lobe Commit 是一个 CLI 工具,它利用 Langchain/ChatGPT 生成基于 Gitmoji 的提交消息。
622
+ - **[🅰️ Lobe SD Theme][lobe-theme]:** Stable Diffusion WebUI 的现代主题,精致的界面设计,高度可定制的 UI,以及提高效率的功能。
623
+ - **[⛵️ Lobe Midjourney WebUI][lobe-midjourney-webui]:** Midjourney WebUI, 能够根据文本提示快速生成丰富多样的图像,激发创造力,增强对话交流。
624
+ - **[🌏 Lobe i18n][lobe-i18n]:** Lobe i18n 是一个由 ChatGPT 驱动的 i18n(国际化)翻译过程的自动化工具。它支持自动分割大文件、增量更新,以及为 OpenAI 模型、API 代理和温度提供定制选项的功能。
625
+ - **[💌 Lobe Commit][lobe-commit]:** Lobe Commit 是一个 CLI 工具,它利用 Langchain/ChatGPT 生成基于 Gitmoji 的提交消息。
586
626
 
587
627
  <div align="right">
588
628
 
@@ -630,7 +670,26 @@ This project is [MIT](./LICENSE) licensed.
630
670
  [docker-release-shield]: https://img.shields.io/docker/v/lobehub/lobe-chat?color=369eff&label=docker&labelColor=black&logo=docker&logoColor=white&style=flat-square
631
671
  [docker-size-link]: https://hub.docker.com/r/lobehub/lobe-chat
632
672
  [docker-size-shield]: https://img.shields.io/docker/image-size/lobehub/lobe-chat?color=369eff&labelColor=black&style=flat-square
633
- [fc-link]: https://sspai.com/post/81986
673
+ [docs-dev-guide]: https://github.com/lobehub/lobe-chat/wiki/index
674
+ [docs-docker]: https://chat-docs.lobehub.com/zh/self-hosting/platform/docker
675
+ [docs-env-var]: https://chat-docs.lobehub.com/zh/self-hosting/environment-variables
676
+ [docs-feat-agent]: https://chat-docs.lobehub.com/zh/usage/features/agent-market
677
+ [docs-feat-local]: https://chat-docs.lobehub.com/zh/usage/features/local-llm
678
+ [docs-feat-mobile]: https://chat-docs.lobehub.com/zh/usage/features/mobile
679
+ [docs-feat-plugin]: https://chat-docs.lobehub.com/zh/usage/features/plugin-system
680
+ [docs-feat-provider]: https://chat-docs.lobehub.com/zh/usage/features/multi-ai-providers
681
+ [docs-feat-pwa]: https://chat-docs.lobehub.com/zh/usage/features/pwa
682
+ [docs-feat-t2i]: https://chat-docs.lobehub.com/zh/usage/features/text-to-image
683
+ [docs-feat-theme]: https://chat-docs.lobehub.com/zh/usage/features/theme
684
+ [docs-feat-tts]: https://chat-docs.lobehub.com/zh/usage/features/tts
685
+ [docs-feat-vision]: https://chat-docs.lobehub.com/zh/usage/features/vision
686
+ [docs-functionc-call]: https://platform.openai.com/docs/guides/function-calling
687
+ [docs-lighthouse]: https://github.com/lobehub/lobe-chat/wiki/Lighthouse.zh-CN
688
+ [docs-plugin-dev]: https://chat-docs.lobehub.com/zh/usage/plugins/development
689
+ [docs-self-hosting]: https://chat-docs.lobehub.com/zh/self-hosting/start
690
+ [docs-upstream-sync]: https://chat-docs.lobehub.com/zh/self-hosting/advanced/upstream-sync
691
+ [docs-usage-ollama]: https://chat-docs.lobehub.com/zh/usage/providers/ollama
692
+ [docs-usage-plugin]: https://chat-docs.lobehub.com/zh/usage/plugins/basic
634
693
  [fossa-license-link]: https://app.fossa.com/projects/git%2Bgithub.com%2Flobehub%2Flobe-chat
635
694
  [fossa-license-shield]: https://app.fossa.com/api/projects/git%2Bgithub.com%2Flobehub%2Flobe-chat.svg?type=large
636
695
  [github-action-release-link]: https://github.com/lobehub/lobe-chat/actions/workflows/release.yml
@@ -655,14 +714,30 @@ This project is [MIT](./LICENSE) licensed.
655
714
  [github-stars-shield]: https://img.shields.io/github/stars/lobehub/lobe-chat?color=ffcb47&labelColor=black&style=flat-square
656
715
  [github-trending-shield]: https://trendshift.io/api/badge/repositories/2256
657
716
  [github-trending-url]: https://trendshift.io/repositories/2256
717
+ [image-banner]: https://github.com/lobehub/lobe-chat/assets/28616219/9f155dff-4737-429f-9cad-a70a1a860c5f
718
+ [image-feat-agent]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670869-f1ffbf66-42b6-42cf-a937-9ce1f8328514.png
719
+ [image-feat-local]: https://github.com/lobehub/lobe-chat/assets/28616219/ca9a21bc-ea6c-4c90-bf4a-fa53b4fb2b5c
720
+ [image-feat-mobile]: https://gw.alipayobjects.com/zos/kitchen/R441AuFS4W/mobile.webp
721
+ [image-feat-plugin]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670883-33c43a5c-a512-467e-855c-fa299548cce5.png
722
+ [image-feat-privoder]: https://github.com/lobehub/lobe-chat/assets/28616219/b164bc54-8ba2-4c1e-b2f2-f4d7f7e7a551
723
+ [image-feat-pwa]: https://gw.alipayobjects.com/zos/kitchen/69x6bllkX3/pwa.webp
724
+ [image-feat-t2i]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/297746445-0ff762b9-aa08-4337-afb7-12f932b6efbb.png
725
+ [image-feat-theme]: https://gw.alipayobjects.com/zos/kitchen/pvus1lo%26Z7/darkmode.webp
726
+ [image-feat-tts]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072124-c9853d8d-f1b5-44a8-a305-45ebc0f6d19a.png
727
+ [image-feat-vision]: https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072129-382bdf30-e3d6-4411-b5a0-249710b8ba08.png
728
+ [image-overview]: https://github.com/lobehub/lobe-chat/assets/28616219/8b04c3c9-3d71-4fb4-bd9b-a4f415c5876d
729
+ [image-star]: https://github.com/lobehub/lobe-chat/assets/17870709/cb06b748-513f-47c2-8740-d876858d7855
658
730
  [issues-link]: https://img.shields.io/github/issues/lobehub/lobe-chat.svg?style=flat
659
- [lobe-assets-github]: https://github.com/lobehub/lobe-assets
660
731
  [lobe-chat-plugins]: https://github.com/lobehub/lobe-chat-plugins
661
732
  [lobe-commit]: https://github.com/lobehub/lobe-commit/tree/master/packages/lobe-commit
662
733
  [lobe-i18n]: https://github.com/lobehub/lobe-commit/tree/master/packages/lobe-i18n
734
+ [lobe-icons-github]: https://github.com/lobehub/lobe-icons
735
+ [lobe-icons-link]: https://www.npmjs.com/package/@lobehub/icons
736
+ [lobe-icons-shield]: https://img.shields.io/npm/v/@lobehub/icons?color=369eff&labelColor=black&logo=npm&logoColor=white&style=flat-square
663
737
  [lobe-lint-github]: https://github.com/lobehub/lobe-lint
664
738
  [lobe-lint-link]: https://www.npmjs.com/package/@lobehub/lint
665
739
  [lobe-lint-shield]: https://img.shields.io/npm/v/@lobehub/lint?color=369eff&labelColor=black&logo=npm&logoColor=white&style=flat-square
740
+ [lobe-midjourney-webui]: https://github.com/lobehub/lobe-midjourney-webui
666
741
  [lobe-theme]: https://github.com/lobehub/sd-webui-lobe-theme
667
742
  [lobe-tts-github]: https://github.com/lobehub/lobe-tts
668
743
  [lobe-tts-link]: https://www.npmjs.com/package/@lobehub/tts
@@ -685,7 +760,7 @@ This project is [MIT](./LICENSE) licensed.
685
760
  [share-whatsapp-shield]: https://img.shields.io/badge/-share%20on%20whatsapp-black?labelColor=black&logo=whatsapp&logoColor=white&style=flat-square
686
761
  [share-x-link]: https://x.com/intent/tweet?hashtags=chatbot%2CchatGPT%2CopenAI&text=%E6%8E%A8%E8%8D%90%E4%B8%80%E4%B8%AA%20GitHub%20%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE%20%F0%9F%A4%AF%20LobeChat%20-%20%E5%BC%80%E6%BA%90%E7%9A%84%E3%80%81%E5%8F%AF%E6%89%A9%E5%B1%95%E7%9A%84%EF%BC%88Function%20Calling%EF%BC%89%E9%AB%98%E6%80%A7%E8%83%BD%E8%81%8A%E5%A4%A9%E6%9C%BA%E5%99%A8%E4%BA%BA%E6%A1%86%E6%9E%B6%E3%80%82%0A%E5%AE%83%E6%94%AF%E6%8C%81%E4%B8%80%E9%94%AE%E5%85%8D%E8%B4%B9%E9%83%A8%E7%BD%B2%E7%A7%81%E4%BA%BA%20ChatGPT%2FLLM%20%E7%BD%91%E9%A1%B5%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F&url=https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat
687
762
  [share-x-shield]: https://img.shields.io/badge/-share%20on%20x-black?labelColor=black&logo=x&logoColor=white&style=flat-square
688
- [sponsor-link]: https://opencollective.com/lobehub 'Become 🩷 LobeHub Sponsor'
763
+ [sponsor-link]: https://opencollective.com/lobehub 'Become ❤ LobeHub Sponsor'
689
764
  [sponsor-shield]: https://img.shields.io/badge/-Sponsor%20LobeHub-f04f88?logo=opencollective&logoColor=white&style=flat-square
690
765
  [submit-agents-link]: https://github.com/lobehub/lobe-chat-agents
691
766
  [submit-agents-shield]: https://img.shields.io/badge/🤖/🏪_submit_agent-%E2%86%92-c4f042?labelColor=black&style=for-the-badge
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "0.129.2",
3
+ "version": "0.129.4",
4
4
  "description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
5
5
  "keywords": [
6
6
  "framework",
@@ -82,7 +82,7 @@
82
82
  "@icons-pack/react-simple-icons": "^9",
83
83
  "@lobehub/chat-plugin-sdk": "latest",
84
84
  "@lobehub/chat-plugins-gateway": "latest",
85
- "@lobehub/icons": "^1.11.1",
85
+ "@lobehub/icons": "^1.11.2",
86
86
  "@lobehub/tts": "latest",
87
87
  "@lobehub/ui": "^1.129.2",
88
88
  "@vercel/analytics": "^1",
@@ -4,6 +4,7 @@ import {
4
4
  Baichuan,
5
5
  ChatGLM,
6
6
  Gemini,
7
+ Gemma,
7
8
  Meta,
8
9
  Minimax,
9
10
  Mistral,
@@ -29,6 +30,7 @@ const ModelIcon = memo<ModelProviderIconProps>(({ model, size = 12 }) => {
29
30
  if (model.includes('titan')) return <Aws.Avatar size={size} />;
30
31
  if (model.includes('llama')) return <Meta.Avatar size={size} />;
31
32
  if (model.includes('gemini')) return <Gemini.Avatar size={size} />;
33
+ if (model.includes('gemma')) return <Gemma.Avatar size={size} />;
32
34
  if (model.includes('qwen')) return <Tongyi.Avatar background={Tongyi.colorPrimary} size={size} />;
33
35
  if (model.includes('minmax')) return <Minimax.Avatar size={size} />;
34
36
  if (model.includes('moonshot')) return <Moonshot.Avatar size={size} />;
@@ -4,6 +4,7 @@ import {
4
4
  Baichuan,
5
5
  ChatGLM,
6
6
  Gemini,
7
+ Gemma,
7
8
  Meta,
8
9
  Minimax,
9
10
  Mistral,
@@ -28,6 +29,7 @@ const ModelIcon = memo<ModelIconProps>(({ model, size = 12 }) => {
28
29
  if (model.includes('titan')) return <Aws size={size} />;
29
30
  if (model.includes('llama')) return <Meta size={size} />;
30
31
  if (model.includes('gemini')) return <Gemini size={size} />;
32
+ if (model.includes('gemma')) return <Gemma.Simple size={size} />;
31
33
  if (model.includes('moonshot')) return <Moonshot size={size} />;
32
34
  if (model.includes('qwen')) return <Tongyi size={size} />;
33
35
  if (model.includes('minmax')) return <Minimax size={size} />;
@@ -2,6 +2,28 @@ import { ModelProviderCard } from '@/types/llm';
2
2
 
3
3
  const Ollama: ModelProviderCard = {
4
4
  chatModels: [
5
+ {
6
+ displayName: 'Gemma 7B',
7
+ functionCall: false,
8
+ id: 'gemma',
9
+ tokens: 4000,
10
+ vision: false,
11
+ },
12
+ {
13
+ displayName: 'Gemma 2B',
14
+ functionCall: false,
15
+ id: 'gemma:2b',
16
+ tokens: 4000,
17
+ vision: false,
18
+ },
19
+ {
20
+ displayName: 'Llama2 Chat 13B',
21
+ functionCall: false,
22
+ hidden: true,
23
+ id: 'llama2:13b',
24
+ tokens: 4000,
25
+ vision: false,
26
+ },
5
27
  {
6
28
  displayName: 'Llama2 Chat 7B',
7
29
  functionCall: false,