Module Values.KendraConfigurationSource

Provides configuration information for the AMAZON.KendraSearchIntent intent. When you use this intent, Amazon Lex searches the specified Amazon Kendra index and returns documents from the index that match the user's utterance. For more information, see AMAZON.KendraSearchIntent.

Sourcetype nonrec t = {
  1. kendraIndex : KendraIndexArn.t;
    (*

    The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the AMAZON.KendraSearchIntent intent to search. The index must be in the same account and Region as the Amazon Lex bot. If the Amazon Kendra index does not exist, you get an exception when you call the PutIntent operation.

    *)
  2. queryFilterString : QueryFilterString.t option;
    (*

    A query filter that Amazon Lex sends to Amazon Kendra to filter the response from the query. The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries. You can override this filter string with a new filter string at runtime.

    *)
  3. role : RoleArn.t;
    (*

    The Amazon Resource Name (ARN) of an IAM role that has permission to search the Amazon Kendra index. The role must be in the same account and Region as the Amazon Lex bot. If the role does not exist, you get an exception when you call the PutIntent operation.

    *)
}
Sourceval context_ : string
Sourceval make : ?queryFilterString:??? -> kendraIndex:KendraIndexArn.t -> role:RoleArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of KendraIndexArn.t ]) 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