AI Integration (Aicora)
The queue_ai function connects artificial intelligence to your bot through the Aicora service. Your bot will be able to answer arbitrary questions, analyze text, and generate content.
Parameters
| Parameter | Description |
|---|---|
model |
AI model (default: deepseek-r1:14b) |
save_as |
Variable name to store the AI response |
Usage
- Add a Queue AI block from the context menu (Integrations → Queue AI)
- Configure the model and parameters in the JSON editor
- Specify a variable to store the result
Example
A bot that answers user questions using AI:
Trigger → if ("{=message=}" != "/start")
→ queue_ai (save_as: "ai_answer")
→ send_message: "{=ai_answer=}"
Cost Control
Each pricing plan includes an AI token limit:
- Start: 200,000 tokens
- Business: 1,000,000 tokens
- Pro: 3,000,000 tokens
Current token usage is displayed in account settings.
Use Cases
- Smart FAQ bots with answers to arbitrary questions
- Text analysis and message classification
- Response and content generation
- Natural language processing