Add a data source to your app - Amazon Bedrock Studio

Amazon Bedrock Studio, renamed to Amazon Bedrock IDE, is now available in Amazon SageMaker Unified Studio. Amazon Bedrock Studio will be available until February 28, 2025. You may access existing workspaces in this previous version through February 28, 2025, but you may not create new workspaces. To access the enhanced GA version of Amazon Bedrock Studio with additional features and capabilities, you can create a new Amazon SageMaker Unified Studio domain. To learn about Amazon Bedrock Studio IDE, see the documentation.

Add a data source to your app

You can use your own data in your apps by adding a data source. This allows your app access to information that is only available to you. In Bedrock Studio a data source can be a document or an Amazon Bedrock Knowledge Base.

Document data source

A document is a file that contains information that you want the model to use when generating a response. By using a document as a data source, your app users can chat with a document. For example, they can use a document to answers questions, make an analysis, create a summary, itemize fields in a numbered list, or rewrite content. Amazon Bedrock Studio doesn't store your document or its data after use.

You can use a document as a data source in a chat app. For more information, see Add a document data source to your chat app.

Note

You can't use a document data source in a Prompt Flows app.

Knowledge Base data source

You can also use a Knowledge Base to store your data. A Knowledge Base provides you the capability of amassing data sources into a repository of information. With Knowledge Bases, you can easily build an app that takes advantage of retrieval augmented generation (RAG), a technique in which the retrieval of information from data sources augments the generation of model responses. You can only access Knowledge Bases that you create within Amazon Bedrock Studio. You can't access Knowledge Bases that you create in Amazon Bedrock.

You can use a Knowledge Base in a chat app and a Prompt Flows app.

The document file or the Knowledge Base source file must be in PDF, MD, TXT, DOC, DOCX, HTML, CSV, XLS or XLSX format. The maximum file size is 10 MB.