48 lines
3.4 KiB
Markdown
48 lines
3.4 KiB
Markdown
# 🔧 AI Task Instruction
|
|
|
|
| By [Fu-Jie](https://github.com/Fu-Jie) · v1.0.0 | [⭐ Star this repo](https://github.com/Fu-Jie/openwebui-extensions) |
|
|
| :--- | ---: |
|
|
|
|
|  |  |  |  |  |  |  |
|
|
| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
|
|
|
|
Convert vague or unstructured requirements into precise, structured instructions optimized for AI agent execution.
|
|
|
|
## 📋 Info
|
|
|
|
- **Command**: `/ai-task-instruction`
|
|
- **Community Link**: [OpenWebUI Post](https://openwebui.com/posts/9bab8b37-5c43-48e6-988b-946564510b91)
|
|
|
|
## 🔥 What's New in v1.0.0
|
|
|
|
- ✨ **Task Architect Persona**: Directly refactors arbitrary description into modular specs.
|
|
- 🌍 **Language Consistency**: Automated response adapting based on your dynamic input payload language.
|
|
|
|
## ✨ Key Features
|
|
|
|
- 🎯 **Precise Structuring**: Builds distinct modules like context, role, atomic steps, and constraints.
|
|
- ⚙️ **Configurable variables**: Operates seamlessly with OpenWebUI dropdown and text areas configurations.
|
|
|
|
## 🚀 How to Use
|
|
|
|
1. Check out the prompt template: [ai-task-instruction.md](./ai-task-instruction.md)
|
|
2. **Copy** the full content.
|
|
3. In OpenWebUI, Go to **Workspace** -> **Prompts** and click **Create Prompt**.
|
|
4. Set title, and paste the template code into the content block.
|
|
5. In your standard chat, trigger via `/ai-task-instruction` and fill in the fields.
|
|
|
|
## ⚙️ Configuration (Variables)
|
|
|
|
The template contains dynamic variables supported by OpenWebUI prompts:
|
|
|
|
| Variable | Type | Options / Default | Description |
|
|
| :--- | :--- | :--- | :--- |
|
|
| **target_role** | `text` | `AI Assistant` | The persona or role the agent should adopt. |
|
|
| **complexity** | `select` | `Basic`, **`Intermediate`**, `Advanced` | Level of depth the output template should contain. |
|
|
| **output_style** | `select` | **`Markdown Template`**, `JSON`, `Step-by-Step` | Structured style for the resulting prompt framework. |
|
|
| **requirements** | `textarea`| Required | The unstructured tasks or instructions from the user. |
|
|
|
|
## ⭐ Support
|
|
|
|
If this prompt has been useful, a star on [OpenWebUI Extensions](https://github.com/Fu-Jie/openwebui-extensions) is a big motivation for me. Thank you for the support.
|