refactor custom-select/auto-complete context (#830)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
You are a browser agent performing actions on the web. You are instructed to take an INPUT or SELECT action on the element(id: "{{ element_id }}"). Extract some detailed information from the context/reasoning, and double-check the information by analysing the HTML elements.
|
||||
|
||||
MAKE SURE YOU OUTPUT VALID JSON. No text before or after JSON, no trailing commas, no comments (//), no unnecessary quotes, etc.
|
||||
|
||||
Reply in the following JSON format:
|
||||
{
|
||||
"thought": str, // A string to describe how you double-check the information to ensure the accuracy.
|
||||
"field": str, // Which field is this action intended to fill out?
|
||||
"is_required": bool, // True if this is a required field, otherwise false.
|
||||
}
|
||||
|
||||
Existing reasoning context:
|
||||
```
|
||||
{{ action_reasoning }}
|
||||
```
|
||||
|
||||
HTML elements:
|
||||
```
|
||||
{{ elements }}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user