Amazon Bedrock Studio is in preview release and is subject to change.
Create a Knowledge Base component
You can create a Knowledge base as a component in a Amazon Bedrock Studio project. If you are creating an app, you can also create a Knowledge Base when you configure the app. For an example, see Create a flows app.
Warning
The name and description of a Knowledge Base component are visible to all members of the Amazon Bedrock Studio workspace. We recommend that you don't store sensitive data in these two fields. Project-based access control ensures only authorized members of a project can edit the name, description, and other fields in the project.
To create a Knowledge Base
-
Open your Amazon Bedrock Studio workspace.
-
Make sure that you are in Build mode, by choosing Build at the top right of the page.
-
In the Project dropdown list, choose the project that you want to add a Knowledge Base to.
-
In the Components section, choose Create component and then Knowledge Base. The Create Knowledge Base pane is shown.
-
For Knowledge Base name, enter a name for the Knowledge Base.
-
For Knowledge Base description, enter a description for the Knowledge Base.
-
In Add data sources, choose Click to upload and upload the document that you want the Knowledge Base to use. Alternatively, add your source documents by dragging and dropping the document from your computer.
-
(Optional) For Embeddings model, choose a different model, if available.
-
(Optional) For Vector store, choose a different vector store, if available.
-
Choose Create to create the Knowledge Base.
-
Use the Knowledge Base in an app, by doing one of the following:
If your app is a chat app, do Add a Knowledge Base component to a chat app.
If your app is a Prompt Flows app, do Add a Knowledge Base component to a Prompt Flow app.