[−][src]Crate csml_engine
Modules
data |
Structs
Client | |
CsmlResult | |
ErrorInfo | |
Warnings |
Functions
get_open_conversation | Return the latest conversation that is still open for a given user (there should not be more than one), or None if there isn't any. |
get_steps_from_flow | List all the steps in every flow of a given CSML bot |
start_conversation | Initiate a CSML chat request. Takes 2 arguments: the request being made and the CSML bot. This method assumes that the bot is already validated in advance. A best practice is to pre-validate the bot and store it in a valid state. |
user_close_all_conversations | Close any open conversation a given client may currently have. We also need to both clean the hold/local memory state to make sure that outdated variables or hold positions are not loaded into the next open conversation. |
validate_bot | Simple static CSML bot linter. Does not check for possible runtime errors, only for build-time errors (missing steps or flows, syntax errors, etc.) |