View source: R/lexruntimev2_operations.R
lexruntimev2_start_conversation | R Documentation |
Starts an HTTP/2 bidirectional event stream that enables you to send audio, text, or DTMF input in real time. After your application starts a conversation, users send input to Amazon Lex V2 as a stream of events. Amazon Lex V2 processes the incoming events and responds with streaming text or audio events.
See https://www.paws-r-sdk.com/docs/lexruntimev2_start_conversation/ for full documentation.
lexruntimev2_start_conversation(
botId,
botAliasId,
localeId,
sessionId,
conversationMode = NULL,
requestEventStream
)
botId |
[required] The identifier of the bot to process 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. |
conversationMode |
The conversation type that you are using the Amazon Lex V2. If the
conversation mode is |
requestEventStream |
[required] Represents the stream of events to Amazon Lex V2 from your application. The events are encoded as HTTP/2 data frames. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.