Skip to main content

Manage data sources

Contributors netapp-tonacki netapp-bcammett netapp-rlithman netapp-mwallis

After you create a knowledge base using data sources on your FSx for ONTAP file system, you can view the data source details, update or change the data source contents, edit data source settings, or delete the data source.

View information about a data source

You can view information about the contents of a data source and you can view its embedding status with the knowledge base. Since a data source is part of a knowledge base, you'll need to open the knowledge base first before you can view the data source details.

Steps
  1. From the navigation menu, select AI.

  2. Select the knowledge base where the data source resides, and then select the option button and select Manage knowledge base.

    The bottom part of the page lists the data sources that are part of this knowledge base.

  3. Expand each row by selecting the the down-arrow button to view detailed information about each data source, such as the FSx for ONTAP file system, the volume, and the path where the data source resides.

    It also lists the embedding information and whether that data source is currently embedded in the knowledge base.

Edit data source settings

You can edit information about a data source that you've integrated in a knowledge base. Most of the information is fixed after you've added a data source to a knowledge base, but you can make changes to the chunking definition and configuration, and to the permission awareness (when using SMB protocol on the data source volume).

Steps
  1. From the knowledge bases inventory page, select the knowledge base where the data source resides, and then select the option button and select Manage knowledge base.

    The bottom part of the page lists the data sources that are part of this knowledge base.

  2. In the row of the data source that you want to edit, select the option button and select Edit data source.

  3. In the Edit data source page, select the down-arrow button to expand the row for chunk definition.

  4. Update the settings for the chunking strategy and configuration, and permission awareness (for SMB volumes) and select Save.

Result

The data source settings are updated and the AI system synchronizes the data source so that it is re-indexed to the knowledge base.

Update the contents of an existing data source

You can change the contents of a data source at any time to add or update your organizational data. If this data source is being actively used in a knowledge base, you must sync the data source so that it is re-indexed to the knowledge base. Syncing is incremental, so Amazon Bedrock only processes the objects in your FSx for ONTAP volume that have been added, modified, or deleted since the last sync.

Data sources are synchronized with the knowledge base automatically once a day so that any data source changes are reflected in the chatbot. If you make changes to a data source and you'd like to synchronize the data immediately, you can perform an on-demand synchronization.

Delete a data source

If you no longer need a data source to be part of your knowledge base, you can delete it.

Steps
  1. From the knowledge base inventory page, select the knowledge base where the data source resides, and then select the option button and select Manage knowledge base.

    The bottom part of the page lists the data sources that are part of this knowledge base.

  2. In the row of the data source that you want to delete, select the option button and select Delete data source.

  3. In the Delete data source dialog, confirm that you want to delete it and select Confirm.

Result

The data source is removed from the knowledge base and the AI system removes the indexed information about this data source from the knowledge base. Any information from that data source will no longer be available to chatbots that are using the knowledge base.