OpenAI-DotNet 4.0.2

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

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

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.

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

Universal.Tools.Core.Definitions.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
7.7.7 146 4/21/2024
7.7.6 1,845 3/19/2024
7.7.5 4,342 3/3/2024
7.7.4 1,104 2/29/2024
7.7.3 756 2/27/2024
7.7.2 615 2/27/2024
7.7.1 522 2/25/2024
7.7.0 912 2/22/2024
7.6.5 3,055 2/6/2024
7.6.4 1,659 1/29/2024
7.6.3 510 1/26/2024
7.6.2 4,591 1/14/2024
7.6.1 2,244 1/6/2024
7.6.0 1,663 1/2/2024
7.5.0 2,108 12/22/2023
7.4.4 7,992 12/10/2023
7.4.3 1,001 12/7/2023
7.4.2 764 12/7/2023
7.4.1 3,643 12/3/2023
7.4.0 1,065 11/30/2023
7.3.8 556 11/29/2023
7.3.7 714 11/28/2023
7.3.6 386 11/28/2023
7.3.5 616 11/27/2023
7.3.4 3,444 11/24/2023
7.3.3 1,032 11/23/2023
7.3.2 784 11/22/2023
7.3.1 2,930 11/21/2023
7.3.0 413 11/21/2023
7.2.3 3,603 11/12/2023
7.2.2 1,408 11/10/2023
7.2.1 428 11/9/2023
7.2.0 2,993 11/9/2023
7.1.0 614 11/7/2023
7.0.10 4,317 10/7/2023
7.0.9 10,674 8/27/2023
7.0.8 2,166 8/25/2023
7.0.5 5,266 8/10/2023
7.0.4 3,897 7/27/2023
7.0.3 9,799 6/21/2023
7.0.2 866 6/19/2023
7.0.1 1,885 6/17/2023
7.0.0 798 6/17/2023
6.8.7 7,523 5/21/2023
6.8.6 617 5/19/2023
6.8.5 601 5/19/2023
6.8.3 1,279 5/16/2023
6.8.2 673 5/15/2023
6.8.1 2,640 5/7/2023
6.8.0 3,787 4/30/2023
6.7.4 1,013 4/27/2023
6.7.3 1,143 4/26/2023
6.7.2 1,244 4/23/2023
6.7.1 6,399 4/13/2023
6.7.0 1,858 4/10/2023
6.6.0 37,912 4/4/2023
6.5.3 2,490 3/29/2023
6.5.2 747 3/29/2023
6.5.1 1,243 3/27/2023
6.5.0 2,450 3/26/2023
6.4.3 652 3/26/2023
6.4.2 1,107 3/26/2023
6.4.1 2,508 3/24/2023
6.4.0 798 3/23/2023
6.3.2 1,605 3/22/2023
6.3.1 5,668 3/17/2023
6.3.0 1,613 3/17/2023
6.2.0 707 3/16/2023
6.1.0 2,972 3/14/2023
6.0.1 1,730 3/12/2023
6.0.0 765 3/11/2023
5.1.2 722 3/10/2023
5.1.1 749 3/9/2023
5.1.0 1,059 3/8/2023
5.0.2 1,555 3/6/2023
5.0.1 1,291 3/2/2023
5.0.0 896 3/2/2023
4.4.4 2,330 2/18/2023
4.4.3 1,764 2/10/2023
4.4.2 1,243 2/7/2023
4.4.1 905 2/4/2023
4.4.0 688 2/4/2023
4.3.0 931 1/31/2023
4.2.0 877 1/28/2023
4.1.0 790 1/27/2023
4.0.2 1,121 1/20/2023
4.0.1 957 1/17/2023
4.0.0 2,240 1/9/2023
3.0.1 8,164 4/14/2022
3.0.0 2,176 6/20/2021
2.0.1 896 5/29/2021
2.0.0 914 5/29/2021
1.0.1 902 5/2/2021
1.0.0 1,012 5/1/2021

Bump version to 4.0.2
Added ability to specify organization in authentication setup
Added additional unit tests