Empowering AI to Truly Master Travel: Fliggy's 'Ask-a-Question' Architecture and Practical Evolution
This article meticulously details how Fliggy's 'Ask-a-Question' feature, initially a map planning tool, progressively evolved into an AI-powered intelligent travel manager leveraging Multi-Agent collaboration and direct connectivity to real-time pricing databases. Confronting the challenges of highly variable offerings, lengthy decision-making processes, and stringent real-time inventory demands inherent in travel scenarios, the Fliggy team championed the core philosophy of 'be knowledgeable, be capable of calculation, and be capable of action.' They engineered a Multi-Agent architecture comprising an intent recognition Agent and numerous scenario-specific Agents (for itineraries, transportation, hotels, guided tours, etc.) working in concert. To mitigate large language model hallucinations and improve efficiency, context management (including Query rewriting and memory pruning) was specifically optimized, alongside a comprehensive shift towards Function Call for real-time data retrieval. The article innovatively presents a two-phase tool calling strategy: first generating an 'itinerary skeleton' by querying associated route libraries, then populating it with precise real-time data (e.g., specific transport schedules, live hotel prices, attraction tickets). This method effectively curtails the large model's hallucination rate. Furthermore, multi-dimensional optimizations such as a dual-channel rendering protocol for graphic and text streaming, extreme parallel processing for faster responses, and a resume from breakpoint mechanism ensure seamless user experience even in weak network conditions. Practical outcomes demonstrate that this system has enhanced itinerary planning efficiency by over 90%, achieved a user satisfaction rate of 95%, and has been extended to external ecosystems like Honor and VIVO.

