Rystem.OpenAi 0.0.80

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

// Install Rystem.OpenAi as a Cake Tool
#tool nuget:?package=Rystem.OpenAi&version=0.0.80                

C#/.NET SDK for accessing the OpenAI GPT-3 API

A simple C# .NET wrapper library to use with OpenAI's GPT-3 API. More context on Roger Pincombe's blog and forked from OpenAI-API-dotnet.

This repository is available to transfer to the OpenAI organization if they so choose to accept it.

Requirements

This library targets .NET standard 2.0 and above.

Advertising

Watch out my Rystem framework to be able to do .Net webapp faster (easy integration with repository pattern or CQRS for your Azure services).

What is Rystem?

Setup

Install package Rystem.OpenAi from Nuget.
Here's how via command line:

Install-Package Rystem.OpenAi

Documentation

Table of Contents

Dependency Injection

Add to service collection the UI service in your DI

var apiKey = configuration["Azure:ApiKey"];
var resourceName = configuration["Azure:ResourceName"];
var deploymentId = configuration["Azure:DeploymentId"];
services.AddOpenAi(settings =>
{
    settings.ApiKey = apiKey;
});
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.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.3.12 2,058,674 4/2/2024
3.3.11 1,628,363 11/2/2023
3.3.10 3,113 10/18/2023
3.3.9 1,050 10/18/2023
3.3.8 408,954 10/17/2023
3.3.7 5,858 10/17/2023
3.3.6 3,952 10/17/2023
3.3.5 10,784 10/16/2023
3.3.4 215,563 9/28/2023
3.3.3 665,203 8/4/2023
3.3.2 104,004 7/27/2023
3.3.1 116,011 7/18/2023
3.3.0 389,359 6/19/2023
3.2.0 30,417 6/17/2023
3.1.0 152,542 6/4/2023
3.0.6 1,235 6/4/2023
3.0.5 1,328 6/4/2023
3.0.4 80,383 5/20/2023
3.0.3 62,436 5/10/2023
3.0.2 114,134 5/5/2023
3.0.1 61,499 5/1/2023
3.0.0 88,409 4/25/2023
2.1.0 43,368 4/22/2023
2.0.2 29,210 4/20/2023
2.0.1 29,830 4/18/2023
2.0.0 8,793 4/17/2023
1.0.9 57,089 4/9/2023
1.0.8 5,977 4/9/2023
1.0.7 6,925 4/7/2023
1.0.6 7,068 4/3/2023
1.0.5 1,348 4/2/2023
1.0.4 3,143 3/14/2023
1.0.3 1,333 3/14/2023
1.0.2 1,927 3/10/2023
1.0.1 1,288 3/10/2023
1.0.0 1,336 3/8/2023
0.0.86 1,265 3/8/2023
0.0.85 1,356 3/8/2023
0.0.84 1,361 3/8/2023
0.0.83 1,360 3/8/2023
0.0.82 1,390 3/8/2023
0.0.81 1,403 3/7/2023
0.0.80 1,377 3/6/2023