lexruntimev2_recognize_text {paws.machine.learning}R Documentation

Sends user input to Amazon Lex V2

Description

Sends user input to Amazon Lex V2. Client applications use this API to send requests to Amazon Lex V2 at runtime. Amazon Lex V2 then interprets the user input using the machine learning model that it build for the bot.

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

Usage

lexruntimev2_recognize_text(
  botId,
  botAliasId,
  localeId,
  sessionId,
  text,
  sessionState = NULL,
  requestAttributes = NULL
)

Arguments

botId

[required] The identifier of the bot that processes the request.

botAliasId

[required] The alias identifier in use for the bot that processes the request.

localeId

[required] The locale where the session is in use.

sessionId

[required] The identifier of the user session that is having the conversation.

text

[required] The text that the user entered. Amazon Lex V2 interprets this text.

sessionState

The current state of the dialog between the user and the bot.

requestAttributes

Request-specific information passed between the client application and Amazon Lex V2

The namespace ⁠x-amz-lex:⁠ is reserved for special attributes. Don't create any request attributes with the prefix ⁠x-amz-lex:⁠.


[Package paws.machine.learning version 0.6.0 Index]