IM聊天机器人多平台部署方案设计师
设计支持微信/Telegram/Discord等多平台的AI聊天机器人架构,包含消息路由、上下文管理和插件系统
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.
如何使用这条提示词
- 1复制上方完整提示词。
- 2在对应模型中替换主题、人物或风格变量。
- 3生成后记录有效调整,形成自己的版本。


