lexmodelsv2_update_intent: Updates the settings for an intent

View source: R/lexmodelsv2_operations.R

lexmodelsv2_update_intentR Documentation

Updates the settings for an intent

Description

Updates the settings for an intent.

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

Usage

lexmodelsv2_update_intent(
  intentId,
  intentName,
  description = NULL,
  parentIntentSignature = NULL,
  sampleUtterances = NULL,
  dialogCodeHook = NULL,
  fulfillmentCodeHook = NULL,
  slotPriorities = NULL,
  intentConfirmationSetting = NULL,
  intentClosingSetting = NULL,
  inputContexts = NULL,
  outputContexts = NULL,
  kendraConfiguration = NULL,
  botId,
  botVersion,
  localeId,
  initialResponseSetting = NULL,
  qnAIntentConfiguration = NULL
)

Arguments

intentId

[required] The unique identifier of the intent to update.

intentName

[required] The new name for the intent.

description

The new description of the intent.

parentIntentSignature

The signature of the new built-in intent to use as the parent of this intent.

sampleUtterances

New utterances used to invoke the intent.

dialogCodeHook

The new Lambda function to use between each turn of the conversation with the bot.

fulfillmentCodeHook

The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.

slotPriorities

A new list of slots and their priorities that are contained by the intent.

intentConfirmationSetting

New prompts that Amazon Lex sends to the user to confirm the completion of an intent.

intentClosingSetting

The new response that Amazon Lex sends the user when the intent is closed.

inputContexts

A new list of contexts that must be active in order for Amazon Lex to consider the intent.

outputContexts

A new list of contexts that Amazon Lex activates when the intent is fulfilled.

kendraConfiguration

New configuration settings for connecting to an Amazon Kendra index.

botId

[required] The identifier of the bot that contains the intent.

botVersion

[required] The version of the bot that contains the intent. Must be DRAFT.

localeId

[required] The identifier of the language and locale where this intent is used. The string must match one of the supported locales. For more information, see Supported languages.

initialResponseSetting

Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.

qnAIntentConfiguration

Specifies the configuration of the built-in Amazon.QnAIntent. The AMAZON.QnAIntent intent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify the kendraConfiguration field.


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