Refining a Prompt for Context-Specific Answers
An analyst wants a language model to answer questions using only the data from a specific table. However, the model's responses include external information. Based on the case study below, identify the critical omission in the analyst's prompt and suggest a specific instruction to add that would resolve the issue.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Application in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Critical Evaluation of a Context-Restricting Prompt
Refining a Prompt for Context-Specific Answers
A developer is using a large language model to answer questions based on a specific data table. To prevent the model from inventing information, which part of the following prompt is the most crucial instruction?
You are an expert tasked with generating answers from input queries. You have been provided with a query and corresponding context information, organized in a table where each row represents a useful record. Please generate an answer using only this context information. Ensure that you provide the answer in your own words.