Swiggy Rolls Out Hermes V3: From Text-to-SQL to Conversational AI

· Source: InfoQ · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Data Science & Analytics, Software Development & Engineering · Depth: Intermediate, quick

Summary

Swiggy has launched Hermes V3, a GenAI-powered text-to-SQL assistant integrated into Slack, allowing employees to query data using natural language. This iteration significantly improves upon earlier versions that struggled with derived metrics, conversational context, and result consistency. Hermes V3 achieves this by incorporating a vector-based prompt retrieval system built on historical SQL queries in Snowflake, which converts SQL into natural language explanations for few-shot examples. It also features conversational memory for multi-turn interactions, an orchestrator agent using a ReAct-style reasoning loop to break down complex questions, and an explanation layer that provides query assumptions and confidence scores. The system is integrated with Swiggy's security, compliance, and metadata infrastructure, utilizing role-based access control and audit logs.

Key takeaway

For AI Architects and NLP Engineers building internal data querying tools, Hermes V3 demonstrates how combining vector retrieval, conversational memory, and agentic orchestration can dramatically improve text-to-SQL accuracy and user trust. You should consider reconstructing query intent from historical SQL to enhance few-shot learning and implement an explanation layer to surface assumptions and confidence scores, thereby increasing adoption among non-technical stakeholders.

Key insights

Hermes V3 enhances text-to-SQL with vector retrieval, conversational memory, and agentic orchestration for improved accuracy and user trust.

Principles

Method

Hermes V3 uses vector-based prompt retrieval from historical SQL, maintains conversational memory, and employs a ReAct-style orchestrator agent for intent parsing, metadata lookup, and SQL generation.

In practice

Topics

Best for: AI Architect, NLP Engineer, AI Engineer, Machine Learning Engineer, MLOps Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by InfoQ.