From SmartBots Developers Docs
Jump to: navigation, search

Configures AI options to be used in all further communications within the current script.



This command accepts the following parameters:

Variable Required Description

options yes configuration directives for the AI engine. Format:
     // Main configuration instructions for the AI: role, behavior, response rules etc.
     instructions?: string;

     // If responding to a particular previous AI message of the bot
     parentMessageId?: string;

     // Maximum number of tokens to generate in response
     maxResponseTokens?: number;

     // The unique conversation id. Usually generated automatically based
     // on the sender and bot name.
     conversationId?: string;
result This function does not return anything