Delectable AI

Intelligence Pipeline Deep Dive

Interactive Demo
Challenge: "It looks like a hardcoded search"

There Are 11 AI Stages Between
Your Query and the Results

What looks like a simple product list is actually the output of a multi-stage AI pipeline — personalized ranking, dietary enforcement, intent classification, and real-time reranking — all executing in under 2 seconds.

The 11-Stage AI Pipeline

Click "Run Query" to watch a real query flow through every AI stage. Each stage transforms, filters, or re-ranks the results.

Shopper: Health-Conscious Mom
Propensity: organic=0.8, gluten_free=0.6
Mission: Quick Meal (Cluster 6)

User Query Received

Input

Raw natural language from the shopper

0ms
1

Intent Classification

GEMINI 2.0

Gemini classifies the query into one of 8 intent types and extracts structured parameters.

2

Query Understanding & Cleaning

NLP

Extract food concepts, detect false-friends, simplify compound queries, identify category hints.

3

Shopper Profile Prefetch

BIGQUERY

Parallel load of propensity scores, virtual pantry, household graph, and purchase history.

4

Vertex AI Commerce Search

VERTEX AI

Semantic search across 70K+ enriched products. Over-fetches to allow for dietary filtering downstream.

5

Relevance Filter

FILTER

Stemming, false-friend detection, and content-word overlap scoring. Removes irrelevant matches.

6

Dietary Hard Filter

SAFETY

Enforces dietary restrictions with AND logic. Safety-critical for allergies — never shows non-compliant products.

7

Health Propensity Rerank

PERSONALIZATION

Reranks products based on individual shopper's 8-propensity profile and health consciousness score.

8

History Boost & Freshness Rerank

AFFINITY

Boosts familiar brands and fresh produce. Uses purchase history and shelf-life data.

9

Session Diversity Filter

DIVERSITY

Prevents showing products the shopper already saw, selected, or dismissed in this session.

10

Sponsored Placement (RMN)

MONETIZATION

Injects relevant sponsored products at configured positions. Only shows brand-safe, dietary-compliant items.

Personalized Results Delivered

OUTPUT

Final ranked, filtered, personalized product set streamed to the shopper via SSE.