Amazon SageMaker Unified Studio is in preview release and is subject to change.
Add a data source to your app
You can use your own data in your apps by adding a data source. This lets your app access information that is only available to you or information from specific websites. You can use an Amazon Bedrock knowledge base as a data source. If you create a chat agent app, you can directly add a file as a data source, without having to create a knowledge base.
Single file in a chat agent app
You can use a single file as a data source for a chat agent app without having to create a knowledge base. The file contains information that you want the model to use when generating a response. For example, chat agent app users can ask questions about the document, ask for a summary, or have the model rewrite the document content. Amazon Bedrock IDE doesn't store your document or its data after use. The maximum file size is 10MB.
Knowledge Base data source
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 IDE. You can't access Knowledge Bases that you create in the Amazon Bedrock console or AWS SDK.
The data source for a knowledge base can be a document, such as a PDF file, or content from a web crawler that gathers content from specific source URLs. You can then use the Knowledge Base in a chat agent app and a flow app.
For more information, see Build and manage knowledge bases for retrieval and responses in the Amazon Bedrock User Guide.