Module Values.KnowledgeBaseConfigurationSource

Contains details about the vector embeddings configuration of the knowledge base.

Sourcetype nonrec t = {
  1. type_ : KnowledgeBaseType.t;
    (*

    The type of data that the data source is converted into for the knowledge base.

    *)
  2. vectorKnowledgeBaseConfiguration : VectorKnowledgeBaseConfiguration.t option;
    (*

    Contains details about the model that's used to convert the data source into vector embeddings.

    *)
  3. kendraKnowledgeBaseConfiguration : KendraKnowledgeBaseConfiguration.t option;
    (*

    Settings for an Amazon Kendra knowledge base.

    *)
  4. sqlKnowledgeBaseConfiguration : SqlKnowledgeBaseConfiguration.t option;
    (*

    Specifies configurations for a knowledge base connected to an SQL database.

    *)
}
Sourceval context_ : string
Sourceval make : ?vectorKnowledgeBaseConfiguration:??? -> ?kendraKnowledgeBaseConfiguration:??? -> ?sqlKnowledgeBaseConfiguration:??? -> type_:KnowledgeBaseType.t -> unit -> t
Sourceval to_value : 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 | `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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t