aws_lex_service¶
Module Contents¶
Classes¶
This is a class representation of a harmoni_dialogue service |
Functions¶
|
[summary] |
- class aws_lex_service.AWSLexService(name, param)¶
Bases:
harmoni_common_lib.service_manager.HarmoniServiceManagerThis is a class representation of a harmoni_dialogue service (HarmoniServiceManager). It is essentially an extended combination of the
harmoni_common_lib.service_server.HarmoniServiceServerandharmoni_common_lib.service_manager.HarmoniServiceManagerclasses- Parameters
name (str) – Name of the current service
param (from yaml) – input parameters of the configuration.yaml file
- setup_aws_lex(self)¶
[summary] Setup the lex request, connecting to AWS services
- request(self, input_text)¶
[summary]
- Parameters
input_text (str) – User request (or input text) for triggering Lex Intent
- Returns
- It containes information about the response received (bool) and response message (str)
response: bool message: str
- Return type
object
- aws_lex_service.main()¶
[summary] Main function for starting HarmoniLex service