LLM Capability

Semantic Search

Querying S3-derived vector embeddings to find content by meaning rather than exact keyword match.

11 connections 3 resources

Summary

What it is

Querying S3-derived vector embeddings to find content by meaning rather than exact keyword match.

Where it fits

Semantic search is the retrieval layer that makes LLMs useful over S3 data. It powers the "R" in RAG — finding the most relevant S3-stored documents for a given query without requiring exact keyword matches.

Misconceptions / Traps
  • Semantic search is approximate, not exact. Results are ranked by similarity score, not matched precisely. False positives are possible and must be handled.
  • Semantic search requires embedding generation as a prerequisite. You cannot search semantically without first vectorizing the S3 data.
Key Connections
  • depends_on Embedding Model — needs vectors to search
  • enables Hybrid S3 + Vector Index — the retrieval mechanism for the pattern
  • augments Lakehouse Architecture — adds semantic retrieval to structured data
  • scoped_to LLM-Assisted Data Systems, Vector Indexing on Object Storage

Definition

What it is

The ability to query S3-derived vector embeddings to find content by meaning rather than exact keyword match.

Why it exists

S3 objects cannot be searched by content natively. Semantic search, built on embeddings generated from S3 data, allows users to find relevant documents, records, or media by describing what they need in natural language.

Recent developments

Latest signals
  • Hybrid search is the single biggest quality improvement to a naive RAG pipeline. Production 2026 systems combine semantic (vector) search with keyword (BM25) search and re-rank — pure embedding-only retrieval is now considered insufficient for high-recall use cases. Semantic-only loses to hybrid on entity-bearing queries (product codes, names, version strings). Per Redis — RAG at Scale: Production AI Systems in 2026.
  • Matryoshka embeddings let truncation trade quality for cost. Matryoshka Representation Learning trains embedding models so the most semantically important information is front-loaded into the first dimensions — you can safely truncate to 256d or 512d for storage/latency wins while retaining most retrieval quality. Now standard in text-embedding-3-* and Cohere v3 families. Per Tensoria — 8 Embedding Models Compared for Production RAG 2026.
  • Semantic caching cuts LLM calls 30–50%. Cache embeddings of recent queries; if a new query is >0.95 cosine-similar to a cached one, return the cached answer instead of re-running retrieval+generation. Standard pattern in production RAG stacks. Per Redis — RAG at Scale.
  • text-embedding-3-small remains the default English baseline at $0.02/1M tokens. Covers 95% of general-purpose English retrieval use cases with minimal operational overhead. Switch to v3-large, Cohere embed-v3, or domain-specific models only when retrieval quality is the proven bottleneck. Per Tensoria 2026 embedding benchmark.
  • Semantic chunking with 200–1,000 token windows and 10–20% overlap is the production default. Replaces fixed-size chunking; aligns chunk boundaries with paragraph/section breaks so retrieved chunks are self-contained. Per MarsDevs — RAG in AI: 2026 Production Guide.
  • "RAG is not dead" is the 2026 consensus pushback. Despite agentic-retrieval hype, advanced retrieval patterns (hybrid + re-rank + late-interaction + query rewriting) still dominate in production for knowledge-base + document-search workloads. Pure agentic search wins only on code-search and structured-tool-call tasks. Per DEV — RAG Is Not Dead: Advanced Retrieval Patterns 2026.

Connections 11

Outbound 5
Inbound 6

Resources 3