Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 361 Bytes

File metadata and controls

14 lines (11 loc) · 361 Bytes

OpenAIDotnet

An unofficial .NET wrapper for the OpenAI API.

Getting started

Installing

This package is published to NuGet under the name OpenAIDotnet. This is probably the easiest way to get going.

Creating a client

Creating a new client instance can be done like so:

var apiKey = "sk-1234567etc";
var client = new OpenAIClient(apiKey);