Skip to content

Automate browser based workflows with AI

update selection prompt (#706)

LawyZheng1c9e919792e9
diff --git a/skyvern/forge/prompts/skyvern/custom-select.j2 b/skyvern/forge/prompts/skyvern/custom-select.j2
index 011ac1e40..96ea41a98 100644
--- a/skyvern/forge/prompts/skyvern/custom-select.j2
+++ b/skyvern/forge/prompts/skyvern/custom-select.j2
@@ -3,7 +3,7 @@ You can find the match element based on the following attempts:
1. Find the semantically most similar element
2. Reconsider if target value is reasonable based on context and the options in the HTML elements. If it doesn't make sense, you can tweak the target value into a reasonable one.
3. Find the element, which semantically is the superset of target value. Like "Others", "None of them matched"
- 4. If the field is required, don't leave it blank or don't choose the semantical placeholder value, like "Please select", "-", "Select...".
+ 4. If the field is required, don't leave it blank and don't choose the semantical placeholder value, like "Please select", "-", "Select...".
MAKE SURE YOU OUTPUT VALID JSON. No text before or after JSON, no trailing commas, no comments (//), no unnecessary quotes, etc.
Each interactable element is tagged with an ID.