π defaultΒΆ
Note
ID: templates.rewriting.by_attribute.default | Type: InputOutputTemplate
{
"input_format": "Rewrite this {input_text_type} into more {required_attribute} {output_text_type}.\nThe {input_text_type}: {input_text}",
"instruction": "Rewrite the given {input_text_type} according to the required attribute.",
"output_format": "{output_text}",
"target_prefix": "More {required_attribute} {output_text_type}: ",
"type": "input_output_template"
}
Explanation about InputOutputTemplateΒΆ
Generate field βsourceβ from fields designated as input, and fields βtargetβ and βreferencesβ from fields designated as output, of the processed instance.
Args specify the formatting strings with which to glue together the input and output designated fields of the processed instance into one string (βsourceβ and βtargetβ), and into a list of strings (βreferencesβ).
Read more about catalog usage here.