Where to place the Amazon Kendra metadata files for Amazon S3 data source?

0

I have the following structure in Amazon S3 under my bucket:

-/kendra-analysis/
     - ead0d0af-e769-4c99-97f7-04e68d1cf8b2.txt
-/kendra-analysis-meta/
     - ead0d0af-e769-4c99-97f7-04e68d1cf8b2.txt.metadata.json

My data source configuration in Amazon Kendra has the following:

Data source bucket : <Bucket_Name>

Metadata prefix : kendra-analysis-meta/

Include prefixes : kendra-analysis/

It seems like my metadata is not picked up. What am I missing?

AWS
Aneel_M
feita há 4 anos747 visualizações
1 Resposta
0
Resposta aceita

In this case, the Amazon Kendra index is looking in:

/kendra-analysis-meta/kendra-analysis/ead0d0af-e769-4c99-97f7-04e68d1cf8b2.txt.metadata.json

because it mirrors the prefix of the first order object underneath the specified metadata prefix.

See: https://docs.aws.amazon.com/kendra/latest/dg/s3-metadata.html

AWS
ESPECIALISTA
JDB
respondido há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas