OpenAI-DotNet 4.0.1

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

// Install OpenAI-DotNet as a Cake Tool
#tool nuget:?package=OpenAI-DotNet&version=4.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 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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 (11)

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

NewLeadAI

A client to interact with NewLead AI API

Universal.Tools.Core.Requests.Extensions.OpenAI

Package Description

Universal.Tools.Core.Definitions.Extensions.OpenAI

Package Description

GitHub repositories (4)

Showing the top 4 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.
BoiHanny/vrcosc-magicchatbox
The ultimate companion, whether you're on desktop or in VR, we've got you covered with our handy integrations in a compact and modern UI
SlimeNull/OpenGptChat
An OpenAI Chat completion Client. 一个 OpenAI 聊天 Completion 客户端.
LiamMorrow/LiftLog
A cross platform app for tracking your lifts in the gym
Version Downloads Last updated
8.5.4 2,905 1/31/2025
8.5.3 334 1/28/2025
8.5.1 234 1/26/2025 8.5.1 is deprecated because it has critical bugs.
8.5.0 4,884 1/25/2025
8.4.2 1,171 1/15/2025
8.4.1 27,704 11/15/2024
8.4.0 464 11/15/2024
8.3.0 44,743 9/19/2024
8.2.5 11,239 9/14/2024
8.2.4 732 9/14/2024
8.2.2 17,167 8/19/2024
8.2.1 405 8/19/2024
8.2.0 618 8/18/2024
8.1.2 11,171 8/9/2024
8.1.1 41,969 6/30/2024
8.1.0 11,673 6/21/2024
8.0.3 1,386 6/16/2024
8.0.2 2,753 6/15/2024
8.0.1 20,479 6/10/2024
8.0.0 314 6/10/2024
7.7.8 51,555 5/4/2024
7.7.7 16,513 4/21/2024
7.7.6 17,226 3/19/2024
7.7.5 16,405 3/3/2024
7.7.4 1,829 2/29/2024
7.7.3 904 2/27/2024
7.7.2 1,348 2/27/2024
7.7.1 2,562 2/25/2024
7.7.0 3,540 2/22/2024
7.6.5 10,510 2/6/2024
7.6.4 2,338 1/29/2024
7.6.3 649 1/26/2024
7.6.2 11,031 1/14/2024
7.6.1 3,574 1/6/2024
7.6.0 8,978 1/2/2024
7.5.0 4,104 12/22/2023
7.4.4 16,581 12/10/2023
7.4.3 1,214 12/7/2023
7.4.2 1,399 12/7/2023
7.4.1 4,728 12/3/2023
7.4.0 2,494 11/30/2023
7.3.8 643 11/29/2023
7.3.7 876 11/28/2023
7.3.6 466 11/28/2023 7.3.6 is deprecated because it has critical bugs.
7.3.5 739 11/27/2023
7.3.4 5,049 11/24/2023
7.3.3 1,180 11/23/2023
7.3.2 891 11/22/2023
7.3.1 5,215 11/21/2023
7.3.0 475 11/21/2023
7.2.3 5,395 11/12/2023
7.2.2 4,214 11/10/2023
7.2.1 514 11/9/2023
7.2.0 3,696 11/9/2023
7.1.0 847 11/7/2023
7.0.10 9,482 10/7/2023
7.0.9 14,256 8/27/2023
7.0.8 2,410 8/25/2023
7.0.5 5,797 8/10/2023
7.0.4 5,831 7/27/2023
7.0.3 11,394 6/21/2023
7.0.2 947 6/19/2023
7.0.1 1,973 6/17/2023
7.0.0 921 6/17/2023
6.8.7 10,041 5/21/2023
6.8.6 685 5/19/2023
6.8.5 668 5/19/2023
6.8.3 1,480 5/16/2023
6.8.2 768 5/15/2023 6.8.2 is deprecated because it has critical bugs.
6.8.1 2,730 5/7/2023
6.8.0 4,757 4/30/2023
6.7.4 1,110 4/27/2023
6.7.3 1,207 4/26/2023
6.7.2 1,367 4/23/2023
6.7.1 9,670 4/13/2023
6.7.0 1,983 4/10/2023
6.6.0 70,852 4/4/2023
6.5.3 2,719 3/29/2023
6.5.2 809 3/29/2023
6.5.1 1,358 3/27/2023
6.5.0 2,595 3/26/2023
6.4.3 722 3/26/2023
6.4.2 1,245 3/26/2023
6.4.1 2,891 3/24/2023
6.4.0 888 3/23/2023
6.3.2 2,944 3/22/2023
6.3.1 5,801 3/17/2023
6.3.0 1,684 3/17/2023
6.2.0 783 3/16/2023 6.2.0 is deprecated because it has critical bugs.
6.1.0 3,343 3/14/2023
6.0.1 1,806 3/12/2023
6.0.0 1,151 3/11/2023
5.1.2 787 3/10/2023
5.1.1 806 3/9/2023
5.1.0 1,139 3/8/2023
5.0.2 1,624 3/6/2023
5.0.1 1,354 3/2/2023
5.0.0 989 3/2/2023
4.4.4 2,438 2/18/2023
4.4.3 1,857 2/10/2023
4.4.2 1,327 2/7/2023
4.4.1 984 2/4/2023
4.4.0 756 2/4/2023
4.3.0 994 1/31/2023
4.2.0 954 1/28/2023
4.1.0 861 1/27/2023
4.0.2 1,209 1/20/2023
4.0.1 1,053 1/17/2023
4.0.0 2,359 1/9/2023
3.0.1 8,507 4/14/2022
3.0.0 2,528 6/20/2021
2.0.1 966 5/29/2021
2.0.0 1,071 5/29/2021
1.0.1 980 5/2/2021
1.0.0 1,193 5/1/2021

Bump version to 4.0.1
Fixed Moderation default model
Added Moderation Tests