OkGoDoIt/OpenAI-API-dotnet
A C# SDK enabling .NET developers to integrate OpenAI's APIs including GPT models, image generation, and speech processing.

Velocity · 7d
+0.9
★ / day
Trend
→steady
star history
This repository provides an unofficial but comprehensive C# wrapper library for the OpenAI API. It abstracts HTTP calls into typed, asynchronous methods allowing .NET developers to easily integrate GPT-3.5/4 chat completions, embeddings, image generation (DALL-E), text-to-speech, transcription, and moderation into their applications. The SDK handles authentication, streaming responses, conversation context management, and JSON mode.