ProjectIntent Over Keywords: From Stitched Embeddings to a Production Fashion Agent · Module 11: StyleMe: the product problem · part 13 of 26
Part 13 · Module 11: StyleMe: the product problem

Module 11: StyleMe: the product problem

23 min read·
About 45 minutes · Needs: Module 10 (measuring v1 against v2) · Code: originals/styleme/fashion-agent/app.py, part3-styleme/backend/src/styleme/agent/prompts.py, part3-styleme/backend/src/styleme/agent/planner.py, part3-styleme/backend/evals/datasets/intent_cases.jsonl, part3-styleme/backend/data/

Where this fits

WHERE THIS FITS Intent Over Keywords this module PART 1: STITCHED VIDEO RAG three models, two spaces, RRF PART 2: UNIFIED VIDEO RAG one model, one space PART 3: STYLEME FastAPI, LangGraph, React QUALITY AND OPERATIONS evals, Docker, Cloud Run Frames ffmpeg, one per 5 s CLIP ViT-B/32 frames + text, 512 d Whisper base speech to text MiniLM 64-word chunks, 384 d Two collections p1_visual, p1_text Rank fusion RRF, k = 60 Gemini answer from transcript text API + Streamlit upload, ask, sources Windows ffmpeg, video + audio Embedding 2 Gemini, one vector One collection p2_unified, no fusion Notes + answer Gemini, cited times React web chat, photo, chips nginx one URL, /api proxy FastAPI /api/chat, limits Sessions in memory, cap of 3 Planner intent before retrieval Implementer batched embed, search Generator stylist reply, ids Grounding check no LLM, drops invented Gemini flash-lite, embedding 2 Qdrant styleme_products Catalogue ingest image + title vectors Langfuse optional traces Test video 26 questions, 4 kinds Video eval Part 1 vs Part 2 Agent evals intent, grounding Guards uploads, limits, secrets Containers compose profiles Cloud Run StyleMe only CI/CD GitHub Actions, WIF Original code v1, v2, fashion-agent
This module (highlighted) opens Part 3: the shopper's chat page, the planner that decides first, the catalogue it searches and the original fashion-agent it grew from (grey). Blue is our system throughout.

Parts 1 and 2 answered one question over one video: find the right moment, then say what happened. Part 3 changes the job. StyleMe is a fashion shopping assistant over a catalogue of 203 products, with text, photos and a conversation that runs over several turns. This module states the product problem before any architecture: what shoppers actually type, why many of their messages must not trigger a search, what the catalogue holds, and what the original fashion-agent got wrong. The high-level design in Module 12 and the modules after it then build and run the answer.

The rest of this project is yours to keep

This project is bought on its own, once, and stays readable afterwards, including the parts added to it later.

Or open everything with a plan