ErikR87.AI.GPTClient
1.0.0
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
<PackageReference Include="ErikR87.AI.GPTClient" Version="1.0.0" />
paket add ErikR87.AI.GPTClient --version 1.0.0
#r "nuget: ErikR87.AI.GPTClient, 1.0.0"
// 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 | Versions 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. |
-
net7.0
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.