15 questions · 3 grounding strategies · run date 2026-05-06
Salesforce Data Cloud lets you build a Search Index in two configurations: vector-only (semantic) or Hybrid. The same source data, indexed both ways, behaves very differently for product catalogs with similar identifiers — which is exactly the failure mode this demo targets.
Embeddings only — query and chunks are encoded into the same vector space, ranked by cosine similarity. This is what the Salesforce Data Library uses by default.
AL-3000-S vs AL-3000-SX collapse in the embedding space)Two retrieval lanes per query — lexical (keyword/BM25) and semantic (embedding cosine) — merged by a fusion ranker. Salesforce exposes three score columns: hybrid_score__c, vector_score__c, keyword_score__c.
-S vs. -SX separate cleanlykeyword_weight for SKU-heavy text)productIds__c, atexZone__ckeyword_weight α (default 0.5), recency_weight δ, popularity_weight γ= and prefix-LIKE 'X;%' — no leading wildcards, no CONTAINSAL-\d{4}(?:-[A-Z]+)*)
and translates them into a pre-filter productIds__c = 'AL-3000-SX' OR productIds__c LIKE 'AL-3000-SX;%'
passed into the hybrid_search() call. The fusion ranker supplies the relevance ranking, the pre-filter
supplies deterministic ID matching. Vector-only retrieval cannot replicate this — there is no exact-match lane to
filter on, and no fusion knob to bias toward keyword evidence.
References: Salesforce Help — Create a Hybrid Search Index · Trailhead — Optimize Hybrid Search Results for RAG
"Which model in the AL-3000 series is approved for food contact, and what is the certificate number of its ATEX approval?"
"Model AL-3000-SX from the AL-3000 series is suitable for food contact and has an ATEX approval for Zone 1. The specific certificate number of the ATEX approval, however, is not stated in the available documentation."
A correctly identifies the model but claims the certificate number is missing — the number is in fact present in the catalog but was not retrieved.
"The AL-3000-SX is approved for food contact and carries the ATEX certificate number BVS 23 ATEX E 089 X."
P = PASS, · = PARTIAL, F = FAIL.
| Variant | Setup | What it measures | PASS / 15 (%) |
|---|---|---|---|
| B-naive (retrieval) | Data Cloud Hybrid Search Index, no lexical filter, REST endpoint /services/apexrest/aerolift/retrieve/naive |
Pure embedding + BM25 hit quality without ID steering | 13 · 87% |
| B-boosted (retrieval) | Same Hybrid Search Index, additional pre-filter productIds__c = 'AL-3000-SX' when model IDs are detected in the question |
Effect of the ID pre-filter on disambiguation (AL-3000 vs. AL-3000-SX) | 14 · 93% |
| B-boosted (answer) | Agent B in production setup; eval reads both the Inform message and the action's formattedContent output (matches the UI view: LLM intro + source panel) |
What the user actually sees in the agent UI | 12 · 80% |
A (Data Library) is consistent at 12/15 PASS across runs. Retrieval columns are independent of topic configuration.
"Was ist die maximal zulässige Medientemperatur der AL-3000-SX?"
Ground truth: 150 °C · Source: product-catalog.md
"Welche Förderleistung hat die AL-3500?"
Ground truth: 140 m³/h · Source: product-catalog.md
"In welchem Intervall ist die Großinspektion bei der AL-3500-HT-X durchzuführen?"
Ground truth: 2.000 Bh oder 6 Monate (zuerst erreichter Wert) · Source: maintenance-manual.md
"Welche Antriebsleistung hat die AL-3000?"
Ground truth: 22 kW · Source: product-catalog.md
"Welchen Wirkungsgrad erreicht die AL-3500?"
Ground truth: 76 % · Source: product-catalog.md
"Welche AeroLift-Pumpe ist sowohl für ATEX Zone 1 zertifiziert als auch für eine Förderleistung von mindestens 120 m³/h ausgelegt?"
Ground truth: AL-3500-HT-X · Source: product-catalog.md, atex-guide.md
"Welche Modelle haben ein Edelstahlgehäuse, sind ATEX-Zone-1-zertifiziert und vertragen eine Medientemperatur von mindestens 140 °C?"
Ground truth: AL-3000-SX und AL-3500-HT-X · Source: product-catalog.md
"Welche Antriebsleistung hat das einzige Modell der AL-3000-Reihe ohne ATEX-Zulassung und welchen Wirkungsgrad erreicht es?"
Ground truth: AL-3000, 22 kW Antriebsleistung, 72 % Wirkungsgrad · Source: atex-guide.md, product-catalog.md
"Welche Pumpe der AL-3000-Reihe verträgt eine Medientemperatur über 120 °C?"
Ground truth: AL-3000-SX · Source: product-catalog.md
"Welche Pumpen mit 140 m³/h Förderleistung haben ein Großinspektionsintervall von höchstens 2.500 Betriebsstunden?"
Ground truth: AL-3500-HT (2.500 Bh) und AL-3500-HT-X (2.000 Bh) · Source: product-catalog.md, maintenance-manual.md
"Welches Großinspektionsintervall hat die einzige ATEX-Zone-1-zertifizierte Pumpe der AL-3500-Reihe?"
Ground truth: AL-3500-HT-X, 2.000 Bh oder 6 Monate · Source: atex-guide.md, maintenance-manual.md
"Wann wurde die erste ATEX-Zone-1-zertifizierte Pumpe von AeroLift eingeführt und welche Förderleistung hat dieses Modell?"
Ground truth: AL-3000-SX, eingeführt 2023-04, 80 m³/h · Source: changelog.md, product-catalog.md
"Welches Modell der AL-3000-Reihe ist für den Lebensmittelkontakt freigegeben und welche Zertifikatsnummer trägt seine ATEX-Zulassung?"
Ground truth: AL-3000-SX, Zertifikatsnummer BVS 23 ATEX E 089 X · Source: compatibility-matrix.md, atex-guide.md
"Für welche ATEX-Zone ist die AL-3000-S zertifiziert?"
Ground truth: Zone 2 (Gas) · Source: atex-guide.md, product-catalog.md
"Aus welchem Werkstoff besteht das Pumpengehäuse der AL-3000-SX?"
Ground truth: 1.4408 (Edelstahl) · Source: product-catalog.md, spec-sheet-AL-3000-family.md