View source: R/bedrockagent_operations.R
bedrockagent_create_data_source | R Documentation |
Connects a knowledge base to a data source. You specify the configuration for the specific data source service in the dataSourceConfiguration
field.
See https://www.paws-r-sdk.com/docs/bedrockagent_create_data_source/ for full documentation.
bedrockagent_create_data_source(
clientToken = NULL,
dataDeletionPolicy = NULL,
dataSourceConfiguration,
description = NULL,
knowledgeBaseId,
name,
serverSideEncryptionConfiguration = NULL,
vectorIngestionConfiguration = NULL
)
clientToken |
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
dataDeletionPolicy |
The data deletion policy for the data source. You can set the data deletion policy to:
|
dataSourceConfiguration |
[required] The connection configuration for the data source. |
description |
A description of the data source. |
knowledgeBaseId |
[required] The unique identifier of the knowledge base to which to add the data source. |
name |
[required] The name of the data source. |
serverSideEncryptionConfiguration |
Contains details about the server-side encryption for the data source. |
vectorIngestionConfiguration |
Contains details about how to ingest the documents in the data source. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.