From e163e9d675e3f556f8d145c7846abfb34a8465fa Mon Sep 17 00:00:00 2001 From: uname <2986773479@qq.com> Date: Sat, 31 Jan 2026 14:30:07 +0800 Subject: [PATCH] fix: adapt to structural changes of COT data --- .../app/module/shared/util/structured_file.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/datamate-python/app/module/shared/util/structured_file.py b/runtime/datamate-python/app/module/shared/util/structured_file.py index 040c2ba5..ef3232c6 100644 --- a/runtime/datamate-python/app/module/shared/util/structured_file.py +++ b/runtime/datamate-python/app/module/shared/util/structured_file.py @@ -73,11 +73,11 @@ def __init__(self): self.schema = { "type": "object", "properties": { - "question": {"type": "string"}, - "conclusion": {"type": "string"}, + "instruction": {"type": "string"}, + "output": {"type": "string"}, "chain_of_thought": {"type": "string"} }, - "required": ["question", "conclusion", "chain_of_thought"], + "required": ["question", "instruction", "output"], } self.schema_list = { "type": "array",