πŸ“„ SimpleΒΆ

templates.qa.multi_turn.with_context.simple

MultiTurnTemplate(
    instruction="Read the context and answer the last question in the conversation. Answer with the minimal span from the context answering the question.
 Context:{context}",
    references_field="answers",
    turns_field="conversation/dialog",
    postprocessors=[
        "processors.take_first_non_empty_line",
        "processors.lower_case",
        "processors.remove_punctuations",
        "processors.remove_articles",
        "processors.fix_whitespace",
    ],
)
[source]

References: processors.take_first_non_empty_line, processors.remove_punctuations, processors.remove_articles, processors.fix_whitespace, processors.lower_case

Read more about catalog usage here.