Skip to content

Commit

Permalink
multi-level selection support
Browse files Browse the repository at this point in the history
  • Loading branch information
LawyZheng committed Sep 9, 2024
1 parent 281977f commit 825145c
Show file tree
Hide file tree
Showing 4 changed files with 279 additions and 98 deletions.
10 changes: 9 additions & 1 deletion skyvern/forge/prompts/skyvern/opened-dropdown-confirm.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
There is a screenshot from part of Web HTML page. Help me confirm it if it's an opened dropdown menu.
An opened dropdown menu could be defined as:
- At least two options show on the screenshot.
MAKE SURE YOU OUTPUT VALID JSON. No text before or after JSON, no trailing commas, no comments (//), no unnecessary quotes, etc.

Reply in JSON format with the following keys:
{
"reasoning": str, // the reason why it's a dropdown menu or not a dropdown menu
"is_opened_dropdown_menu": bool, // true if it's a opened dropdown menu, otherwise false.
}
}

Elements on the screenshot:
```
{{ elements }}
```
Loading

0 comments on commit 825145c

Please sign in to comment.