aws.qconnect.get_recommendations
Example SQL Queries
SELECT * FROMaws.qconnect.get_recommendationsWHERE"assistant_id" = 'VALUE'AND "session_id" = 'VALUE';Description
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.
Retrieves recommendations for the specified session. To avoid retrieving the same recommendations in subsequent calls, use NotifyRecommendationsReceived. This API supports long-polling behavior with the waitTimeSeconds parameter. Short poll is the default behavior and only returns recommendations already available. To perform a manual query against an assistant, use QueryAssistant.
Table Definition
| Column Name | Column Data Type |
|---|---|
| assistant_id Required Input Column The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN. | VARCHAR |
| session_id Required Input Column The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN. | VARCHAR |
| max_results Input Column The maximum number of results to return per page. | BIGINT |
| wait_time_seconds Input Column The duration (in seconds) for which the call waits for a recommendation to be made available before returning. If a recommendation is available, the call returns sooner than WaitTimeSeconds. If no messages are available and the wait time expires, the call returns successfully with an empty list. | BIGINT |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| recommendations The recommendations. | STRUCT( |
Show child fields
| |
| triggers The triggers corresponding to recommendations. | STRUCT( |
Show child fields
| |