#106 · Primary category: AI Gateway & API Infrastructure

OpenAI-API-dotnet

c-sharp chatgpt csharp dall-e dalle2 dotnet dotnet-core dotnet-standard gpt-3 gpt-4 gpt3 gpt35 gpt4 machine-learning ml openai sdk

An unofficial C#/.NET SDK for accessing the OpenAI GPT-3 API

Project last updated:08/07/24

GitHub Stars

1.9K

Forks

418

Contributors

17

License

Other

Why we included this project

Teams working in C# who want to call OpenAI's models directly from their code will get the most use out of this SDK. It wraps the bulk of the API, chat completions, embeddings, image generation, audio transcription and text-to-speech, file uploads and moderation, behind typed C# methods, so a simple call like api.Chat.CreateChatCompletionAsync sends the request and returns a typed result. Azure OpenAI support makes it a natural fit for shops already invested in the Microsoft cloud stack. Development has since moved to Microsoft's official .NET library, which this author handed the project over to; this repo remains a well-documented reference for the original v1.x line, whose NuGet package is still available for teams staying on that version.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category