55 lines
1.2 KiB
Markdown
55 lines
1.2 KiB
Markdown
|
|
# 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.
|