ErikR87.AI.GPTClient 1.0.0

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

// Install ErikR87.AI.GPTClient as a Cake Tool
#tool nuget:?package=ErikR87.AI.GPTClient&version=1.0.0                

GPTClient

Description

This project includes functions for processing and executing GPT models

GPT-Client

Simple client: var client = new GPT.GPTClient("insert-openai-key-here");

Custom behavior: var client = new GPT.GPTClient("key", "you are a smart assistant...")

Function Calling

Please have a look at SampleConsoleApp on Github: Visit the GPTClient GitHub repository

Embeddings

Use gptClient.GetEmbeddings("...") on your gptClient-instance to get vector-data.

GPTClientConfig

Use GPTClientConfig class for more configuration settings. Here you can set: chat-model, max-tokens, embedding-model and the endpoint urls.

var config = new GPTClientConfig {
  Key = "...",
  ChatModel = ChatModels.GPT_4_0613
}

var client = new GPT.GPTClient(config);
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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.

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
1.0.1 628 7/17/2023
1.0.0 601 7/10/2023