logo
Unleashing the Power of AWS Bedrock-Knowledge Base for Generative AI - Claude2 Model

Unleashing the Power of AWS Bedrock-Knowledge Base for Generative AI - Claude2 Model

Quick step by step Instruction to Play with AWS Bedrock -Knowledge Base - Demo with Cricket Statistics

Published Dec 13, 2023

  1. Enhanced Responses with RAG: Amazon Bedrock's Knowledge Bases empower Facility Managers (FMs) and agents by integrating Retrieval Augmented Generation (RAG), ensuring more relevant and accurate responses by leveraging private data sources.
  2. End-to-End Workflow Support: The fully managed capability of Knowledge Bases for Amazon Bedrock covers the entire RAG workflow, simplifying processes from data ingestion to retrieval and prompt augmentation. No custom integrations are needed, and session context management supports seamless multi-turn conversations.
  3. Effortless Data Connection: Securely connecting FMs and agents to data sources is streamlined. By pointing to the data's location in Amazon S3, the system automatically fetches, processes, and stores information in a vector database, creating a hassle-free experience.
  4. Flexible Vector Store Options: Whether using Amazon OpenSearch Serverless, Pinecone, or Redis Enterprise Cloud, the system allows for easy specification of an existing vector store. If none exists, Amazon Bedrock creates an Amazon OpenSearch Serverless vector store for efficient data storage.
  5. Transparent Information Retrieval: To boost transparency and credibility, all information retrieved from Knowledge Bases for Amazon Bedrock comes with citations. This ensures proper source attribution, contributing to trustworthy and reliable interactions.

You won’t see the results in text generation due to "knowledge cutoff". It refers to the point in time at which the information used to train a machine learning model ends.
Prompt:
Who won the Match Against India vs Pakistan in Worldcup 2023 - Also give a Quick Summary

  • Go to —> AWS Bedrock - Orchestration —> Knowledge

  • I used below dataset from 2023 Cricket Worldcup till Semifinal
1
https://github.com/jayyanar/serverless-rag-demo/blob/main/worldcup-upto-semifinal.txt

You can find the Output Retrieved from Knowledge Base and also Source of Text Completion
Feel free to share your Feedback and comments !