Module Values.OpensearchConfigurationSource

Contains details about the configuration of the Amazon OpenSearch Service database used for the AMAZON.QnAIntent.

Sourcetype nonrec t = {
  1. domainEndpoint : DomainEndpoint.t;
    (*

    The endpoint of the Amazon OpenSearch Service domain.

    *)
  2. indexName : OSIndexName.t;
    (*

    The name of the Amazon OpenSearch Service index.

    *)
  3. exactResponse : Boolean.t option;
    (*

    Specifies whether to return an exact response or to return an answer generated by the model using the fields you specify from the database.

    *)
  4. exactResponseFields : ExactResponseFields.t option;
    (*

    Contains the names of the fields used for an exact response to the user.

    *)
  5. includeFields : OSIncludeFields.t option;
    (*

    Contains a list of fields from the Amazon OpenSearch Service that the model can use to generate the answer to the query.

    *)
}
Sourceval context_ : string
Sourceval make : ?exactResponse:??? -> ?exactResponseFields:??? -> ?includeFields:??? -> domainEndpoint:DomainEndpoint.t -> indexName:OSIndexName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `List of [> `String of IncludeField.t ] list | `String of DomainEndpoint.t | `Structure of (string * [> `String of QuestionField.t ]) 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