AI
SmartBots AI is a conversation-based AI system designed to work with Playground scripts, enabling bots to conduct contextual, conversational interactions.
SmartBots AI for Developers
The most convenient way to use SmartBots AI is through conversations.
While you can send raw requests to the AI, conversations allow you to maintain context across messages and responses.
Create a conversation using Bot.AI.getConversationByName(residentName).
The resulting conversation object can be reused for subsequent messages.
SmartBots AI keeps track of context within a conversation.
Conversation options can be configured individually for each conversation.
Conversations are system-wide, tied to a script + bot + specific resident.
Main Concepts
Instructions
Rules for the bot: how it should react, how to role-play, and what knowledge it should have. (See examples in Instructions section.)
Token
Each request to SmartBots AI consumes tokens. Read more about token usage.