OpenAI-DotNet 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package OpenAI-DotNet --version 2.0.0
NuGet\Install-Package OpenAI-DotNet -Version 2.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OpenAI-DotNet" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenAI-DotNet --version 2.0.0
#r "nuget: OpenAI-DotNet, 2.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OpenAI-DotNet as a Cake Addin
#addin nuget:?package=OpenAI-DotNet&version=2.0.0

// Install OpenAI-DotNet as a Cake Tool
#tool nuget:?package=OpenAI-DotNet&version=2.0.0

A simple C# / .NET wrapper library to use with OpenAI's GPT-3 API (currently in beta).  Independently developed, this is not an official library and I am not affiliated with OpenAI.  An OpenAI API account is required.

   Based on OpenAI-API by OKGoDoIt (Roger Pincombe)

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on OpenAI-DotNet:

Package Downloads
OpenAI-DotNet-Proxy

A simple Proxy API gateway for OpenAI-DotNet to make authenticated requests from a front end application without exposing your API keys.

WK.OpenAiWrapper

Package Description

GptInvoke

GptInvoke is a NuGet package that simplifies the integration of ChatGPT with your own service invocation. This allows you to easily combine AI with custom service execution, such as calling a webhook or performing an action in your application.

ModelMindAI

Library for building and running Model Mind AI Flows.

AICore.Core

Package Description

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on OpenAI-DotNet:

Repository Stars
dkgv/pinpoint
Keystroke launcher and personal command central. Alternative to Spotlight and Alfred for Windows. Alternative to Wox, PowerToys.
SlimeNull/OpenGptChat
An OpenAI Chat completion Client. Support for the six major universal languages in the world and some other languages. Support for dark mode.
Version Downloads Last updated
7.7.8 3,649 5/4/2024
7.7.7 8,577 4/21/2024
7.7.6 6,999 3/19/2024
7.7.5 6,732 3/3/2024
7.7.4 1,390 2/29/2024
7.7.3 843 2/27/2024
7.7.2 969 2/27/2024
7.7.1 757 2/25/2024
7.7.0 1,907 2/22/2024
7.6.5 4,161 2/6/2024
7.6.4 1,901 1/29/2024
7.6.3 555 1/26/2024
7.6.2 6,209 1/14/2024
7.6.1 2,508 1/6/2024
7.6.0 2,405 1/2/2024
7.5.0 2,536 12/22/2023
7.4.4 9,729 12/10/2023
7.4.3 1,047 12/7/2023
7.4.2 814 12/7/2023
7.4.1 4,545 12/3/2023
7.4.0 1,168 11/30/2023
7.3.8 587 11/29/2023
7.3.7 749 11/28/2023
7.3.6 422 11/28/2023
7.3.5 652 11/27/2023
7.3.4 3,906 11/24/2023
7.3.3 1,114 11/23/2023
7.3.2 826 11/22/2023
7.3.1 3,717 11/21/2023
7.3.0 438 11/21/2023
7.2.3 4,085 11/12/2023
7.2.2 1,647 11/10/2023
7.2.1 456 11/9/2023
7.2.0 3,639 11/9/2023
7.1.0 654 11/7/2023
7.0.10 4,732 10/7/2023
7.0.9 11,335 8/27/2023
7.0.8 2,378 8/25/2023
7.0.5 5,426 8/10/2023
7.0.4 4,395 7/27/2023
7.0.3 10,205 6/21/2023
7.0.2 899 6/19/2023
7.0.1 1,914 6/17/2023
7.0.0 838 6/17/2023
6.8.7 7,951 5/21/2023
6.8.6 647 5/19/2023
6.8.5 634 5/19/2023
6.8.3 1,346 5/16/2023
6.8.2 707 5/15/2023
6.8.1 2,680 5/7/2023
6.8.0 3,910 4/30/2023
6.7.4 1,051 4/27/2023
6.7.3 1,171 4/26/2023
6.7.2 1,276 4/23/2023
6.7.1 6,912 4/13/2023
6.7.0 1,900 4/10/2023
6.6.0 41,961 4/4/2023
6.5.3 2,526 3/29/2023
6.5.2 770 3/29/2023
6.5.1 1,277 3/27/2023
6.5.0 2,485 3/26/2023
6.4.3 681 3/26/2023
6.4.2 1,144 3/26/2023
6.4.1 2,572 3/24/2023
6.4.0 828 3/23/2023
6.3.2 1,872 3/22/2023
6.3.1 5,712 3/17/2023
6.3.0 1,635 3/17/2023
6.2.0 739 3/16/2023
6.1.0 3,064 3/14/2023
6.0.1 1,760 3/12/2023
6.0.0 795 3/11/2023
5.1.2 756 3/10/2023
5.1.1 775 3/9/2023
5.1.0 1,099 3/8/2023
5.0.2 1,589 3/6/2023
5.0.1 1,318 3/2/2023
5.0.0 931 3/2/2023
4.4.4 2,361 2/18/2023
4.4.3 1,800 2/10/2023
4.4.2 1,275 2/7/2023
4.4.1 937 2/4/2023
4.4.0 718 2/4/2023
4.3.0 962 1/31/2023
4.2.0 908 1/28/2023
4.1.0 819 1/27/2023
4.0.2 1,158 1/20/2023
4.0.1 991 1/17/2023
4.0.0 2,278 1/9/2023
3.0.1 8,196 4/14/2022
3.0.0 2,231 6/20/2021
2.0.1 920 5/29/2021
2.0.0 945 5/29/2021
1.0.1 930 5/2/2021
1.0.0 1,058 5/1/2021

fixed deserialization of generic completion requests