Module Values.QueryAssistantRequestSource

This API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024, you will need to create a new Assistant in the Amazon Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications. 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 Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

    *)
  2. queryText : QueryText.t option;
    (*

    The text to search for.

    *)
  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. maxResults : MaxResults.t option;
    (*

    The maximum number of results to return per page.

    *)
  5. sessionId : UuidOrArn.t option;
    (*

    The identifier of the Amazon Q in Connect session. Can be either the ID or the ARN. URLs cannot contain the ARN.

    *)
  6. queryCondition : QueryConditionExpression.t option;
    (*

    Information about how to query content.

    *)
  7. queryInputData : QueryInputData.t option;
    (*

    Information about the query.

    *)
  8. overrideKnowledgeBaseSearchType : KnowledgeBaseSearchType.t option;
    (*

    The search type to be used against the Knowledge Base for this request. The values can be SEMANTIC which uses vector embeddings or HYBRID which use vector embeddings and raw text.

    *)
}
Sourceval context_ : string
Sourceval make : ?queryText:??? -> ?nextToken:??? -> ?maxResults:??? -> ?sessionId:??? -> ?queryCondition:??? -> ?queryInputData:??? -> ?overrideKnowledgeBaseSearchType:??? -> assistantId:UuidOrArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of MaxResults.t | `List of [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of NonEmptyString.t ]) list ]) list ] list | `String of UuidOrArn.t | `Structure of (string * [> `Structure of (string * [> `String of QueryText.t ]) 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