amazon-web-servicesamazon-bedrock

AWS Bedrock RAG - Unable to sync data source in a knowledge base


I'm trying to use AWS Bedrock's RAG feature. I created an s3 bucket and put in some CSV files representing tables from a customer database.

I created two knowledge bases - one's data source is the whole bucket and the other is one of the files. I'm not sure if putting a whole bucket as a data source will work.

While testing the knowledge bases on the console, I get an error that says the data source is not synced:

data source not synced.

When I try to sync the sources, I get no feedback; the sync status does not change and there is no popup for an error or an ongoing operation: no sync feedback

Extra question: I want to use my app's customer database knowledge to help the FM exploit that data and know better the customer that's giving prompts. the data is structured (sql) but not textual at all, very few attributes are while the others are mostly foreign keys..etc so lots of relationships to understand.

I have doubts that the LLM can't get use of that as I only know the use cases of big blocks of text such us policies. can anyone confirm if I shouldn't be using RAG here? and give me possible alternative solutions if so. OR should I just preprocess the data before ingesting it with bedrock? PS i can't go with fine-tuning for it expenses.


Solution

  • Thanks everyone for your answers.

    I actually found what it was about a while ago but forgot to post it

    turned out to be a browser issue: AWS Console was showing error pop-ups, but they didn’t appear in Opera for some reason. When I switched browsers, the error messages became visible. The model i was trying to use was not supported at the time as Rag only supported Anthropic models. Also, as of August 24, they support LLaMA too! https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-supported.html