/
githubmirror
/
UFO
Обзор
Документация
Войти
/
githubmirror
/
UFO
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
dataflow/schema/execution_schema.json
120 строк
4 KB
Ray Huang
Merged PR 1532: cloned from https://github.com/microsoft/UFO/tree/vyokky/dev
23 май 2025, 05:11
23 май 2025, 05:11
320a02b
Код
Авторство
О чём код?
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "unique_id": { "type": "string" }, "app": { "type": "string" }, "original": { "type": "object", "properties": { "original_task": { "type": "string" }, "original_steps": { "type": "array", "items": { "type": "string" } } }, "required": ["original_task", "original_steps"] }, "execution_result": { "type": ["object", "null"], "properties": { "result": { "type": ["object", "null"], "properties": { "reason": { "type": "string" }, "sub_scores": { "type": "object", "patternProperties": { ".*": { "type": "string" } } }, "complete": { "type": "string" } }, "required": ["reason", "sub_scores", "complete"] }, "error": { "type": ["null", "object"], "properties": { "type": { "type": "string" }, "message": { "type": "string" }, "traceback": { "type": "string" } }, "required": ["type", "message", "traceback"] } } }, "instantiation_result": { "type": "object", "properties": { "choose_template": { "type": "object", "properties": { "result": { "type": ["string", "null"] }, "error": { "type": ["null", "string"] } }, "required": ["result", "error"] }, "prefill": { "type": ["object", "null"], "properties": { "result": { "type": ["object", "null"], "properties": { "instantiated_request": { "type": "string" }, "instantiated_plan": { "type":["array", "null"], "items": { "type": "object", "properties": { "Step": { "type": "integer" }, "Subtask": { "type": "string" }, "ControlLabel": { "type": ["string", "null"] }, "ControlText": { "type": "string" }, "Function": { "type": "string" }, "Args": { "type": "object", "additionalProperties": true }, "Success": { "type": ["boolean", "null"] }, "MatchedControlText": { "type": ["string", "null"] } }, "required": ["Step", "Subtask", "Function", "Args", "Success", "MatchedControlText"] } } }, "required": ["instantiated_request", "instantiated_plan"] }, "error": { "type": ["null", "string"] } }, "required": ["result", "error"] }, "instantiation_evaluation": { "type": "object", "properties": { "result": { "type": ["object", "null"], "properties": { "judge": { "type": "boolean" }, "thought": { "type": "string" }, "request_type": { "type": "string" } }, "required": ["judge", "thought", "request_type"] }, "error": { "type": ["null", "string"] } }, "required": ["result", "error"] } } }, "time_cost": { "type": "object", "properties": { "choose_template": { "type": ["number", "null"] }, "prefill":{ "type": ["number", "null"] }, "instantiation_evaluation": { "type": ["number", "null"] }, "execute": { "type": ["number", "null"] }, "execute_eval": { "type": ["number", "null"] }, "total": { "type": ["number", "null"] } }, "required": ["choose_template", "prefill", "instantiation_evaluation", "execute", "execute_eval", "total"] } }, "required": ["unique_id", "app", "original", "execution_result", "instantiation_result", "time_cost"] }