| Retrieval Methodology | Hybrid Retrieval: PostgreSQL pgvector dense vectors + BM25 sparse keyword tsvector merged via Reciprocal Rank Fusion (RRF). | Single dense vector search using basic cosine similarity distance. |
| Exact Term & SKU Recall | 100% exact keyword and alphanumeric recall via PostgreSQL full-text search dictionaries. | Frequent catastrophic misses on part numbers, legal codes, acronyms, and product IDs. |
| Re-ranking & Filtering | Two-stage cross-encoder scoring filtering top-K chunks to eliminate irrelevant context before LLM prompting. | No reranking; dumps unverified top-K chunks directly into the prompt, risking context pollution. |
| Response Latency & Speed | Sub-100ms streaming responses; Redis semantic cache serves repeated queries in under 30ms. | 3.5 to 5+ second wait times caused by sequential unoptimized embedding queries and prompt bloating. |
| Cloud Token Cost Optimization | In-memory Redis semantic cache intercepts repeated or semantically similar queries, cutting LLM token bills by 60%+. | Every repeated query triggers new vector embeddings and full LLM generation, multiplying costs. |
| Multi-Tenant Data Isolation | Document-level tenant RBAC and role permissions enforced directly at the SQL query level before retrieval. | Flat vector collections with no permission awareness; severe risk of cross-tenant data leaks. |
| Data Privacy & Governance | Strict Zero-Data Retention (ZDR) commercial agreements; distroless deployment inside private client VPCs. | Third-party cloud vector SaaS without signed zero-data-retention guarantees. |