Learn Before
Formulating a User Query for a RAG System
A user is interacting with a system designed to answer questions based on provided documents. The system has retrieved the following text about a company's new policy. The user's goal is to determine the exact date the policy becomes active.
DOCUMENT TEXT: Memo: New Remote Work Policy To: All Employees Date: October 1, 2023
This memo outlines the updated remote work policy, which has been approved by senior leadership. The policy will officially go into effect at the start of the next fiscal quarter. This change is designed to offer greater flexibility. All staff are expected to have discussed their new arrangements with their managers by November 15, 2023. The next fiscal quarter begins on December 1, 2023.
Based on the user's goal, what would be the most effective and direct 'user query' component to include in the prompt for the language model?
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
A language model is given the following complete set of instructions and text to generate a response:
INSTRUCTIONS: You are an expert research assistant. Your task is to answer the question below using only the information provided in the accompanying 'CONTEXT' section. If the context does not contain the answer, state that the information is not available.
CONTEXT: The Amazon rainforest, covering much of northwestern Brazil and extending into Colombia, Peru and other South American countries, is the world's largest tropical rainforest. It is known for its immense biodiversity. The Amazon River is the largest river by discharge volume of water in the world.
QUESTION: What is the defining characteristic of the Amazon River?
Which part of this input is most directly responsible for specifying the exact piece of information the model must locate and formulate into an answer?
Formulating a User Query for a RAG System
Optimizing a Query for an Information Retrieval System