π Answer Based On Context InvertedΒΆ
templates.rag.response_generation.answer_based_on_context_inverted
MultiReferenceTemplate(
instruction="Answer the question, basing your answer on the context",
input_format="Question: {question}.
Context: {contexts}
",
target_prefix="Answer:",
references_field="reference_answers",
)
[source]Read more about catalog usage here.