Analytics Engineering for AI: From Data to Natural-Language Questions
1h 25mIntermediate2026-07-14
Authors

José Siles
Course details
As organizations adopt AI-driven analytics, the quality and structure of analytical data become critical to delivering reliable, business-ready insights. This course walks through an end-to-end analytics engineering workflow that enables natural-language analytics on top of trusted data models. Learn how to ingest a realistic dataset, model clean fact and dimension tables in a warehouse, and add tests and documentation to establish trust. Get introduced to a semantic layer that defines consistent business metrics and dimensions. Throughout the course, take note of the emphasis on clarity, trust, and reproducibility, not just tool-specific shortcuts. Finally, connect a lightweight AI text-to-SQL interface and demonstrate how business users can ask natural-language questions and receive accurate, governed answers without writing SQL.
Learning objectives
Gather and load a small, realistic dataset into a local warehouse.
Define and model clean analytics tables in the warehouse (facts and dimensions).
Add tests and documentation to ensure models are trustworthy.
Build a semantic layer with clear business metrics and dimensions on top of the models.
Connect a lightweight AI/text-to-SQL layer that can query the semantic layer.
Posit natural-language questions and receive consistent answers without writing any SQL.
Learning objectives
Gather and load a small, realistic dataset into a local warehouse.
Define and model clean analytics tables in the warehouse (facts and dimensions).
Add tests and documentation to ensure models are trustworthy.
Build a semantic layer with clear business metrics and dimensions on top of the models.
Connect a lightweight AI/text-to-SQL layer that can query the semantic layer.
Posit natural-language questions and receive consistent answers without writing any SQL.
Skills covered
Natural Language ProcessingAI for Data AnalysisTraditional AI and Machine LearningData Science FoundationsAI Productivity and Everyday UseData EngineeringData AnalysisArtificial Intelligence (AI)Data ScienceBusiness Analysis and StrategyBusiness Software and ToolsOne-Off
Concepts
Let's Get Oriented and Build
- Build an end to end AI data pipeline
- Project overview - What you ll build
Modeling Trusted Analytics Tables
- Ingest a realistic dataset into the data warehouse
- Explore raw data using DuckDB and DBeaver
- Understanding dbt data layers - Raw, staging, and marts
- Initialize a dbt project from scratch
- Build and run dbt staging models
- Design and build the core fact table
- Build dimension tables and define relationships
Establishing Trust in Analytics Models
- Add data tests and documentation with dbt
- Evaluate data model trustworthiness for analytics and AI
Building the Semantic Layer
- Getting started with a semantic layer for AI
- Define business metrics and dimensions
Connecting AI to Trusted Analytics
- How RAG translates business questions into SQL
- Using text to SQL as an interface layer
- Ask your first question using natural language
Build the Streamlit App
- Build and test the Streamlit application
Troubleshooting and Next Steps
- Fix the training data and retrain the AI model