Company
Snowflake
Title
Enterprise AI Agents with Structured and Unstructured Data Integration
Industry
Tech
Year
2025
Summary (short)
This case study explores the challenges and solutions for deploying AI agents in enterprise environments, focusing on the integration of structured database data with unstructured documents through retrieval augmented generation (RAG). The presentation by Snowflake's Jeff Holland outlines a comprehensive agentic workflow that addresses common enterprise challenges including semantic mapping, ambiguity resolution, data model complexity, and query classification. The solution demonstrates a working prototype with fitness wearable company Whoop, showing how agents can combine sales data, manufacturing data, and forecasting information with unstructured Slack conversations to provide real-time business intelligence and recommendations for product launches.
This case study presents insights from Jeff Holland, Director of Product at Snowflake, based on over one hundred conversations with enterprise leaders about deploying AI agents in production environments. The primary focus is on the technical challenges of integrating AI agents with enterprise data systems, particularly the combination of structured database content with unstructured document repositories. **Company and Use Case Overview** The case study centers around Snowflake's work with Whoop, a fitness wearable company that collects continuous health data from users wearing their devices 24/7. Whoop represents a typical enterprise scenario where vast amounts of both structured data (sales figures, manufacturing metrics, employee records) and unstructured data (documents, Slack conversations, PDFs) need to be accessible to AI agents for decision-making and productivity enhancement. The collaboration demonstrates practical implementation of enterprise AI agents that can bridge multiple data sources and systems. **Core Technical Challenge** The fundamental LLMOps challenge identified is that traditional RAG implementations, while effective for unstructured document search, fail to adequately handle the structured data that powers enterprise operations. Most enterprise AI implementations focus heavily on retrieval augmented generation for documents and text, but this approach cannot answer questions requiring access to databases, spreadsheets, and structured systems of record. The solution requires agents that can seamlessly query both unstructured content repositories and structured databases to provide comprehensive business intelligence. **Agentic Workflow Architecture** Snowflake developed a sophisticated multi-step agentic workflow that addresses four critical problems in enterprise structured data access. Rather than sending user queries directly to language models for SQL generation, the system implements a staged approach with specialized processing at each step. The workflow begins with ambiguity detection and resolution. When users ask questions like "What is our best product?", the system recognizes that "best" could mean highest sales, most profitable, or fewest defects. Instead of making assumptions, the agent consults a semantic model and asks for clarification, ensuring accurate query generation. This proactive disambiguation significantly improves response quality and reduces the likelihood of providing misleading information. **Semantic Model Integration** A key innovation is the implementation of semantic models that bridge business terminology with database schema. Enterprise users typically think in terms of business concepts like "ARR" (Annualized Run Rate) or geographical references like "US", but databases may store this information using technical column names or different terminology variants. The semantic model acts as a translation layer, mapping business language to database structures and providing relationship context between different entities. The semantic model also handles common synonym mappings and provides fine-tuning capabilities for universal business terms. For example, the system automatically understands that "US" might correspond to "United States of America" in the database, while allowing enterprises to define organization-specific terminology mappings. This approach eliminates the need for enterprises to restructure existing databases while enabling natural language interaction. **Data Model Abstraction and Query Generation** Enterprise databases often contain thousands of tables with machine-readable column names like "VC_RV_2" or "C_FN" that were designed for application consumption rather than human understanding. The system addresses this complexity by generating a logical, human-readable representation of relevant database structures before attempting SQL query generation. This abstraction layer significantly improves the quality of generated queries by presenting language models with understandable schema representations rather than cryptic technical naming conventions. **Query Pattern Classification** The workflow implements separate decision points for query pattern identification and SQL generation. Rather than asking language models to simultaneously determine query type and generate code, the system first classifies whether a request requires time series analysis, comparative analytics, ranking, or other patterns. This classification is then used to provide specific context to the SQL generation step, resulting in higher quality queries that follow appropriate analytical patterns. **Production Implementation Results** The working prototype with Whoop demonstrates the practical application of these principles in a real enterprise environment. The system can process complex business questions like "We just launched a new product, help me understand how the product launch is going" and rapidly generate appropriate queries that combine sales data, manufacturing information, and forecasting metrics with unstructured data from Slack conversations and documents. The demo shows response times of just a few seconds for complex queries that would traditionally require significant manual effort to research across multiple systems. The agent can not only retrieve and analyze the requested information but also provide actionable recommendations, such as suggesting strategies to increase sales based on the integrated data analysis. **Enterprise Deployment Considerations** The case study emphasizes that successful enterprise AI agent deployment requires deep understanding of organizational semantics and business relationships. Agents must navigate departmental interconnections, data classification schemes, access controls, and the complex web of enterprise systems. This business context knowledge becomes as critical as technical capabilities for effective agent operation. The presentation identifies three key trends that will shape enterprise AI adoption. Traditional business intelligence dashboards are expected to be largely replaced by conversational and agentic interfaces that provide dynamic data access rather than static visualizations. Organizations with the most comprehensive semantic understanding of their business operations will see the greatest benefits from AI agent deployment. Finally, enterprises will need to develop "systems of intelligence" that sit above their existing systems of record, providing fluid access layers for applications and processes. **Technical Architecture and LLMOps Implications** From an LLMOps perspective, this implementation demonstrates several critical production considerations. The multi-stage workflow approach allows for better error handling, debugging, and quality control compared to monolithic prompt-based systems. Each stage can be independently monitored, evaluated, and improved, which is essential for maintaining production system reliability. The semantic model approach provides a structured way to capture and maintain business knowledge that can be versioned, updated, and governed separately from the underlying AI models. This separation of concerns is crucial for enterprise deployments where business logic changes frequently but core AI capabilities remain relatively stable. The integration of structured and unstructured data sources requires sophisticated orchestration and data pipeline management. The system must handle real-time queries across multiple data sources while maintaining performance and reliability standards expected in enterprise environments. **Limitations and Balanced Assessment** While the case study presents compelling capabilities, several limitations and challenges should be considered. The complexity of the multi-stage workflow increases system maintenance overhead and introduces multiple potential failure points. The semantic model approach requires significant upfront investment in business knowledge capture and ongoing maintenance as organizational structures and terminology evolve. The presentation, being delivered by a Snowflake product director, naturally emphasizes the positive aspects of their approach. Real-world deployment likely involves additional challenges around data governance, security, compliance, and integration with existing enterprise systems that aren't fully addressed in this overview. The success metrics presented focus primarily on response speed and user satisfaction rather than quantitative measures of accuracy, cost efficiency, or long-term maintainability. A more comprehensive evaluation would benefit from detailed performance benchmarks, error rate analysis, and total cost of ownership assessments. **Future Implications** The case study suggests a significant shift in how enterprises will interact with their data systems. The move from dashboard-centric business intelligence to conversational AI interfaces represents a fundamental change in enterprise software design. However, this transition will require substantial investment in data infrastructure, semantic modeling, and change management to realize the promised benefits. The emphasis on systems of intelligence as a new enterprise architecture layer indicates that organizations will need to develop new capabilities around AI orchestration, multi-modal data integration, and intelligent workflow management. These requirements will drive demand for specialized LLMOps platforms and services that can handle the complexity of enterprise AI agent deployment at scale.

Start deploying reproducible AI workflows today

Enterprise-grade MLOps platform trusted by thousands of companies in production.