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
demandé il y a 5 mois1775 vues
3 réponses
2
Réponse acceptée

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
répondu il y a 5 mois
profile picture
EXPERT
vérifié il y a 2 mois
  • 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
répondu il y a 5 mois
  • 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
répondu il y a 5 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions