lexmodelsv2_list_aggregated_utterances: Provides a list of utterances that users have sent to the bot

View source: R/lexmodelsv2_operations.R

lexmodelsv2_list_aggregated_utterancesR Documentation

Provides a list of utterances that users have sent to the bot

Description

Provides a list of utterances that users have sent to the bot.

See https://www.paws-r-sdk.com/docs/lexmodelsv2_list_aggregated_utterances/ for full documentation.

Usage

lexmodelsv2_list_aggregated_utterances(
  botId,
  botAliasId = NULL,
  botVersion = NULL,
  localeId,
  aggregationDuration,
  sortBy = NULL,
  filters = NULL,
  maxResults = NULL,
  nextToken = NULL
)

Arguments

botId

[required] The unique identifier of the bot associated with this request.

botAliasId

The identifier of the bot alias associated with this request. If you specify the bot alias, you can't specify the bot version.

botVersion

The identifier of the bot version associated with this request. If you specify the bot version, you can't specify the bot alias.

localeId

[required] The identifier of the language and locale where the utterances were collected. For more information, see Supported languages.

aggregationDuration

[required] The time window for aggregating the utterance information. You can specify a time between one hour and two weeks.

sortBy

Specifies sorting parameters for the list of utterances. You can sort by the hit count, the missed count, or the number of distinct sessions the utterance appeared in.

filters

Provides the specification of a filter used to limit the utterances in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.

maxResults

The maximum number of utterances to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned. If you don't specify the maxResults parameter, 1,000 results are returned.

nextToken

If the response from the list_aggregated_utterances operation contains more results that 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.


paws.machine.learning documentation built on Sept. 12, 2024, 6:23 a.m.