[−][src]Crate csml_engine
Modules
data |
Structs
Client | |
CsmlResult | |
ErrorInfo | |
Flow | |
Warnings |
Enums
Expr | |
InstructionScope |
Functions
create_bot_version | create bot version |
delete_all_bot_versions | delete all bot versions of bot_id |
delete_bot_version_id | delete bot by version_id |
get_bot_by_version_id | get bot by version_id |
get_bot_versions | List the last 20 versions of the bot if no limit is set |
get_last_bot_version | get by bot_id |
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.) |