π DefaultΒΆ
Note
ID: templates.selection.by_attribute.default | Type: MultipleChoiceTemplate
{
"__type__": "multiple_choice_template",
"choices_field": "choices_texts",
"choices_separator": "\n",
"input_format": "{choices_text_type}:\n{choices_texts}",
"instruction": "Which of the {choices_text_type} is the most {required_attribute}, please respond with: {numerals}.",
"postprocessors": [
"processors.to_string_stripped",
"processors.first_character"
],
"shuffle_choices": true,
"target_field": "choice",
"target_prefix": "Most {required_attribute}:\n",
"title_fields": [
"choices_text_type"
]
}
Explanation about MultipleChoiceTemplateΒΆ
Formats the input (that specifies the question), the multiple choices to select the answer from, and specifies the field with the correct answer.
References: processors.first_character, processors.to_string_stripped
Read more about catalog usage here.