Skip to content

List Recommended Intents

lexmodelsv2_list_recommended_intents R Documentation

Description

Gets a list of recommended intents provided by the bot recommendation that you can use in your bot. Intents in the response are ordered by relevance.

Usage

lexmodelsv2_list_recommended_intents(botId, botVersion, localeId,
  botRecommendationId, nextToken, maxResults)

Arguments

botId

[required] The unique identifier of the bot associated with the recommended intents.

botVersion

[required] The version of the bot that contains the recommended intents.

localeId

[required] The identifier of the language and locale of the recommended intents.

botRecommendationId

[required] The identifier of the bot recommendation that contains the recommended intents.

nextToken

If the response from the ListRecommendedIntents operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.

maxResults

The maximum number of bot recommendations to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.

Value

A list with the following syntax:

list(
  botId = "string",
  botVersion = "string",
  localeId = "string",
  botRecommendationId = "string",
  summaryList = list(
    list(
      intentId = "string",
      intentName = "string",
      sampleUtterancesCount = 123
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_recommended_intents(
  botId = "string",
  botVersion = "string",
  localeId = "string",
  botRecommendationId = "string",
  nextToken = "string",
  maxResults = 123
)