Project 00 · Access
PublishedLetting anyone ask the data a question
- Question
- What does it take for a non-analyst to ask a business question in plain English and get a safe, grounded answer?
- Result
- A working end-to-end pipeline with three AI features on top: review classification, a retrieval-based review chat, and a read-only text-to-SQL app.
AWS S3 · Snowflake · dbt · Airflow · OpenAI · Streamlit
View on GitHub ↗The idea
Analytics shouldn’t be a queue where every question waits for an analyst. If the data is modelled well, more people can solve their own problems, as long as the answers stay grounded and safe.
This project builds the whole path on a public food-delivery dataset, from raw files to an AI layer people can talk to.
What was built
The pipeline. Raw data lands in S3 and is loaded into Snowflake through a storage integration. A dbt project models it into staging, intermediate, core (facts and dimensions) and marts, plus semantic models and metrics such as GMV, AOV and cancellation rate. A daily Airflow DAG reloads the raw data, builds the models, enriches reviews and rebuilds the AI-facing models.
Three AI features on top of it:
- Review enrichment: each customer review is classified by an LLM into a topic, a sentiment score and a short key issue, with labels validated before they are saved back to the warehouse.
- Chat with reviews: reviews are embedded, and a question retrieves the most similar ones before the model answers. The reviews used are shown next to the answer, so the user can check it.
- Chat with the data (text-to-SQL): a plain-English question becomes one Snowflake query, built from a described schema and metric rules. Before anything runs, the query is checked to be read-only (SELECT only, no data-changing keywords) and is shown to the user.
What it taught
- The model’s answers were only as good as the schema and definitions it was given. That observation became the question behind Project 01.
- Showing the evidence (the SQL, the retrieved reviews) matters as much as the answer itself.
What this is and isn’t
A public portfolio project on non-client data. It demonstrates architecture and guardrail patterns, not production performance.