Semantic Search using LLM Embeddings with C# ML.NET & TorchSharp & BERT

Semantic Search using LLM Embeddings with C# ML.NET & TorchSharp & BERT

16 Dec 2025

Let's create an actual Semantic Search system. The first step is to generate embeddings from our data. Find out how to do that and how to find the most similar embeddings. These are also among the first steps in creating a RAG system. Very exciting stuff!

Video: Semantic Search using LLM Embeddings with C# ML.NET & TorchSharp & BERT

Access the code:

Or:


Join the community

I continuously build, learn and experiment with innovative technology. Allow me to share what I learn, with you.

Newsletter

Allow me to share what I learn, with you.

Unlock

Unlock access to source code behind each article, here.

Share

Support

An error has occurred. 🗙