Auto-generate meaningful workflow titles via debounced LLM (#SKY-7287) (#4652)
This commit is contained in:
15
skyvern/forge/prompts/skyvern/generate-workflow-title.j2
Normal file
15
skyvern/forge/prompts/skyvern/generate-workflow-title.j2
Normal file
@@ -0,0 +1,15 @@
|
||||
Generate a brief, descriptive title for a browser automation workflow.
|
||||
|
||||
Rules:
|
||||
- Maximum 5 words
|
||||
- Start with an action verb when possible
|
||||
- Be specific about what the workflow does
|
||||
- Examples: "Scrape LinkedIn job listings", "Extract Amazon product prices", "Submit insurance form"
|
||||
|
||||
Workflow blocks ({{ blocks|length }} total):
|
||||
{% for block in blocks %}
|
||||
- {{ block.block_type }}{% if block.url %} on {{ block.url }}{% endif %}{% if block.goal %}: {{ block.goal }}{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
Respond with JSON only:
|
||||
{"title": "generated title here"}
|
||||
Reference in New Issue
Block a user