OpenAI-DotNet 1.0.1

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

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

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.

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.

WK.OpenAiWrapper

Package Description

AICore.Core

Package Description

ModelMindAI

Library for building and running Model Mind AI Flows.

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 45 5/4/2024
7.7.7 5,011 4/21/2024
7.7.6 5,769 3/19/2024
7.7.5 5,921 3/3/2024
7.7.4 1,329 2/29/2024
7.7.3 837 2/27/2024
7.7.2 951 2/27/2024
7.7.1 664 2/25/2024
7.7.0 1,583 2/22/2024
7.6.5 3,646 2/6/2024
7.6.4 1,846 1/29/2024
7.6.3 550 1/26/2024
7.6.2 5,674 1/14/2024
7.6.1 2,450 1/6/2024
7.6.0 2,135 1/2/2024
7.5.0 2,346 12/22/2023
7.4.4 9,100 12/10/2023
7.4.3 1,044 12/7/2023
7.4.2 807 12/7/2023
7.4.1 4,202 12/3/2023
7.4.0 1,151 11/30/2023
7.3.8 586 11/29/2023
7.3.7 744 11/28/2023
7.3.6 420 11/28/2023
7.3.5 647 11/27/2023
7.3.4 3,639 11/24/2023
7.3.3 1,113 11/23/2023
7.3.2 826 11/22/2023
7.3.1 3,408 11/21/2023
7.3.0 438 11/21/2023
7.2.3 3,881 11/12/2023
7.2.2 1,611 11/10/2023
7.2.1 456 11/9/2023
7.2.0 3,603 11/9/2023
7.1.0 650 11/7/2023
7.0.10 4,537 10/7/2023
7.0.9 11,191 8/27/2023
7.0.8 2,378 8/25/2023
7.0.5 5,398 8/10/2023
7.0.4 4,276 7/27/2023
7.0.3 10,131 6/21/2023
7.0.2 897 6/19/2023
7.0.1 1,913 6/17/2023
7.0.0 837 6/17/2023
6.8.7 7,850 5/21/2023
6.8.6 647 5/19/2023
6.8.5 633 5/19/2023
6.8.3 1,339 5/16/2023
6.8.2 707 5/15/2023
6.8.1 2,678 5/7/2023
6.8.0 3,870 4/30/2023
6.7.4 1,050 4/27/2023
6.7.3 1,170 4/26/2023
6.7.2 1,276 4/23/2023
6.7.1 6,796 4/13/2023
6.7.0 1,893 4/10/2023
6.6.0 40,917 4/4/2023
6.5.3 2,522 3/29/2023
6.5.2 768 3/29/2023
6.5.1 1,276 3/27/2023
6.5.0 2,483 3/26/2023
6.4.3 680 3/26/2023
6.4.2 1,143 3/26/2023
6.4.1 2,560 3/24/2023
6.4.0 827 3/23/2023
6.3.2 1,776 3/22/2023
6.3.1 5,710 3/17/2023
6.3.0 1,635 3/17/2023
6.2.0 737 3/16/2023
6.1.0 3,026 3/14/2023
6.0.1 1,759 3/12/2023
6.0.0 792 3/11/2023
5.1.2 753 3/10/2023
5.1.1 775 3/9/2023
5.1.0 1,098 3/8/2023
5.0.2 1,588 3/6/2023
5.0.1 1,317 3/2/2023
5.0.0 930 3/2/2023
4.4.4 2,358 2/18/2023
4.4.3 1,797 2/10/2023
4.4.2 1,275 2/7/2023
4.4.1 935 2/4/2023
4.4.0 718 2/4/2023
4.3.0 959 1/31/2023
4.2.0 905 1/28/2023
4.1.0 816 1/27/2023
4.0.2 1,155 1/20/2023
4.0.1 991 1/17/2023
4.0.0 2,276 1/9/2023
3.0.1 8,194 4/14/2022
3.0.0 2,217 6/20/2021
2.0.1 919 5/29/2021
2.0.0 945 5/29/2021
1.0.1 929 5/2/2021
1.0.0 1,052 5/1/2021

fixed deserialization of generic completion requests