feat: 新增插件系统、多种插件类型、开发指南及多语言文档。
This commit is contained in:
54
plugins/pipes/gemini_mainfold/README.md
Normal file
54
plugins/pipes/gemini_mainfold/README.md
Normal file
@@ -0,0 +1,54 @@
|
||||
# Example Pipe Plugin
|
||||
|
||||
**Author:** OpenWebUI Community | **Version:** 1.0.0 | **License:** MIT
|
||||
|
||||
This is a template/example for creating Pipe plugins in OpenWebUI.
|
||||
|
||||
---
|
||||
|
||||
## Overview
|
||||
|
||||
Pipes are plugins that process and enhance LLM responses after they are generated and before they are displayed to the user.
|
||||
|
||||
## Core Features
|
||||
|
||||
- ✅ **Response Processing**: Modify or enhance LLM output
|
||||
- ✅ **Format Conversion**: Convert responses to different formats
|
||||
- ✅ **Content Filtering**: Filter or sanitize content
|
||||
- ✅ **Integration**: Connect with external services
|
||||
|
||||
---
|
||||
|
||||
## Installation
|
||||
|
||||
1. Download the `.py` file from this directory
|
||||
2. Open OpenWebUI Admin Settings → Plugins
|
||||
3. Select "Pipes" type
|
||||
4. Upload the file
|
||||
5. Refresh the page
|
||||
|
||||
---
|
||||
|
||||
## Configuration
|
||||
|
||||
Configure the pipe parameters in your chat settings as needed.
|
||||
|
||||
---
|
||||
|
||||
## Usage
|
||||
|
||||
Once enabled, this pipe will automatically process all LLM responses.
|
||||
|
||||
---
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
- Check the logs for any errors during pipe execution
|
||||
- Ensure the pipe is properly configured
|
||||
- Verify the pipe is enabled in chat settings
|
||||
|
||||
---
|
||||
|
||||
## Contributing
|
||||
|
||||
Feel free to create your own pipe plugins! Follow the structure and documentation guidelines in this template.
|
||||
54
plugins/pipes/gemini_mainfold/README_CN.md
Normal file
54
plugins/pipes/gemini_mainfold/README_CN.md
Normal file
@@ -0,0 +1,54 @@
|
||||
# 示例管道插件
|
||||
|
||||
**作者:** OpenWebUI 社区 | **版本:** 1.0.0 | **许可证:** MIT
|
||||
|
||||
这是在 OpenWebUI 中创建管道插件的模板/示例。
|
||||
|
||||
---
|
||||
|
||||
## 概述
|
||||
|
||||
管道是在 LLM 生成响应后、显示给用户前对响应进行处理和增强的插件。
|
||||
|
||||
## 核心特性
|
||||
|
||||
- ✅ **响应处理**: 修改或增强 LLM 输出
|
||||
- ✅ **格式转换**: 将响应转换为不同格式
|
||||
- ✅ **内容过滤**: 过滤或清理内容
|
||||
- ✅ **集成**: 与外部服务连接
|
||||
|
||||
---
|
||||
|
||||
## 安装
|
||||
|
||||
1. 从此目录下载 `.py` 文件
|
||||
2. 打开 OpenWebUI 管理员设置 → 插件(Plugins)
|
||||
3. 选择"Pipes"类型
|
||||
4. 上传文件
|
||||
5. 刷新页面
|
||||
|
||||
---
|
||||
|
||||
## 配置
|
||||
|
||||
根据需要在聊天设置中配置管道参数。
|
||||
|
||||
---
|
||||
|
||||
## 使用
|
||||
|
||||
启用后,该管道将自动处理所有 LLM 响应。
|
||||
|
||||
---
|
||||
|
||||
## 故障排除
|
||||
|
||||
- 查看日志了解管道执行过程中的任何错误
|
||||
- 确保管道配置正确
|
||||
- 验证管道在聊天设置中已启用
|
||||
|
||||
---
|
||||
|
||||
## 贡献
|
||||
|
||||
欢迎创建您自己的管道插件!请遵循此模板中的结构和文档指南。
|
||||
3382
plugins/pipes/gemini_mainfold/gemini_manifold.py
Normal file
3382
plugins/pipes/gemini_mainfold/gemini_manifold.py
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user