πŸ“„ QtsummΒΆ

Template from https://arxiv.org/pdf/2305.14303 for query-focused summarization over tables

templates.qa.with_context.qtsumm

MultiReferenceTemplate(
    instruction="Using the information from the {context_type} given below, summarize a paragraph-long response to the following user query.
Here are some input-output examples. Read the examples carefully to figure out the mapping. The output of the last example is not given, and your job is to figure out what it is.",
    input_format="{context_type}:
{context}
Query:
{question}",
    output_format="{answers}",
    target_prefix="Answer:
",
    references_field="answers",
    title_fields=[
        "context_type",
    ],
)
[source]

Read more about catalog usage here.