#include <lex_common.h>
Public Member Functions | |
ErrorCode | ConfigureAwsLex (std::shared_ptr< LexConfiguration > lex_configuration, std::shared_ptr< Aws::LexRuntimeService::LexRuntimeServiceClient > lex_runtime_client) |
Configure the Lex Interactor. More... | |
ErrorCode | PostContent (const LexRequest &request, LexResponse &response) override |
Protected Attributes | |
std::shared_ptr< LexConfiguration > | lex_configuration_ |
std::shared_ptr< Aws::LexRuntimeService::LexRuntimeServiceClient > | lex_runtime_client_ |
Class responsible for simplified interaction with Lex.
Definition at line 137 of file lex_common.h.
ErrorCode Aws::Lex::LexInteractor::ConfigureAwsLex | ( | std::shared_ptr< LexConfiguration > | lex_configuration, |
std::shared_ptr< Aws::LexRuntimeService::LexRuntimeServiceClient > | lex_runtime_client | ||
) |
Configure the Lex Interactor.
lex_configuration | to configure lex calls |
lex_runtime_client | to facilitate lex connection |
Definition at line 105 of file lex_common.cpp.
|
overridevirtual |
Post content to lex given an audio text conversation request and respond to it. Configures the call with the lex configuration and lex_runtime_client.
request | to populate the lex call with |
response | to fill with data received by lex |
Implements Aws::Lex::PostContentInterface.
Definition at line 117 of file lex_common.cpp.
|
protected |
The Lex specific configuration for the amazon bot.
Definition at line 143 of file lex_common.h.
|
protected |
The lex runtime client to use for lex api calls.
Definition at line 148 of file lex_common.h.