XianyuAutoAgent is an AI-powered customer service bot for the Chinese second-hand marketplace platform Xianyu (闲鱼). It connects via WebSocket to Xianyu's messaging service, receives user messages, and generates intelligent replies using a Large Language Model (LLM) with multi-expert routing. The system features intent classification (price negotiation, technical support, general query), dynamic pricing negotiation with gradual concessions and adaptive LLM temperature, context-aware conversation management via SQLite, and a manual takeover mode. It handles authentication via cookies, token refresh, heartbeat, and captcha-triggered cookie re-entry. The bot operates as a long-running async process, suitable for deployment via Docker.
This repository is a Chinese-language chatbot built with Rasa 1.10.18, a now-deprecated version of the Rasa framework. It implements a simple customer service bot for telecom queries (phone bill and data usage) using a BERT-based NLU pipeline (HFTransformersNLP with bert-base-chinese) and a rule-based dialogue management system with story-driven flows. The codebase is minimal: a single custom action for querying consumption, a few intents and entities, and a set of dialogue stories. The project is functional but lacks tests, CI/CD, or modern Rasa practices. The pinned dependencies (rasa==1.10.18, transformers==2.4.1) are severely outdated, and the code relies on deprecated Rasa components. While the repository has accumulated stars (983) due to its accompanying blog series, the actual code is a basic Rasa template with little reusable craftsmanship. It serves as a learning example for building a Chinese chatbot with Rasa 1.x, but is not suitable for production or reuse without significant modernization.