Skip to content

Commit

Permalink
changed default prompt to ask for number in json rather than value
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusgreen committed May 6, 2024
1 parent fcd1888 commit 06c02a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
new lang_string('defaultmarksscheme', 'qtype_aitext'),
new lang_string('defaultmarksscheme_setting', 'qtype_aitext'),
new lang_string('thedefaultmarksscheme', 'qtype_aitext')));

$settings->add(new admin_setting_configtext(
'qtype_aitext/disclaimer',
new lang_string('disclaimer', 'qtype_aitext'),
Expand All @@ -59,7 +59,7 @@
new lang_string('jsonprompt', 'qtype_aitext'),
new lang_string('jsonprompt_setting', 'qtype_aitext'),
'Return only a JSON object which enumerates a set of 2 elements.The JSON object should be in
this format: {feedback":"string","marks":"number"} where marks is a single value summing all marks.',
this format: {feedback":"string","marks":"number"} where marks is a single number summing all marks.',
PARAM_RAW,
20,
6
Expand Down

0 comments on commit 06c02a8

Please sign in to comment.