S1. Natural-Language Semantic Search (AMWAY)
๐
Published 2026-05-14ยท๐Updated 2026-06-30ยทโฑ3 min read
1. URL & Personasโ
/semantic-search ยท P1 (ABO Field), P2 (Insights), P5 (Compliance)
2. User Storiesโ
- P1: "Vegan protein + new ABO in their 30s + no active subscription" โ instant ABO recommendations
- P5: "Review Nutrilite ad language + SKUs with minor risk" โ regulatory guard list
- Natural-language input box (multilingual support)
- Filters: category (Nutrition / Beauty / Home), brand, ABO level, country, price
- Persona switcher
4. Data Mixโ
| Data | Source | Use |
|---|
| In-house SKUs | OpenSearch idx_product | BM25 + KNN |
| ABO profile | OpenSearch idx_abo | KNN |
| In-house reviews | OpenSearch idx_review | BM25 + KNN |
| External social posts | OpenSearch idx_social_trend (Reddit ยท Instagram ยท X) | KNN (multilingual) |
| Regulatory text | OpenSearch idx_regulation | BM25 (P5 only) |
| KG 1-hop | Neptune (ABO ร Product ร Brand ร BU) | Graph expansion |
5. Processing Pipelineโ
- Input โ Cohere embed-v4
- OpenSearch in parallel: BM25 + KNN โ top 100/100
- RRF fusion โ top 50
- Cohere rerank-v3.5 (
cohere.rerank-v3-5:0) โ top 20
- Neptune 1-hop expansion (ABO / SKU nodes)
- Result cards + graph
6. Output UIโ
- Three columns: SKU cards / ABO ยท Customer cards / external review cards
- 1-hop KG (cytoscape.js)
- Cohort badge: ๐ข real / ๐ก synth / ๐ต external
- Result count + response time
7. Per-department Variationsโ
| Persona | Suggested Query |
|---|
| P1 | "Diamond candidate ABO recommendations" |
| P2 | "Emerging vegan trends matched to in-house SKUs" |
| P3 | "Review embedding drift" |
| P4 | "Subscription churn risk + similar ABOs" |
| P5 | "SKUs with ad-language risk" |
8. Guardrailsโ
- PII masking (ABO and customer names and contacts)
- Block nutritional supplement and beauty marketing to suspected minors
- Cite external review sources
9. Demo Scenariosโ
- "Vegan protein + 30s + Instagram +20%" โ Nutrilite Plant Protein + reviews
- "Diamond-level candidate ABOs" โ ABO + tree (linked to S9-A)
- "Artistry ad-language review" โ SKU + regulatory risk markers