Values.UpdateKnowledgeBaseRequestSourceUpdates the configuration of a knowledge base with the fields that you specify. Because all fields will be overwritten, you must include the same values for fields that you want to keep the same. You can change the following fields: name description roleArn You can't change the knowledgeBaseConfiguration or storageConfiguration fields, so you must specify the same configurations as when you created the knowledge base. You can send a GetKnowledgeBase request and copy the same configurations.
type nonrec t = {knowledgeBaseId : Id.t;The unique identifier of the knowledge base to update.
*)name : Name.t;Specifies a new name for the knowledge base.
*)description : Description.t option;Specifies a new description for the knowledge base.
*)roleArn : KnowledgeBaseRoleArn.t;Specifies a different Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.
*)knowledgeBaseConfiguration : KnowledgeBaseConfiguration.t;Specifies the configuration for the embeddings model used for the knowledge base. You must use the same configuration as when the knowledge base was created.
*)storageConfiguration : StorageConfiguration.t option;Specifies the configuration for the vector store used for the knowledge base. You must use the same configuration as when the knowledge base was created.
*)}val make :
?description:??? ->
?storageConfiguration:??? ->
knowledgeBaseId:Id.t ->
name:Name.t ->
roleArn:KnowledgeBaseRoleArn.t ->
knowledgeBaseConfiguration:KnowledgeBaseConfiguration.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `String of Id.t
| `Structure of
(string
* [> `Enum of string
| `Structure of
(string
* [> `Enum of string
| `String of BedrockEmbeddingModelArn.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `Structure of
(string
* [> `List of
[> `String of
AwsDataCatalogTableName.t ]
list
| `String of S3BucketUri.t ])
list ])
list ]
list
| `String of FieldName.t
| `Structure of
(string
* [> `Enum of string
| `Integer of Dimensions.t
| `List of
[> `Structure of
(string
* [> `Structure of
(string
* [> `Integer of
AudioSegmentationConfigurationFixedLengthDurationInteger.t ])
list ])
list ]
list
| `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `String of
QueryGenerationColumnName.t ])
list ]
list
| `String of
QueryGenerationTableName.t ])
list ]
list
| `String of WorkgroupArn.t
| `Structure of
(string
* [> `Enum of string
| `String of SecretArn.t ])
list ])
list ])
list ])
list ])
list ])
list ])
list ]