File size: 2,863 Bytes
7a75a93 b45622c 7a75a93 b45622c 7a75a93 b45622c 7a75a93 b45622c 95c949f b45622c 95c949f b45622c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
---
title: Tasty Bytes Cortex Analyst Demo
emoji: π
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: mit
---
# Tasty Bytes Customer Analytics - Cortex Analyst Demo
This interactive demo showcases a natural language interface for customer data analytics built with **Snowflake Cortex Analyst**.
## π― What This Demonstrates
Ask questions in plain English and get instant insights from customer loyalty data:
- "How many customers are in our loyalty program?"
- "Which countries have the most customers?"
- "Show me the top 10 customers by total sales"
- "What's the average sales per customer in each country?"
**No SQL knowledge required!** The AI understands your questions and generates the appropriate queries automatically.
## ποΈ Architecture
This demo is built on:
- **Data Layer**: Snowflake TASTY_BYTES public dataset
- **Semantic Layer**: Native Snowflake Semantic View (business-friendly data definitions)
- **AI Layer**: Cortex Analyst (LLM-powered query understanding)
- **Interface**: Chat-based natural language interface
## β οΈ Important Note
This HuggingFace Space is a **demonstration and showcase** only. The actual Cortex Analyst agent runs on Snowflake infrastructure, not within this Space.
To try the real thing:
1. Get a Snowflake account (free trial available)
2. Follow the setup instructions in the [GitHub repository](https://github.com/aamanlamba/tasty-bytes-cortex-analyst)
3. Complete setup in 20-30 minutes
## π What You'll Find Here
- **Demo Video**: See Cortex Analyst in action
- **Example Queries**: Sample questions you can ask
- **Sample Results**: Real query outputs
- **Architecture**: How the system works
- **Setup Guide**: Build it yourself step-by-step
## π Try It Yourself
**GitHub Repository**: [tasty-bytes-cortex-analyst](https://github.com/aamanlamba/tasty-bytes-cortex-analyst)
The repository includes:
- Complete setup scripts
- Semantic view YAML definition
- Detailed documentation
- 50+ example queries
- Troubleshooting guide
## π Dataset
Uses Snowflake's **TASTY_BYTES** sample dataset:
- 11,420+ customer loyalty members
- Geographic data (30+ countries)
- Sales transactions
- Location visit history
This is publicly available sample data - no real customer information.
## π€ Author
**Aaman Lamba**
- Strategy Consultant & Author
- AI Governance & Data Economy Expert
- Former Senior Industry Principal, Infosys
**Connect:**
- [LinkedIn](https://linkedin.com/in/aamanlamba)
- [GitHub](https://github.com/aamanlamba)
## π License
MIT License - Free to use and modify
---
β **Like this demo?** Star the [GitHub repository](https://github.com/yourusername/tasty-bytes-cortex-analyst)!
π **Questions or issues?** [Open an issue](https://github.com/yourusername/tasty-bytes-cortex-analyst/issues)
|