Module Values.SearchSampleQueriesRequestSource

Searches sample queries and returns a list of sample queries that are sorted by relevance. To search for sample queries, provide a natural language SearchPhrase in English.

Sourcetype nonrec t = {
  1. searchPhrase : SearchSampleQueriesSearchPhrase.t;
    (*

    The natural language phrase to use for the semantic search. The phrase must be in English. The length constraint is in characters, not words.

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

    The maximum number of results to return on a single page. The default value is 10.

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

    A token you can use to get the next page of results. The length constraint is in characters, not words.

    *)
}
Sourceval context_ : string
Sourceval make : ?maxResults:??? -> ?nextToken:??? -> searchPhrase:SearchSampleQueriesSearchPhrase.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of SearchSampleQueriesMaxResults.t | `String of SearchSampleQueriesSearchPhrase.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