Skip to content

Commit bdbe899

Browse files
authored
Show AI Criteria in Teacher Tool (#10295)
This puts the AI criteria & validation plan in our normal (non-test) catalog for the teacher tool.
1 parent e15dc7e commit bdbe899

File tree

4 files changed

+38
-40
lines changed

4 files changed

+38
-40
lines changed

common-docs/teachertool/catalog-shared.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
{
22
"criteria": [
3+
{
4+
"id": "499F3572-E655-4DEE-953B-5F26BF0191D7",
5+
"use": "ai_question",
6+
"template": "Ask AI: ${question}",
7+
"description": "Experimental: AI outputs may not be accurate. Use with caution and always review responses.",
8+
"docPath": "/teachertool",
9+
"maxCount": 5,
10+
"tags": ["General"],
11+
"requestFeedback": true,
12+
"params": [
13+
{
14+
"name": "question",
15+
"type": "longString",
16+
"maxCharacters": 1000,
17+
"paths": ["checks[0].question"]
18+
},
19+
{
20+
"name": "shareid",
21+
"type": "system",
22+
"key": "SHARE_ID",
23+
"paths": ["checks[0].shareId"]
24+
}
25+
]
26+
},
327
{
428
"id": "59AAC5BA-B0B3-4389-AA90-1E767EFA8563",
529
"use": "block_used_n_times",
Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,3 @@
11
{
2-
"criteria": [
3-
{
4-
"id": "499F3572-E655-4DEE-953B-5F26BF0191D7",
5-
"use": "ai_question",
6-
"template": "Ask AI: ${question}",
7-
"description": "Experimental: AI outputs may not be accurate. Use with caution and always review responses.",
8-
"docPath": "/teachertool",
9-
"maxCount": 5,
10-
"tags": ["General"],
11-
"requestFeedback": true,
12-
"params": [
13-
{
14-
"name": "question",
15-
"type": "longString",
16-
"maxCharacters": 1000,
17-
"paths": ["checks[0].question"]
18-
},
19-
{
20-
"name": "shareid",
21-
"type": "system",
22-
"key": "SHARE_ID",
23-
"paths": ["checks[0].shareId"]
24-
}
25-
]
26-
}
27-
]
2+
"criteria": []
283
}
Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
11
{
2-
"validatorPlans": [
3-
{
4-
".desc": "Ask Copilot a question",
5-
"name": "ai_question",
6-
"threshold": -1,
7-
"checks": [
8-
{
9-
"validator": "aiQuestion",
10-
"question": "",
11-
"shareId": ""
12-
}
13-
]
14-
}
15-
]
2+
"validatorPlans": []
163
}

common-docs/teachertool/validator-plans-shared.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,18 @@
294294
"blockType": "math_number"
295295
}
296296
]
297+
},
298+
{
299+
".desc": "Ask Copilot a question",
300+
"name": "ai_question",
301+
"threshold": -1,
302+
"checks": [
303+
{
304+
"validator": "aiQuestion",
305+
"question": "",
306+
"shareId": ""
307+
}
308+
]
297309
}
298310
]
299311
}

0 commit comments

Comments
 (0)