verification code V2 - support verification code of multiple separate single character input fields (#683)
Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
@@ -9,6 +9,7 @@ If you see a popup in the page screenshot, prioritize actions on the popup.
|
||||
|
||||
Reply in JSON format with the following keys:
|
||||
{
|
||||
{% if verification_code_check %} "need_verification_code": bool, // Whether a verification code is needed to proceed.{% endif %}
|
||||
"user_goal_achieved": str, // A string that describes if user goal has been completed with reasoning.
|
||||
"action_plan": str, // A string that describes the plan of actions you're going to take. Be specific and to the point. Use this as a quick summary of the actions you're going to take, and what order you're going to take them in, and how that moves you towards your overall goal. Output "COMPLETE" action in the "actions" if user goal has been achieved.
|
||||
"actions": array // An array of actions. Here's the format of each action:
|
||||
@@ -36,10 +37,8 @@ Reply in JSON format with the following keys:
|
||||
}],
|
||||
}
|
||||
{% if action_history %}
|
||||
|
||||
Consider the action history from the last step and the screenshot together, if actions from the last step don't yield positive impact, try other actions or other action combinations.
|
||||
{% endif %}
|
||||
|
||||
Clickable elements from `{{ current_url }}`:
|
||||
```
|
||||
{{ elements }}
|
||||
@@ -52,12 +51,10 @@ User goal:
|
||||
{{ navigation_goal }}
|
||||
```
|
||||
{% if error_code_mapping_str %}
|
||||
|
||||
Use the error codes and their descriptions to surface user-defined errors. Do not return any error that's not defined by the user. User defined errors:
|
||||
{{ error_code_mapping_str }}
|
||||
{% endif %}
|
||||
{% if data_extraction_goal %}
|
||||
|
||||
User Data Extraction Goal:
|
||||
```
|
||||
{{ data_extraction_goal }}
|
||||
@@ -69,11 +66,9 @@ User details:
|
||||
{{ navigation_payload_str }}
|
||||
```
|
||||
{% if action_history %}
|
||||
|
||||
Action results from previous steps: (note: even if the action history suggests goal is achieved, check the screenshot and the DOM elements to make sure the goal is achieved)
|
||||
{{ action_history }}
|
||||
{% endif %}
|
||||
|
||||
Current datetime in UTC, YYYY-MM-DD HH:MM format:
|
||||
```
|
||||
{{ utc_datetime }}
|
||||
|
||||
Reference in New Issue
Block a user