Learn Before
Using a Search Engine for Text Retrieval
A common method for information retrieval involves inputting a query into an online search engine, which then returns relevant text passages from the internet to be used as context for answering the query.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
Using a Search Engine for Text Retrieval
Example of Retrieved Text for the 2028 Olympics Question
Historical Context of Los Angeles as a Three-Time Olympics Host
Timeline of Recent Olympic Games in the United States
Example of Retrieved Text for the 2024 Olympics
Example RAG Prompt for the 2028 Olympics Question
Example of LLM Refusal with Irrelevant Context
Example of a Hybrid Prompt Combining RAG and Tool Use
A user asks a language model the following question: 'Where will the 2028 Olympics be held?' To generate an accurate answer, the model is provided with an external text snippet. Which of the following text snippets would be most effective for the model to use in its response?
Evaluating Information Sufficiency for an Answering System
An automated answering system is tasked with answering a user's question based only on a provided text.
User's Question: 'Where will the 2028 Olympics be held?'
Provided Text: 'The 2028 Summer Olympics, also known as Los Angeles 2028, is a forthcoming international multi-sport event. It is scheduled to be held in the United States from July 14 to July 30, 2028. This will be the first time the Olympic Games have been hosted in the United States since the 2002 Winter Games in Salt Lake City.'
Which of the following is the most accurate and faithful answer the system can generate from the provided text?
Learn After
Evaluating Search Engine Results for Context
An AI assistant is designed to answer questions by first using a search engine to find relevant text from the internet and then using that text to generate an answer. A user asks the assistant, 'What was the main theme of the 2023 Met Gala?' The assistant incorrectly answers, 'The main theme was "Gilded Glamour".' A quick check reveals that 'Gilded Glamour' was the theme for 2022, and the correct 2023 theme, 'Karl Lagerfeld: A Line of Beauty', is widely available online. Based on the described process, what is the most likely reason for the assistant's incorrect answer?
An AI system is designed to answer a user's question by finding relevant information online. Arrange the following actions into the correct logical sequence that the system would follow from receiving a question to providing an answer.