Values.DataSourceSourceContains details about a data source.
type nonrec t = {knowledgeBaseId : Id.t option;The unique identifier of the knowledge base to which the data source belongs.
*)dataSourceId : Id.t option;The unique identifier of the data source.
*)name : Name.t option;The name of the data source.
*)status : DataSourceStatus.t option;The status of the data source. The following statuses are possible: Available – The data source has been created and is ready for ingestion into the knowledge base. Deleting – The data source is being deleted.
*)description : Description.t option;The description of the data source.
*)dataSourceConfiguration : DataSourceConfiguration.t option;The connection configuration for the data source.
*)serverSideEncryptionConfiguration : ServerSideEncryptionConfiguration.t option;Contains details about the configuration of the server-side encryption.
*)vectorIngestionConfiguration : VectorIngestionConfiguration.t option;Contains details about how to ingest the documents in the data source.
*)dataDeletionPolicy : DataDeletionPolicy.t option;The data deletion policy for the data source.
*)createdAt : DateTimestamp.t option;The time at which the data source was created.
*)updatedAt : DateTimestamp.t option;The time at which the data source was last updated.
*)failureReasons : FailureReasons.t option;The detailed reasons on the failure to delete a data source.
*)}val make :
?knowledgeBaseId:??? ->
?dataSourceId:??? ->
?name:??? ->
?status:??? ->
?description:??? ->
?dataSourceConfiguration:??? ->
?serverSideEncryptionConfiguration:??? ->
?vectorIngestionConfiguration:??? ->
?dataDeletionPolicy:??? ->
?createdAt:??? ->
?updatedAt:??? ->
?failureReasons:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of [> `String of FailureReason.t ] list
| `String of Id.t
| `Structure of
(string
* [> `Enum of string
| `String of KmsKeyArn.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `String of S3Prefix.t
| `Structure of
(string
* [> `Enum of string
| `Structure of
(string
* [> `Structure of
(string * [> `String of LambdaArn.t ])
list ])
list ])
list ]
list
| `String of S3BucketArn.t
| `Structure of
(string
* [> `Enum of string
| `Integer of
FixedSizeChunkingConfigurationMaxTokensInteger.t
| `List of
[> `String of FilterPattern.t
| `Structure of
(string
* [> `Integer of
HierarchicalChunkingLevelConfigurationMaxTokensInteger.t ])
list ]
list
| `String of UserAgent.t
| `Structure of
(string
* [> `Enum of string
| `Integer of WebCrawlerLimitsRateLimitInteger.t
| `List of
[> `Structure of
(string * [> `String of Url.t ]) list ]
list
| `String of S3BucketUri.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `List of
[> `String of
FilterPattern.t ]
list
| `String of
FilteredObjectType.t ])
list ]
list ])
list ])
list ])
list ])
list ])
list
| `Timestamp of DateTimestamp.t ])
list ]