Standard.AI.OpenAI  by hassanhabib

.NET SDK for OpenAI API

created 2 years ago
258 stars

Top 98.6% on sourcepulse

GitHubView on GitHub
Project Summary

This .NET library provides a standard-compliant interface for interacting with OpenAI's API, targeting C# developers building AI-powered applications. It aims to offer an ethical and privacy-focused approach to AI integration, simplifying common tasks like text completion, chat completion, and fine-tuning models.

How It Works

The library acts as a wrapper around OpenAI's RESTful API endpoints. It abstracts the complexities of direct HTTP requests, providing strongly-typed C# models for requests and responses. This approach promotes maintainability and developer productivity by adhering to established engineering principles and patterns, facilitating easier integration into existing .NET ecosystems.

Quick Start & Requirements

  • Install: dotnet add package Standard.AI.OpenAI
  • Prerequisites: OpenAI account and API key.
  • Example Usage: Provided for Completions, Chat Completions, and Fine-Tunes.
  • Documentation: Nuget Link

Highlighted Details

  • Implements standard-compliant C# coding practices.
  • Supports OpenAI's Completions, Chat Completions, and Fine-Tunes APIs.
  • Includes detailed examples for common use cases.
  • Defines specific exceptions for validation, dependency, and service errors.

Maintenance & Community

This is a community effort, not officially maintained by OpenAI. Contributions are guided by "The Standard" and "The Team Standard." Live sessions for development are broadcast on YouTube, LinkedIn, Twitch, Twitter, and Facebook. A Discord server is available for community support.

Licensing & Compatibility

The README does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The library is a community-driven project and is not officially affiliated with or endorsed by OpenAI. The specific license is not mentioned, which may impact commercial adoption.

Health Check
Last commit

1 year ago

Responsiveness

1 week

Pull Requests (30d)
0
Issues (30d)
0
Star History
3 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.