π With ContextΒΆ
templates.qa.with_context
type: MultiReferenceTemplate
instruction: Answer the question based on the information provided in the given {context_type}.
input_format: "{context_type}:\n{context}\nQuestion:\n{question}"
output_format: {answer}
target_prefix: "Answer:\n"
references_field: answers
title_fields:
- context_type
[source]Read more about catalog usage here.