Harnessing DeepSeek-R1 distilled model with .NET Aspire and Ollama locally

In my earlier posts, I've demonstrated how to install Ollama using the Windows installer. However, for developers, there's a more streamlined method to set up Ollama on your machine.

In this blog post, we'll explore how to run DeepSeek-R1 by harnessing the capabilities of .NET Aspire alongside Ollama on your local environment.

Continue reading

Leveraging Microsoft.Extensions.AI for Tool Calling in C#

Jan 27, 2025

In the previous post "Learning AI function calling in C# with Llama 3.2 SLM and Ollama running on your machine", we wrapped our head around the concept of tool calling and implemented a C# source generator enabling our functions to be called by Llama 3.2 SLM using Ollama.

In this post, we will explore how to use Microsoft Extensions AI for tool calling in a simple .NET CLI application. We will leverage the power of Ollama and Llama 3.2 SLM to call functions and interact with the AI model using C#.

Continue reading

Learning AI function calling in C# with Llama 3.2 SLM and Ollama running on your machine

Oct 28, 2024

I've been trying to wrap my head around function/tool calling for a while now, and I'm excited to share what I've learned with you. It's a powerful way to let developers integrate advanced AI features directly into their applications. We'll walk through understanding the core concepts, setting up your environment, and implementing a practical example using a C# source generator.

Continue reading

Run Phi-3 SLM on your machine with C# Semantic Kernel and Ollama

Microsoft recently unveiled Phi-3, the latest iteration of their Small Language Model (SLM). And hot on its heels is Ollama, a powerful tool that enables you to run SLMs and LLMs right on your own machine.

Excited to dive in? In this guide, I'll show you how to harness the power of Phi-3 and Ollama using C# and Semantic Kernel. I'll walk you through the process of creating a simple console application to get you started on your SLM journey.

So, let's get coding and unlock the potential of Phi-3 and Ollama on your machine!

Continue reading

Page 2 of 145