Difference between revisions of "Bot Playground/AI/Conversation.configure"

From SmartBots Developers Docs
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>'''Sets some configuration values for the future usage'''</onlyinclude> <syntaxhighlight lang="javascript"> Conversation.configu...")
 
Line 24: Line 24:
 
{{API Variable|none}}
 
{{API Variable|none}}
 
{{API Variables Table End}}
 
{{API Variables Table End}}
 +
 +
{{NavMenu}}

Revision as of 16:10, 10 October 2023


Sets some configuration values for the future usage

Conversation.configure(options)

Reference

This command accepts the following parameters:

Variable Required Description


Input:
options yes 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;
}
Output:
none