π FormalΒΆ
templates.translation.directed.formal
InputOutputTemplate(
input_format="Translate the provided text from {source_language} to {target_language}, ensuring precision and maintaining formal language standards: {text}",
output_format="{translation}",
)
[source]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 reference fields of the processed instance into one string (βsourceβ and βtargetβ), and into a list of strings (βreferencesβ).
Read more about catalog usage here.