Skip to content

Commit adab927

Browse files
committed
feat(ecosystem): add image service plugin documentation and sidebar entry
1 parent f65a5c6 commit adab927

File tree

4 files changed

+53
-1
lines changed

4 files changed

+53
-1
lines changed

docs/.vitepress/config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,10 @@ function sidebarEcosystem(): DefaultTheme.SidebarItem[] {
620620
text: "长期记忆 (Long Term Memory)",
621621
link: "/ecosystem/plugin/long-term-memory",
622622
},
623+
{
624+
text: "图片服务 (Image Service)",
625+
link: "/ecosystem/plugin/image-service",
626+
},
623627
],
624628
},
625629
{

docs/about/sponsor.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ const thinks = [
5858
url: "#ffmpeg",
5959
img: "https://pic1.afdiancdn.com/user/e09d2c8c082a11efaf7e5254001e7c00/avatar/708e1356e53a647823e760a5a9611658_w500_h500_s67.jpeg?imageView2/1/w/120/h/120",
6060
},
61-
61+
{
62+
name: "爱发电用户_ba642"
63+
url: "#爱发电用户_ba642"
64+
img: "https://pic1.afdiancdn.com/default/avatar/avatar-purple.png?imageView2/1/"
65+
},
6266
{
6367
img: "https://pic1.afdiancdn.com/user/6cec4d5aaf5611eda22e52540025c377/avatar/142700cc6b59c77aac5ee7490b0cc036_w1080_h1080_s43.jpeg?imageView2/1/w/120/h/120",
6468
name: "Mirage",
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# 图片服务 (Image Service)
2+
3+
此插件为不支持图片多模态的模型提供多模态图片识别能力。
4+
5+
## 配置
6+
7+
* 前往插件市场搜索 `chatluna-image-service` 并安装。
8+
9+
![alt text](../../public/images/image-82.png)
10+
11+
* 安装完成后,参考下面的插件配置,配置插件。
12+
13+
* 启用插件。
14+
15+
## 使用
16+
17+
确保配置插件后,启用插件即可。
18+
19+
## 配置项
20+
21+
此处列举了插件的配置项。
22+
23+
### 基础配置
24+
25+
#### model
26+
27+
* 类型:`string`
28+
* 默认值:``
29+
30+
默认使用的模型。请确保使用的模型支持图片多模态输入。
31+
32+
#### imagePrompt
33+
34+
* 类型:`string`
35+
* 默认值:`...`
36+
37+
传递给图片识别模型的系统提示词。
38+
39+
#### imageInsertPrompt
40+
41+
* 类型:`string`
42+
* 默认值:`...`
43+
44+
传递给图片识别模型的用户提示词。

docs/public/images/image-82.png

33.6 KB
Loading

0 commit comments

Comments
 (0)