extend auto completion coverage (#1165)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
You're doing an auto completion input action on HTML page. The current filled value doesn't match any option.
|
||||
Based on the context and current value, give ten most potential values with the same meaning as the current value.
|
||||
Based on the context, current value, user goal and user details, give ten most potential values with the same meaning as the current value.
|
||||
You can provide values like:
|
||||
- Subset or superset meaning from the current value
|
||||
- Summarized from the current value
|
||||
@@ -26,4 +26,14 @@ Choose an auto-completion suggestion for "{{ field_information }}"
|
||||
Current Value:
|
||||
```
|
||||
{{ current_value }}
|
||||
```
|
||||
|
||||
User goal:
|
||||
```
|
||||
{{ navigation_goal }}
|
||||
```
|
||||
|
||||
User details:
|
||||
```
|
||||
{{ navigation_payload_str }}
|
||||
```
|
||||
@@ -1,5 +1,5 @@
|
||||
You're doing an auto completion input action on HTML page. User has tried several values, but none of them could find a match.
|
||||
Based on the context, current value, tried values, option elements popped up while typing, tweak the value into a reasonable one based on the information.
|
||||
Based on the context, current value, tried values, user goal, user details and option elements popped up while typing, tweak the value into a reasonable one based on the information.
|
||||
You can try to change the value under the following rules:
|
||||
1. the value must be reasonably changed from the current value, like superset, subset of the current value
|
||||
2. If there're popped up elements, find the common concept among all elements, and then tweak the current value into a reasonable value based on the same concept.
|
||||
@@ -32,6 +32,16 @@ Tried Values:
|
||||
{{ tried_values }}
|
||||
```
|
||||
|
||||
User goal:
|
||||
```
|
||||
{{ navigation_goal }}
|
||||
```
|
||||
|
||||
User details:
|
||||
```
|
||||
{{ navigation_payload_str }}
|
||||
```
|
||||
|
||||
Popped up elements:
|
||||
```
|
||||
{{ popped_up_elements }}
|
||||
|
||||
@@ -8,6 +8,7 @@ Reply in the following JSON format:
|
||||
"field": str, // Which field is this action intended to fill out?
|
||||
"is_required": bool, // True if this is a required field, otherwise false.
|
||||
"is_search_bar": bool, // True if the element to take the action is a search bar, otherwise false.
|
||||
"is_location_input": bool, // True if the element is asking user to input where he lives, otherwise false. For example, it is asking for location, or address, or other similar information.
|
||||
}
|
||||
|
||||
Existing reasoning context:
|
||||
|
||||
Reference in New Issue
Block a user