π DefaultΒΆ
templates.selection.by_attribute.default
type: MultipleChoiceTemplate
instruction: Which of the {choices_text_type} is the most {required_attribute}, please respond with: {numerals}.
input_format: "{choices_text_type}:\n{choices_texts}"
target_prefix: "Most {required_attribute}:\n"
target_field: choice
choices_field: choices_texts
choices_separator: "\n"
postprocessors:
- processors.to_string_stripped
- processors.first_character
shuffle_choices: True
title_fields:
- choices_text_type
[source]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.to_string_stripped, processors.first_character
Read more about catalog usage here.