Example of a General-Purpose Question-Answering Prompt Template
A fundamental prompt template for general-purpose question answering pairs a question placeholder with an answer prompt. For example:
Question: {*question*}
Answer:
This simple format is widely used in NLP to instruct a language model to return an answer corresponding directly to the submitted query.
0
1
Tags
Foundations of Large Language Models
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
A developer is building a system that must answer a user's question based only on a provided paragraph of text. The system's output must be a direct, concise answer and the specific sentence from the paragraph that contains the evidence. Which of the following structured queries is best designed to consistently produce both required outputs?
Designing a Robust QA Prompt Template
Evaluating a Failing Customer Support Prompt
Example of a General-Purpose Question-Answering Prompt Template