add error_code_mapping and extracted_information_schema to task v2 (#1950)

This commit is contained in:
Shuchang Zheng
2025-03-18 11:53:54 -07:00
committed by GitHub
parent e4a986d286
commit 39162ded9b
5 changed files with 44 additions and 2 deletions

View File

@@ -5,13 +5,15 @@ You want to present the response in a clear way so that user can clearly underst
Reply in JSON format with the following keys:
{
"description": str, // Summarize what has been achieved and describe the information extracted related to the user goal if any. Be precise and concise.
"output": json, // Structured data related to the user goal if any.
"output": json, // Structured data related to the user goal if any.{% if extracted_information_schema %} Use the data schema for the output field.{% endif %}
}
User goal:
```
{{ user_goal }}
```
```{% if extracted_information_schema %}
The ideal schema for the "output" field: {{ extracted_information_schema }}{% endif %}
Task history (the earliest task is the first in the list and the latest is the last in the list):
```