
Answer-first summary for fast verification
Answer: Embeddings and Retrieval-Augmented Generation (RAG)
## Explanation **Why B (Embeddings and Retrieval-Augmented Generation - RAG) is correct:** 1. **RAG Architecture**: Retrieval-Augmented Generation (RAG) is specifically designed for use cases where a chatbot needs to answer questions based on external documents or knowledge sources. It combines information retrieval with text generation. 2. **How RAG works**: - **Embeddings**: Converts research papers into vector representations (embeddings) that capture semantic meaning - **Retrieval**: When a user asks a question, the system searches for the most relevant sections from the research papers using similarity search in the embedding space - **Generation**: The retrieved relevant information is then provided as context to a foundation model to generate accurate, context-aware responses 3. **Amazon Bedrock Capabilities**: Amazon Bedrock provides built-in support for RAG through: - **Embeddings models**: Models that can create vector representations of text - **Knowledge Bases**: Feature that allows you to upload documents and create a searchable knowledge base - **RAG workflows**: Integrated pipelines that handle the entire RAG process **Why other options are incorrect:** - **A (Reinforcement Learning)**: This is a training methodology where models learn through trial and error with rewards/penalties, not specifically designed for document-based Q&A systems. - **C (Few-shot prompting)**: This refers to providing a few examples in the prompt to guide the model's response, but doesn't address the core requirement of searching through uploaded research papers. - **D (Transfer Learning)**: This is a machine learning technique where knowledge from one task is applied to another related task, not a specific capability for document search and response generation. **Key Takeaway**: For chatbots that need to answer questions based on specific documents (like research papers), RAG is the most appropriate approach as it ensures responses are grounded in the actual content of the documents rather than relying solely on the model's pre-trained knowledge.
Author: Jin H
Ultimate access to all questions.
No comments yet.
A university wants to use Amazon Bedrock to power a chatbot that answers questions based on uploaded research papers. The chatbot must search relevant information and generate responses. Which Bedrock capability supports this?
A
Reinforcement Learning
B
Embeddings and Retrieval-Augmented Generation (RAG)
C
Few-shot prompting
D
Transfer Learning