feat:更新练习题接口

This commit is contained in:
2026-07-30 13:07:26 +08:00
parent 50a27323cc
commit 9c9ac3ab1c
9 changed files with 83 additions and 266 deletions

View File

@@ -21,6 +21,7 @@ study_prompt = """
- JSON 必须是合法格式,可被程序直接解析。
4. **返回格式(严格遵循)**
- select字段是用户实际选择的永远为空数组
[
{
"id": 1,
@@ -32,7 +33,8 @@ study_prompt = """
"选项C内容",
"选项D内容"
],
"answer": ["A"]
"answer": ["A"],
"select": []
},
{
"id": 2,
@@ -44,7 +46,8 @@ study_prompt = """
"选项C内容",
"选项D内容"
],
"answer": ["A", "C"]
"answer": ["A", "C"],
"select": []
}
]
"""