English
Topic 16. Integrating artificial intelligence models into .NET applications (Microsoft.Extensions.AI)
Goal: get to know the principles of large language models and the Microsoft.Extensions.AI libraries; learn to send requests to a local model through IChatClient, receive streaming and structured responses, and describe C# functions as model tools; master the middleware client pipeline, embeddings, retrieval-augmented generation, and safe handling of API keys and user data.
Lecture contents
- Language models and IChatClient — Large language models · The AI ecosystem in .NET · The IChatClient interface
- Streaming and structured responses — Streaming responses · Structured output
- Function calling and the client pipeline — Function calling · The middleware client pipeline
- Embeddings, RAG, and security — Embeddings · Retrieval-augmented generation (RAG) · Security, cost, and testing
- Common mistakes — Common mistakes