Delectable AI Food HyperGraph · 3D Embedding View
sample data · client-rendered · WebGL
Embeddings · beyond naive RAG

Vectors that know what a product is — and how it connects.

Most retrieval stacks embed a product name and description once and hope nearest-neighbour search does the rest. Ours can embed enriched records, keeps separate vector spaces per kind of thing, and never lets similarity alone decide: the knowledge graph constrains and re-ranks every result. The point cloud below is a sample layout so you can see the idea; the section after it says exactly what runs today and what we would build and measure with you. Drag to orbit · scroll to zoom · click a point to pin.

Loading 3D projector…

Naive RAG vs. how the platform retrieves

Running in our agent today Built — being wired Next, with you
Naive RAG
  1. Embed the product name and description, once.
  2. One vector per item, one undifferentiated index.
  3. Return the top-k nearest neighbours.
  4. Hope the nearest is also allowed, in stock, and right for this shopper.
Delectable AXP™
  1. Enrich first — nutrition, health and allergen attributes are merged into the record before embedding, so the vector can carry them.
  2. Separate vector spaces per entity — products, ingredients, brands, recipes — and per aspect of a product.
  3. Vector search proposes; the knowledge graph disposes — dietary edges filter, relationships re-rank.
  4. Results are written back as attributes, so the next embedding starts richer.
Running today

Vector + graph, in one query

Memgraph holds cosine vector indexes (768-dim) for products, ingredients, brands and recipes, next to the relationships between them. The shopping agent's product search runs vector top-k inside the graph, then:

  • Filters on dietary-label edges, so a "gluten-free" need is a graph constraint, not a hope about text similarity.
  • Re-ranks with graph signals added to the similarity: brand match (+0.15), department (+0.10), co-purchase (+0.05).
  • Substitutes add co-occurrence (up to +0.15) and explicit substitute edges (+0.10) — how out-of-stock swaps stay sensible.
Running today

Enrichment that compounds

  • The data-match stage merges nutrition, health and allergen attributes from authoritative sources into the product record, and those fields can be embedded with it.
  • PIM can store three vectors per product — identity, nutrition, description — and the agent can search one aspect at a time ("something like this, nutritionally").
  • The semantic stage writes similar products and recipe similarity back onto the product as attributes — each pass leaves the catalog denser for the next.
Built — being wired

What makes the vectors deeper next

Re-embed after enrichmentA fixed template that embeds category path, standards codes and enriched properties, run after LLM enrichment so flavor, cuisine and occasion land in the vector.
Fused multi-aspect scoringCombine the identity, nutrition and description vectors in one score instead of searching one aspect at a time.
Graph embeddings (MAGE)node2vec vectors on products and shoppers, so "close in the graph" — bought together, substituted for — becomes a feature, not just a filter.
Shopper taste vectorsA household's purchases summarised as a vector, for personalised ranking and as ML training features.
Built — not deployed

Vespa for ranking at catalog scale

The platform carries a Vespa ranking schema: keyword (BM25) relevance plus a vector field, with a second-phase blend of relevance, a shopper vector, popularity and margin. It is not deployed today; it is the option we'd bring in when Sprouts' search needs ranking control at full-catalog scale, fed by the same enriched vectors.

Where the vectors are used

Semantic product searchtoday
Substitutes & recipe-to-carttoday
RAG over documents (keyword + vector hybrid)today
Personalised rankingbeing wired
ML training features & segmentsnext
Next, with you

Prove it on Sprouts' catalog — don't take our word for it

We have not published a benchmark of enriched versus raw embeddings, and we won't quote one we didn't measure on your data. In Phase 0–1 we would:

  1. Embed the same Sprouts items twice: as they arrive today, and enriched (attributes, category path, standards codes, graph context).
  2. Score retrieval on a query set your merchants write (recall and nDCG@10), plus how often neighbours agree on dietary and allergen attributes.
  3. Report both views, including the queries where enrichment does not help — that tells us where to invest next.