WeBot
Overview
A WeChat customer support bot backend built with NestJS. Integrates with the WeChat API for automated conversation flows, with Redis-based semantic caching to avoid redundant Gemini API calls on similar queries.
Key Features
- WeChat API Integration — Full webhook handling for incoming messages and event callbacks
- Gemini AI Responses — Google Gemini for intelligent, context-aware reply generation
- Redis Semantic Caching — Caches similar queries by semantic similarity, reducing API costs
- NestJS Architecture — Modular, testable structure with dependency injection
Tech Stack
- Backend: NestJS (TypeScript)
- Cache: Redis (semantic caching)
- AI: Google Gemini
- Integration: WeChat Official Account API