OpenAI C# / .NET library, using GPT-4, 3.5 and 3, DALL-E 3, DALL-E 2, Whisper, etc. It supports OpenAI and Azure-OpenAI APIs, dependency injections. Developed for public and free usage.
$ dotnet add package Forge.OpenAI.ErrorOr.UnsignedForge.OpenAI library extension with ErrorOr. This library was developed for public usage and it is free to use. Supported .NET versions:
x >= v4.6.1,
x >= Netstandard 2.0,
x >= dotNetCore 3.1,
.NET 6.0,
.NET 7.0
.NET 8.0
.NET 9.0
Works with Blazor WebAssembly and Blazor Server.
To install the package add the following line to you csproj file replacing x.x.x with the latest version number:
<PackageReference Include="Forge.OpenAI.ErrorOr" Version="x.x.x" />
You can also install via the .NET CLI with the following command:
dotnet add package Forge.OpenAI.ErrorOr
If you're using Visual Studio you can also install via the built in NuGet package manager.