Raven Bot Component Api¶
Input¶
-
class
raven.input.abstract_input.BaseInput(txObject)[source] -
get_access_keys()[source] Which return the current object access keys which will be used internally by input object class.
-
processed()[source] This method must be implemented on each new sub class. return must of dict type with key: ‘PROCESSED_INPUT’.
-
-
class
raven.input.cli_input.CLIInput(txObject=None)[source] CLIInput class is used to intergating with command line interface.
-
processed()[source] This method must be implemented on each new sub class. return must of dict type with key: ‘PROCESSED_INPUT’.
-
toBotText(text)[source] Extra step for handling the input to the bot with custom method.
-
-
class
raven.input.rest_input.RESTInput(txObject)[source] RESTInput is used to communication using REST operation.
-
processed()[source] This method must be implemented on each new sub class. return must of dict type with key: ‘PROCESSED_INPUT’.
-
toBotText(text)[source] Extra step for handling the input to the bot with custom method.
-