Embeddings in .NET

How to generate text embeddings with Microsoft.Extensions.AI and keep the model, dimensions, comparison metric, and indexing behavior compatible.

August 19, 2026 · 11 min · Lukas Walter

Why Retrieval Exists

Why application knowledge does not belong in model weights, what retrieval contributes, and when a prompt, database query, or deterministic tool is simpler.

August 5, 2026 · 15 min · Lukas Walter

Measure retrieval misses separately from model failures

Give retrieval its own outcome and telemetry so missing or irrelevant context is not diagnosed as a model problem.

July 26, 2026 · 2 min · Lukas Walter

Keep RAG citations tied to retrieved chunks

Citations should point back to the retrieved evidence, not to sources the model guessed after answering.

July 8, 2026 · 2 min · Lukas Walter

Agent Framework RAG for Agents: Giving Your Agent the Right Context

How to connect Microsoft Agent Framework agents to private application knowledge without stuffing full documents into the prompt.

June 10, 2026 · 10 min · Lukas Walter

Stop RAG Hallucinations with the Short-Circuit Pattern

How to reduce RAG hallucinations by short-circuiting generation when retrieval returns weak evidence, with a simple C# threshold check.

March 22, 2026 · 2 min · Lukas Walter

RAG Is a Data Problem Before It’s a Prompt Problem

Why stale documents, weak chunking, and thin metadata usually break RAG before prompt tuning does.

March 9, 2026 · 6 min · Lukas Walter