Values.CreateKnowledgeBaseRequestSourceCreates a knowledge base. When using this API, you cannot reuse Amazon AppIntegrations DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do, you'll get an InvalidRequestException error. For example, you're programmatically managing your external knowledge base, and you want to add or remove one of the fields that is being ingested from Salesforce. Do the following: Call DeleteKnowledgeBase. Call DeleteDataIntegration. Call CreateDataIntegration to recreate the DataIntegration or a create different one. Call CreateKnowledgeBase.
type nonrec t = {clientToken : NonEmptyString.t option;A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
*)name : Name.t;The name of the knowledge base.
*)knowledgeBaseType : KnowledgeBaseType.t;The type of knowledge base. Only CUSTOM knowledge bases allow you to upload your own content. EXTERNAL knowledge bases support integrations with third-party systems whose content is synchronized automatically.
*)sourceConfiguration : SourceConfiguration.t option;The source of the knowledge base content. Only set this argument for EXTERNAL or Managed knowledge bases.
*)renderingConfiguration : RenderingConfiguration.t option;Information about how to render the content.
*)vectorIngestionConfiguration : VectorIngestionConfiguration.t option;Contains details about how to ingest the documents in a data source.
*)serverSideEncryptionConfiguration : ServerSideEncryptionConfiguration.t option;The configuration information for the customer managed key used for encryption. This KMS key must have a policy that allows kms:CreateGrant, kms:DescribeKey, kms:Decrypt, and kms:GenerateDataKey* permissions to the IAM identity using the key to invoke Amazon Q in Connect. For more information about setting up a customer managed key for Amazon Q in Connect, see Enable Amazon Q in Connect for your instance.
*)description : Description.t option;The description.
*)}val make :
?clientToken:??? ->
?sourceConfiguration:??? ->
?renderingConfiguration:??? ->
?vectorIngestionConfiguration:??? ->
?serverSideEncryptionConfiguration:??? ->
?description:??? ->
?tags:??? ->
name:Name.t ->
knowledgeBaseType:KnowledgeBaseType.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list
| `String of NonEmptyString.t
| `Structure of
(string
* [> `String of Uri_.t
| `Structure of
(string
* [> `Enum of string
| `List of [> `String of NonEmptyString.t ] list
| `String of GenericArn.t
| `Structure of
(string
* [> `Enum of string
| `Integer of
FixedSizeChunkingConfigurationMaxTokensInteger.t
| `List of
[> `String of UrlFilterPattern.t
| `Structure of
(string
* [> `Integer of
HierarchicalChunkingLevelConfigurationMaxTokensInteger.t ])
list ]
list
| `String of BedrockModelArnForParsing.t
| `Structure of
(string
* [> `Integer of WebCrawlerLimitsRateLimitInteger.t
| `List of
[> `Structure of
(string * [> `String of WebUrl.t ]) list ]
list
| `String of ParsingPromptText.t ])
list ])
list ])
list ])
list ])
list ]