Sends user input to Amazon Lex V2
Source:R/lexruntimev2_operations.R
lexruntimev2_recognize_text.RdSends 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 prefixx-amz-lex:.