OpenAI-DotNet 4.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package OpenAI-DotNet --version 4.2.0
NuGet\Install-Package OpenAI-DotNet -Version 4.2.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="4.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenAI-DotNet --version 4.2.0
#r "nuget: OpenAI-DotNet, 4.2.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=4.2.0

// Install OpenAI-DotNet as a Cake Tool
#tool nuget:?package=OpenAI-DotNet&version=4.2.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 net6.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • 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

AICore.Core

Package Description

Universal.Tools.Core.Definitions.Extensions.OpenAI

Package Description

Universal.Tools.Core.Requests.Extensions.OpenAI

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
8.1.0 415 6/21/2024
8.0.3 493 6/16/2024
8.0.2 240 6/15/2024
8.0.1 1,521 6/10/2024
8.0.0 73 6/10/2024
7.7.8 23,918 5/4/2024
7.7.7 12,349 4/21/2024
7.7.6 9,182 3/19/2024
7.7.5 8,448 3/3/2024
7.7.4 1,514 2/29/2024
7.7.3 848 2/27/2024
7.7.2 1,123 2/27/2024
7.7.1 900 2/25/2024
7.7.0 2,654 2/22/2024
7.6.5 5,263 2/6/2024
7.6.4 2,048 1/29/2024
7.6.3 563 1/26/2024
7.6.2 7,393 1/14/2024
7.6.1 2,618 1/6/2024
7.6.0 2,799 1/2/2024
7.5.0 2,901 12/22/2023
7.4.4 11,209 12/10/2023
7.4.3 1,078 12/7/2023
7.4.2 917 12/7/2023
7.4.1 4,652 12/3/2023
7.4.0 1,643 11/30/2023
7.3.8 594 11/29/2023
7.3.7 771 11/28/2023
7.3.6 429 11/28/2023
7.3.5 689 11/27/2023
7.3.4 4,273 11/24/2023
7.3.3 1,128 11/23/2023
7.3.2 829 11/22/2023
7.3.1 4,308 11/21/2023
7.3.0 439 11/21/2023
7.2.3 4,360 11/12/2023
7.2.2 1,847 11/10/2023
7.2.1 457 11/9/2023
7.2.0 3,643 11/9/2023
7.1.0 675 11/7/2023
7.0.10 4,984 10/7/2023
7.0.9 11,835 8/27/2023
7.0.8 2,379 8/25/2023
7.0.5 5,491 8/10/2023
7.0.4 4,856 7/27/2023
7.0.3 10,503 6/21/2023
7.0.2 903 6/19/2023
7.0.1 1,922 6/17/2023
7.0.0 848 6/17/2023
6.8.7 8,234 5/21/2023
6.8.6 648 5/19/2023
6.8.5 635 5/19/2023
6.8.3 1,354 5/16/2023
6.8.2 708 5/15/2023
6.8.1 2,686 5/7/2023
6.8.0 3,993 4/30/2023
6.7.4 1,056 4/27/2023
6.7.3 1,178 4/26/2023
6.7.2 1,301 4/23/2023
6.7.1 7,582 4/13/2023
6.7.0 1,915 4/10/2023
6.6.0 46,812 4/4/2023
6.5.3 2,529 3/29/2023
6.5.2 772 3/29/2023
6.5.1 1,284 3/27/2023
6.5.0 2,488 3/26/2023
6.4.3 688 3/26/2023
6.4.2 1,158 3/26/2023
6.4.1 2,636 3/24/2023
6.4.0 830 3/23/2023
6.3.2 2,171 3/22/2023
6.3.1 5,729 3/17/2023
6.3.0 1,639 3/17/2023
6.2.0 740 3/16/2023
6.1.0 3,162 3/14/2023
6.0.1 1,766 3/12/2023
6.0.0 799 3/11/2023
5.1.2 757 3/10/2023
5.1.1 776 3/9/2023
5.1.0 1,105 3/8/2023
5.0.2 1,592 3/6/2023
5.0.1 1,319 3/2/2023
5.0.0 936 3/2/2023
4.4.4 2,368 2/18/2023
4.4.3 1,805 2/10/2023
4.4.2 1,278 2/7/2023
4.4.1 939 2/4/2023
4.4.0 719 2/4/2023
4.3.0 963 1/31/2023
4.2.0 909 1/28/2023
4.1.0 820 1/27/2023
4.0.2 1,167 1/20/2023
4.0.1 999 1/17/2023
4.0.0 2,283 1/9/2023
3.0.1 8,214 4/14/2022
3.0.0 2,276 6/20/2021
2.0.1 922 5/29/2021
2.0.0 954 5/29/2021
1.0.1 933 5/2/2021
1.0.0 1,077 5/1/2021

Bump version to 4.2.0
Added missing Completions namespace.
Alignment with com.openai.unity library.
Misc formatting and bug fixes.