AIF-C01 Question 110
Single answerYour company wants to implement a customer support chatbot that can provide accurate responses derived from a large internal knowledge base of product documentation. The chatbot needs to retrieve relevant information dynamically and generate human-like answers for user queries. Which approach would best meet this requirement, and what AWS service could be used to implement it?
- A
Use Retrieval Augmented Generation (RAG) to retrieve relevant knowledge base documents and generate responses using a large language model (LLM). Amazon Bedrock can be used to support this approach.
- B
Use a rule-based chatbot that relies on pre-defined scripts and decision trees for answering customer queries.
- C
Deploy a standalone large language model (LLM) to generate responses without retrieving any external information.
- D
Use Amazon Rekognition to analyze the customer’s sentiment and generate responses based on predefined templates.
Show answer and explanation
Correct answer: A
Explanation
The Retrieval Augmented Generation (RAG) approach is ideal for scenarios where a chatbot needs to combine the power of a large language model (LLM) with domain-specific knowledge retrieval. Amazon Bedrock simplifies the implementation of RAG by offering access to foundational LLMs and the ability to integrate retrieval mechanisms for dynamic and accurate responses. This makes it well-suited for customer support scenarios involving extensive knowledge bases.
- A. Correct.
This is the correct answer. Retrieval Augmented Generation (RAG) combines document retrieval and generative language models to produce accurate responses by pulling relevant information from external sources like a knowledge base. Amazon Bedrock supports this by providing access to foundation models that can be integrated with retrieval mechanisms.
- B. Incorrect.
This is incorrect. Rule-based chatbots are limited to pre-defined scripts and do not dynamically retrieve or generate responses based on external knowledge, making them unsuitable for large, evolving knowledge bases.
- C. Incorrect.
This is incorrect. A standalone LLM cannot ensure the accuracy of its responses as it does not retrieve up-to-date or domain-specific information from external sources.
- D. Incorrect.
This is incorrect. Amazon Rekognition is a computer vision service and is not designed for natural language understanding or information retrieval tasks.