Module Values.QueryAssistantRequestSource

Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use GetRecommendations.

Sourcetype nonrec t = {
  1. assistantId : UuidOrArn.t;
    (*

    The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

    *)
  2. maxResults : MaxResults.t option;
    (*

    The maximum number of results to return per page.

    *)
  3. nextToken : NextToken.t option;
    (*

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

    *)
  4. queryText : QueryText.t;
    (*

    The text to search for.

    *)
}
Sourceval context_ : string
Sourceval make : ?maxResults:??? -> ?nextToken:??? -> assistantId:UuidOrArn.t -> queryText:QueryText.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of MaxResults.t | `String of UuidOrArn.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