Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Blazor
  3. Cledev.OpenAI

Cledev.OpenAI

MITC#

An unofficial .NET 7 SDK for OpenAI with a Blazor Server playground for testing and exploring the API.

GitHubGitHub
125 stars21 forks0 contributors

What is Cledev.OpenAI?

Cledev.OpenAI is an unofficial .NET 7 SDK that provides a comprehensive client library for accessing OpenAI's APIs, including ChatGPT, DALL-E, Whisper, and completions. It solves the problem of integrating AI capabilities into .NET applications by offering a clean, type-safe interface with full API coverage and streaming support. The project also includes a Blazor Server playground for interactive testing and exploration.

Target Audience

.NET developers building applications that require AI features like chatbots, text generation, image creation, or audio transcription. It's ideal for those who prefer a native .NET client over REST calls or other SDKs.

Value Proposition

Developers choose this SDK for its idiomatic .NET design, ease of use with dependency injection, and the included Blazor playground that accelerates testing. It offers a more integrated experience compared to manually calling OpenAI's REST API or using less feature-complete .NET libraries.

Overview

.NET 7 SDK for OpenAI with a Blazor Server playground

Use Cases

Best For

  • Integrating ChatGPT into .NET web applications or services
  • Building .NET applications that generate images using DALL-E
  • Adding audio transcription capabilities with Whisper to .NET projects
  • Experimenting with OpenAI APIs interactively via the Blazor playground
  • Creating AI-powered features in enterprise .NET systems with type safety
  • Developing educational or demo projects to showcase OpenAI API usage in .NET

Not Ideal For

  • Projects requiring immediate access to ChatGPT-4 or Azure OpenAI services
  • Enterprise applications that demand official SDK support with SLAs and guaranteed updates
  • Developers targeting .NET Framework or versions older than .NET 7
  • Teams that avoid Blazor and prefer lightweight, framework-agnostic testing tools

Pros & Cons

Pros

Full API Coverage

Supports all major OpenAI endpoints including models, completions, ChatGPT, images, audio, files, and fine-tunes, as detailed in the API list, ensuring comprehensive integration options.

Real-time Streaming

Enables streaming for chat and text completions, demonstrated in the code examples, allowing efficient handling of large responses without blocking.

Interactive Blazor Playground

Includes a Blazor Server playground with screenshots for testing API calls interactively, accelerating experimentation without coding overhead.

Type-Safe Interface

Uses strongly typed request and response objects for all endpoints, reducing errors, as seen in examples with specific models like ChatModel.Gpt35Turbo.

Easy Configuration

Simple setup via dependency injection with support for appsettings.json or environment variables, making integration straightforward in .NET applications.

Cons

Incomplete Feature Set

Key features like ChatGPT-4 and Azure OpenAI support are marked as 'coming soon' in the README, limiting immediate use for advanced or enterprise scenarios.

Unofficial and Unsupported

As an unofficial SDK, it lacks the backing, warranties, and timely updates from OpenAI, posing risks for production-critical applications.

Blazor-Centric Playground

The playground is built with Blazor Server, which may add unnecessary complexity or be irrelevant for projects not using Blazor or preferring CLI tools.

Frequently Asked Questions

Quick Stats

Stars125
Forks21
Contributors0
Open Issues1
Last commit3 years ago
CreatedSince 2023

Tags

#gpt-3#ai-integration#openai#gpt3#blazor-server#dall-e#api-client#type-safe#chatgpt#streaming#sdk#chat-gpt#blazor#openai-api

Built With

B
Blazor Server
.
.NET 7

Included in

Blazor9.3k
Auto-fetched 10 hours ago

Related Projects

ExplainFaceRecognitionExplainFaceRecognition

This project is an interactive tutorial that teaches modern face detection and recognition technology from scratch. It enables developers to understand and apply state-of-the-art face AI methods locally on their devices without requiring cloud services. The tutorial provides practical, hands-on experience with real code examples. ## Key Features * **Interactive Learning** — Step-by-step guidance through face recognition concepts with visual demonstrations. * **Local AI Processing** — Apply advanced face AI entirely on your own machine, ensuring privacy and eliminating cloud dependencies. * **Hands-on Code Examples** — Follow along with practical code samples to understand implementation details. * **Custom Image Support** — Use your own images or start immediately with provided sample images. * **Parameter Experimentation** — Adjust parameters interactively to see how they affect recognition results. * **Production Application** — Learn techniques that can be directly applied to real-world applications. ## Philosophy The project emphasizes accessible, practical education in AI by enabling developers to work with cutting-edge face recognition technology locally and freely, without requiring prior expertise.

Stars33
Forks8
Last commit23 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub