feat: 添加信息图生成功能及其多语言提示,并更新相关逻辑。
This commit is contained in:
26
plugins/actions/infographic/prompts/user_prompt_en.md
Normal file
26
plugins/actions/infographic/prompts/user_prompt_en.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# 📝 Smart Infographic User Prompt (English)
|
||||
|
||||
The following is a preset user prompt template. You can save it as an OpenWebUI **Prompt** template for quick access.
|
||||
|
||||
**Title**: Generate Infographic
|
||||
**Command**: `/infographic-en`
|
||||
**Content**:
|
||||
|
||||
```markdown
|
||||
Please analyze the following text content and convert its core information into AntV Infographic syntax format.
|
||||
|
||||
**Text Content:**
|
||||
{{content}}
|
||||
|
||||
**Requirements:**
|
||||
1. Choose the most appropriate infographic template based on the content (e.g., list, flowchart, comparison, chart, etc.).
|
||||
2. Output a valid `infographic` syntax code block.
|
||||
3. If using `list-grid` format, ensure card descriptions are concise (around 60 characters).
|
||||
4. Use two-space indentation and do NOT use colons for key-value pairs.
|
||||
```
|
||||
|
||||
## 💡 Usage Tips
|
||||
|
||||
1. **Create Prompt**: Go to OpenWebUI **Workspace** -> **Prompts** -> **Create Prompt**.
|
||||
2. **Variables**: `{{content}}` is a placeholder. When using it, you can input text directly or let the model auto-fill based on context.
|
||||
3. **Invocation**: Type `/` in the chat input box to see your command (e.g., `/infographic-en`), select it, and enter the text you want to convert.
|
||||
Reference in New Issue
Block a user