Amazon Bedrock knowledgebase - Does knowledge base support JSON files in S3?

0

I have my source data in JSON file format in S3. The data is nested and hierarchical. ** Is it accepted format for Bedrock to vectorize? ** Also currently i can only provide a single file to the knowledge base. How can i add more files to knowledge base?

sree
質問済み 4ヶ月前1739ビュー
1回答
0

Hello.

The file formats that can be used in the knowledge base are those described in the following document.
I don't think JSON can be used.
https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup.html

  • Plain text (.txt)
  • Markdown (.md)
  • HyperText Markup Language (.html)
  • Microsoft Word document (.doc/.docx)
  • Comma-separated values (.csv)
  • Microsoft Excel spreadsheet (.xls/.xlsx)
  • Portable Document Format (.pdf)

Also currently i can only provide a single file to the knowledge base. How can i add more files to knowledge base?

I think there is no problem even if the file is divided into multiple parts.
https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-setup.html

No chunking – Amazon Bedrock treats each file as one chunk. If you choose this option, you may want to pre-process your documents by splitting them into separate files before uploading them to an Amazon S3 bucket.

profile picture
エキスパート
回答済み 4ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ