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
gefragt vor 5 Monaten1769 Aufrufe
3 Antworten
2
Akzeptierte Antwort

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
EXPERTE
beantwortet vor 5 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten
  • 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
EXPERTE
beantwortet vor 5 Monaten
  • 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
beantwortet vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen