mirror of
https://github.com/aljazceru/vibeline.git
synced 2026-01-15 04:24:22 +01:00
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
name: svg
|
|
description: Generate SVG files based on user descriptions
|
|
model: llama2 # Optional, falls back to OLLAMA_MODEL from .env
|
|
type: and # and, or
|
|
run: matching # always, matching
|
|
output_extension: .svg
|
|
prompt: |
|
|
You are an SVG generation specialist. Your job is to create SVG files based on user descriptions.
|
|
|
|
User request:
|
|
{transcript}
|
|
|
|
Please generate a valid SVG file that matches the user's description. The SVG should:
|
|
1. Be well-formed and valid XML
|
|
2. Include proper SVG namespace and viewBox
|
|
3. Be optimized for web use
|
|
4. Use appropriate SVG elements and attributes
|
|
5. Include comments explaining the structure
|
|
|
|
Rules:
|
|
- Output only the SVG code, no markdown or additional text
|
|
- Use proper XML formatting
|
|
- Include viewBox attribute
|
|
- Use semantic element names
|
|
- Add comments for complex sections
|
|
- Optimize for performance
|
|
- The output will be saved as an SVG file, so ensure it's complete and valid
|
|
|
|
Format the output as:
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
|
|
<!-- SVG content here -->
|
|
</svg> |