---
title: "DuckDB User Group Workshop on AI-Powered Review Analysis with Hugging Face"
description: "A one-afternoon workshop pipeline uses DuckDB to find Amazon appliance products whose ratings fell most in the last six months across 2.1 million reviews, then sends only the 40 most helpful recent complaints to an LLM that groups them into themes with safety issues first."
url: "https://swe.quest/articles/duckdb-user-group-workshop-on-ai-powered-review-analysis-with-hugging-face-db5478e73c7e0e03"
canonical: "https://duckdb.org/2026/11/17/duckdb-user-group-workshop-ai-powered-review-analysis.html"
source: "DuckDB"
published: "2026-11-17"
difficulty: "medium"
kind: "How-to"
reading_minutes: 3
tags: ["analytics","llms","sql","data-pipelines"]
---

# DuckDB User Group Workshop on AI-Powered Review Analysis with Hugging Face

A post on [DuckDB](https://swe.quest/sources/duckdb.md), published 2026-11-17, 3 min read, How-to. Original: [https://duckdb.org/2026/11/17/duckdb-user-group-workshop-ai-powered-review-analysis.html](https://duckdb.org/2026/11/17/duckdb-user-group-workshop-ai-powered-review-analysis.html)

## Summary

A one-afternoon workshop pipeline uses DuckDB to find Amazon appliance products whose ratings fell most in the last six months across 2.1 million reviews, then sends only the 40 most helpful recent complaints to an LLM that groups them into themes with safety issues first. Attendees developed against a 22 MB sample, then ran the same ingest script as a $0.01/hour Hugging Face Job writing Parquet to a Storage Bucket and deployed a Gradio workflow to a Space where each node is an API endpoint. The ranking query compares recent and earlier averages with minimum review thresholds because skewed 5-star-heavy distributions make plain averages misleading. Doing the selection in SQL keeps LLM calls few, and the six-column schema lets other feedback data reuse the pipeline unchanged.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [SQL](https://swe.quest/tags/sql.md) (Languages)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)

## Prerequisites

- SQL aggregation and window basics ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))
- basic Python ([easy posts on Python](https://swe.quest/tags/python.md?difficulty=easy))

## Keywords

DuckDB, Hugging Face, Gradio, Parquet, Amazon Reviews 2023, Hugging Face Spaces

## Related posts

- [DuckDB: analyze 50,000+ datasets stored on the Hugging Face Hub](https://swe.quest/articles/duckdb-analyze-50-000-datasets-stored-on-the-hugging-face-hub-05ca0d0e06164c0a.md): Hugging Face · 2023-06-07 · Medium · 3 min read · Analytics & OLAP, SQL, Python
  Every public dataset on the Hugging Face Hub is now automatically converted to Parquet by the dataset viewer and can be queried with SQL through DuckDB.
- [Inside OpenAI’s in-house data agent](https://swe.quest/articles/inside-openai-s-in-house-data-agent-55ba2e68b590558a.md): OpenAI · 2026-01-29 · Medium · 13 min read · AI agents, RAG & retrieval, Analytics & OLAP, Evaluation, LLMs
  OpenAI built an internal GPT-5.2-powered data agent that answers natural-language analytics questions over a platform of 600+ PB and 70k datasets, available via Slack, web, IDEs, Codex CLI and ChatGPT through MCP.
- [Dead Ends or Data Goldmines? Investment Insights from Two Years of AI-Powered Postmortem Analysis](https://swe.quest/articles/dead-ends-or-data-goldmines-investment-insights-from-two-years-of-ai-powered-8637215027e4eee6.md): Zalando Engineering · 2025-09-24 · Medium · 18 min read · LLMs, SRE, Incidents & postmortems, Databases
  Zalando built a multi-stage LLM pipeline (summarization, classification, analyzer digests, cross-incident patterns, investment opportunities) to mine thousands of postmortems for recurring failure patterns in its datastores: Postgres, DynamoDB, ElastiCache, S3 and Elasticsearch.
- [Automated merchant review summary system with integrated feedback](https://swe.quest/articles/automated-merchant-review-summary-system-with-integrated-feedback-48cd43919529123c.md): Grab Engineering · 2026-09-25 · Easy · 4 min read · LLMs, System design, Evaluation
  Grab generates consumer-facing merchant review summaries with a pipeline that stratifies review samples by a sentiment-scored rating distribution, uses an LLM to produce overall and topic-based summaries (taste, packaging, portion size), and has a separate LLM check each claim against the sampled reviews before publication.
- [Building a RAG pipeline for Google Analytics with ClickHouse and Amazon Bedrock](https://swe.quest/articles/building-a-rag-pipeline-for-google-analytics-with-clickhouse-and-amazon-bedrock-e2945701d51424da.md): ClickHouse · 2023-11-21 · Medium · 26 min read · RAG & retrieval, LLMs, Vector search, Analytics & OLAP, Cloud platforms
  A natural language interface over raw Google Analytics data stored in ClickHouse is built as a multi-step RAG pipeline that generates SQL from user questions using Amazon Bedrock models.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
