All articles

#openai

3 articles tagged openai

Sep 8, 2026AI & LLMs

Getting Reliable JSON Out of LLMs in C#: Structured Output That Doesn't Break

LLM structured output in C#: use OpenAI structured outputs and JSON schema to get typed, deserializable results — no more regex-parsing model prose.

Intermediate5 min read
Aug 28, 2026AI & LLMs

LLM Function Calling in C#: Letting the Model Safely Run Your Code

Function calling with OpenAI in C#: how tool calls work under the hood, the invocation loop, and the security rules for exposing .NET methods to an LLM.

Advanced5 min read
Jul 15, 2026AI & LLMs

How to Call the OpenAI API from C#: A Complete Guide for .NET Developers

Step-by-step OpenAI API C# example: install the official SDK, send chat completions, stream responses, handle errors and costs — no Python required.

Beginner5 min read