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
posta 5 mesi fa1775 visualizzazioni
3 Risposte
2
Risposta accettata

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
ESPERTO
con risposta 5 mesi fa
profile picture
ESPERTO
verificato 2 mesi fa
  • 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
ESPERTO
con risposta 5 mesi fa
  • 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
con risposta 5 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande