AWS Bedrock Knowledge base setup

0

I would like to know in AWS Bedrock how to configure the knowledge base for my data source where the data is updated periodically. I need to retrieve the responses pertained to the data quickly?

sree
asked 9 months ago2500 views
3 Answers
3
Accepted Answer

Hi,

This post is fully detailed step-by-step guidance for what you want to achieve: https://aws.amazon.com/blogs/aws/knowledge-bases-now-delivers-fully-managed-rag-experience-in-amazon-bedrock/

With a knowledge base, you can securely connect foundation models (FMs) in Amazon Bedrock
 to your company data for Retrieval Augmented Generation (RAG). Access to additional data 
helps the model generate more relevant, context-specific, and accurate responses without 
continuously retraining the FM. All information retrieved from knowledge bases comes with 
source attribution to improve transparency and minimize hallucinations. 

Best,

Didier

profile pictureAWS
EXPERT
answered 9 months ago
profile picture
EXPERT
reviewed 4 months ago
profile picture
EXPERT
reviewed 6 months ago
  • thank you for accepting my answer! Didier

  • I have set up the knowledge base of my sample data in s3 with Bedrock and created the data source in the console. Now i tested the knowledge base by posting the query to Anthropic Claude and i don't get relevant answers to my data. Responses turn out as inaccurate. What can i do ? will appreciate your responses.

1

Bedrock knowledge base implement Retrieval Augmented Technique where typically you need 2 components: a data source and a vector database. With Bedrock KB, you add data source as S3 (any type of file) and select a vector database as open search Serverless, Pinecone and others.

This blogs helps with setup: https://community.aws/content/2ZTXbwuRvH5gcwQczLXYgjQ0rpU/how-to-started-with-knowledge-bases-for-amazon-bedrock?lang=en

profile picture
EXPERT
answered 9 months ago
  • I have set up the knowledge base of my sample data in s3 with Bedrock and created the data source in the console. Now i tested the knowledge base by posting the query to Anthropic Claude and i don't get relevant answers to my data. Responses turn out as inaccurate. What can i do ? will appreciate your responses.

0

A Follow up on your answers.. Thank you all for your valuable answers. I have set up the knowledge base of my sample data in s3 with Bedrock and created the data source in the console. Now i tested the knowledge base by posting the query to Anthropic Claude and i don't get relevant answers to my data. Responses turn out as inaccurate. What can i do ? will appreciate your responses.

sree
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions