Values_2.PredictQAResultsResponseSourcePredicts existing visuals or generates new visuals to answer a given query. This API uses trusted identity propagation to ensure that an end user is authenticated and receives the embed URL that is specific to that user. The IAM Identity Center application that the user has logged into needs to have trusted Identity Propagation enabled for Quick with the scope value set to quicksight:read. Before you use this action, make sure that you have configured the relevant Quick resource and permissions. We recommend enabling the QSearchStatus API to unlock the full potential of PredictQnA. When QSearchStatus is enabled, it first checks the specified dashboard for any existing visuals that match the question. If no matching visuals are found, PredictQnA uses generative Q&A to provide an answer. To update the QSearchStatus, see UpdateQuickSightQSearchConfiguration.
type nonrec t = {primaryResult : QAResult.t option;The primary visual response.
*)additionalResults : QAResults.t option;Additional visual responses.
*)requestId : Values_0.String_.t option;The Amazon Web Services request ID for this operation.
*)status : Values_1.StatusCode.t option;The HTTP status of the request.
*)}type nonrec error = [ | `AccessDeniedException of Values_0.AccessDeniedException.t| `InternalFailureException of Values_1.InternalFailureException.t| `InvalidParameterValueException of Values_1.InvalidParameterValueException.t| `ThrottlingException of Values_1.ThrottlingException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of Values_0.AccessDeniedException.t
| `InternalFailureException of Values_1.InternalFailureException.t
| `InvalidParameterValueException of
Values_1.InvalidParameterValueException.t
| `ThrottlingException of Values_1.ThrottlingException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of Values_0.AccessDeniedException.t
| `InternalFailureException of Values_1.InternalFailureException.t
| `InvalidParameterValueException of
Values_1.InvalidParameterValueException.t
| `ThrottlingException of Values_1.ThrottlingException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Integer of Values_1.StatusCode.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Structure of
(string
* [> `Enum of string
| `String of Values_0.ShortRestrictiveResourceId.t ])
list ])
list ]
list
| `String of Values_0.String_.t
| `Structure of
(string
* [> `Enum of string
| `Structure of
(string
* [> `Enum of string
| `String of Values_0.ShortRestrictiveResourceId.t ])
list ])
list ])
list ]