View source: R/lexruntimev2_operations.R
lexruntimev2_recognize_text | R Documentation |
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.
lexruntimev2_recognize_text(
botId,
botAliasId,
localeId,
sessionId,
text,
sessionState = NULL,
requestAttributes = NULL
)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.