From SmartBots Developers Docs
Jump to: navigation, search

Sends a chat message request to bot AI within a conversation with a specific resident.[, options])


This command accepts the following parameters:

Variable Required Description

message yes chat message to the bot
options optional configuration directives for the AI engine. Example:
     // Main configuration instructions for the AI: role, behavior, response rules etc.
     instructions?: string;
     // Maximum number of tokens to generate in response
     maxResponseTokens?: number;
same value as This command returns the same value as