Search⌘ K
AI Features

Applications of Foundation Models II

Explore practical applications of foundation models in AI solutions such as chatbots for legal document retrieval and academic tutoring. Understand techniques like semantic search, fine-tuning, chain-of-thought prompting, and addressing prompt engineering risks. Learn strategies to deploy language models efficiently on edge devices for real-time support, enhancing your skills for AWS Certified AI Practitioner exam and real-world scenarios.

Question 34

A legal firm manages a large repository of legal documents, including case law, contracts, statutes, and client files. They want to design a chatbot that allows them to query the repository quickly and retrieve relevant documents based on semantic queries.

As an AI practitioner, which approach would you recommend for training the model with the least operational overhead?

A. Create a knowledge base using Bedrock and Amazon Neptune as a graph-based vector store to store document embeddings and metadata. Use the Bedrock foundational model to process the user query and perform a semantic search to retrieve related documents.

B. Use Amazon SageMaker to train a custom semantic search model on the legal documents and store the embeddings in Amazon OpenSearch Service. Integrate the model with LangChain for querying the document repository.

C. Store legal documents in Amazon DynamoDB and implement a keyword-based search for query handling using LangChain ...