harmoni_bot.aws_lex_service
Module Contents
Classes
This is a class representation of a harmoni_dialogue service |
Functions
|
[summary] |
- class harmoni_bot.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()
[summary] Setup the lex request, connecting to AWS services
- request(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
- harmoni_bot.aws_lex_service.main()
[summary] Main function for starting HarmoniLex service