What problem does it solve? Integrating embedding models into a .NET application involves undocumented API traps, broken library paths, and benchmarks that fail to discriminate between models. This Skill captures verified, end-to-end-tested knowledge for wiring LLamaSharp, LM Studio, and ONNX Runtime behind Microsoft.Extensions.AI's IEmbeddingGenerator, plus how to build retrieval benchmarks that actually rank models. ## Core Features & Use Cases - Backend integration recipes: Working code paths for local GGUF via LLamaSharp (including the 0.27 embedder bug workaround), LM Studio via the plain OpenAI SDK, and an in-process ONNX Runtime MiniLM engine with mean-pooling and L2 normalization. - Retrieval benchmarking methodology: Guidance on building real-world corpora with honest ground truth, computing Recall@k, MRR, and nDCG, and avoiding synthetic-corpus metric ceilings. - Storage and tokenization: sqlite-vec vec0 blob formats and trigger sync, FTS5 hybrid search, and Microsoft.ML.Tokenizers 2.0 token counting for RAG chunking. - Use Case: You need to decide whether a small local embedding model is good enough for your .NET memory store. Use this Skill to wire three backends behind one interface, run a real-world benchmark, and present a size/quality/speed verdict. ## Quick Start Use the dotnet-ai-embeddings skill to wire a local ONNX MiniLM embedding engine behind IEmbeddingGenerator and benchmark it against an LM Studio model.