FOCUSCurrently working on ScheduleSomething and LayerdEvents algorithmsLearn More
FOCUSCurrently working on ScheduleSomething and LayerdEvents algorithmsLearn More
FOCUSCurrently working on ScheduleSomething and LayerdEvents algorithmsLearn More
FOCUSCurrently working on ScheduleSomething and LayerdEvents algorithmsLearn More
CONTRIBUTING.MdTutorials
Tutorial: AI Chatbot Setup
DocsCONTRIBUTING.mdTutorialsTutorial: AI Chatbot Setup
GitHub Live Sync

Tutorial: AI Chatbot Setup

Live technical documentation fetched from GitHub repository omghante/metapilot/docs/tutorials/ai-chatbot-setup-tutorial.md

Tutorial: Setting Up WhatsApp AI Auto-Responder

Learn how to enable OpenRouter-powered automated customer replies on WhatsApp.

Tutorial Goals

  • Configure
    OPENROUTER_API_KEY
    .
  • Define tenant-specific knowledge base text.
  • Enable vision AI for image attachments.

Step-by-Step Walkthrough

Step 1: Set API Key in Environment

Add your OpenRouter key in
services/api/.env
:
env
OPENROUTER_API_KEY=sk-or-v1-...
WA_CHATBOT_ENABLED=True
WA_CHATBOT_TEXT_MODEL=stepfun/step-3.5-flash
WA_CHATBOT_VISION_MODEL=openai/gpt-4o

Step 2: Test AI Responses

Send a test question to
/api/chatbot/test/
to verify AI response generation.