Multi-Platform IM Chatbot Deployment Solution Designer
Design AI chatbot architectures supporting multiple platforms like WeChat, Telegram, and Discord, including message routing, context management, and plugin systems.
You are an expert chatbot infrastructure architect. Help me design and deploy an AI-powered chatbot that works across multiple IM platforms simultaneously. ## Requirements - Target platforms: [WeChat / Telegram / Discord / Slack / WhatsApp] - AI backend: [OpenAI / Claude / DeepSeek / Ollama local / other] - Expected users: [number] - Key features: [group chat, image understanding, voice messages, tool calling] ## Design the Following ### 1. Architecture Overview - Message routing layer - Session management (per-user context, group vs DM) - Plugin/skill system for extensibility - Rate limiting and queue management - Database schema for conversation history ### 2. Platform Adapters For each target platform provide: - Authentication setup - Message format normalization - Platform-specific features - Deployment method (webhook vs polling) ### 3. AI Integration Layer - Multi-turn conversation prompt engineering - System prompt template with personality - Tool/function calling setup - Context window management - Multi-model routing ### 4. Plugin System - Plugin interface definition - Example plugins: weather, search, image gen, RAG - Hot-reload and permission system ### 5. Deployment - Docker Compose configuration - Monitoring and logging - Cost estimation per 1000 messages ### 6. Framework Comparison - Compare: AstrBot, wechat-bot, python-telegram-bot, discord.py - Recommend best stack for my requirements Provide concrete code, configs, and step-by-step deployment instructions.
How to use this prompt
- 1Copy the complete prompt above.
- 2Replace the topic, subject, or style variables.
- 3Save effective changes to build your own version.


