Topic

RAG & Semantic Search

Index and retrieve useful evidence, measure search quality and check that sources support the answer.

RAG & Semantic Search18 min

RAG That Keeps Its Evidence: Eligibility, Coverage and Licensed Claims

Filter before Top K, check that the selected set covers every required fact, accept only sentences their citations license, and carry an evidence identity into the next stage.

RAG & Semantic Search21 min

Semantic Search in Blazor WebAssembly: Where the Cost Moves

Run an embedding model in a Web Worker behind a Blazor component and measure what it moves: a 40 MB first visit, per-query time against a server, tokenizer and int8 pitfalls, caching, cleanup.

RAG & Semantic Search30 min

RAG in .NET, Part 1: Restartable Ingestion and an Index Under Load

Import versioned documents so that a crash never publishes half a revision, then measure what a pgvector HNSW index finds, misses and costs under filters and updates.

RAG & Semantic Search25 min

Move ONNX Inference Behind HTTP Without Changing the Computation

Pin the embedding task as a contract, prove the HTTP path returns the same bits as ONNX Runtime in-process, fix the .NET tokenizer drift, then measure what the move costs.

RAG & Semantic Search29 min

RAG in .NET, Part 3: Verify the Answer, Not the Citation

An exact citation can carry a wrong unit, property, exception or revision. Pin claims to bytes and dates, check numbers, scope and negation in C#, and report quality per question type.

RAG & Semantic Search28 min

RAG in .NET, Part 2: Retrieve What the Caller May Use

Filter by tenant, grant and the revision in force before the top-k cut, measure what retrieval without it leaks, then tell a missing passage from an ignored one in C#.