Prepare for the AWS Certified AI Practitioner Exam with flashcards and multiple choice questions. Each question includes hints and explanations to help you succeed on your test. Get ready for certification!

Practice this question and more.


To develop a chat interface for PDF manuals cost-effectively, what should a company do?

  1. Use prompt engineering to add one PDF file as context

  2. Use prompt engineering to add all PDF files as context

  3. Use all PDF documents to fine-tune a model

  4. Upload PDF documents to an Amazon Bedrock knowledge base

The correct answer is: Upload PDF documents to an Amazon Bedrock knowledge base

Developing a chat interface for PDF manuals in a cost-effective manner involves choosing a method that maximizes efficiency while utilizing available resources effectively. By uploading PDF documents to an Amazon Bedrock knowledge base, the company can leverage the capabilities of the Amazon Bedrock service to manage and query the information contained in those documents. This approach allows for efficient retrieval and interaction with the contents without requiring substantial computational resources or extensive engineering efforts that may arise from other methods. In this context, using a knowledge base streamlines the process of creating an effective chat interface. It allows the model to access the relevant information in response to user queries about the manuals. This contrasts with other options, such as prompt engineering with all or some PDF files as context or fine-tuning a model, which may be less efficient. Prompt engineering could lead to increased complexity, especially if multiple documents are involved, and fine-tuning a model can be resource-intensive, requiring additional training data, time, and costs. Therefore, employing Amazon Bedrock to upload and manage the PDF documents permits a straightforward and economically feasible solution for developing the chat interface.