BpeChatAI 1.0.3

Suggested Alternatives

BpeChatAI 1.0.5

Additional Details

Heavy refactoring of the internal types. Breaking changes from previous versions. This deprecates the prior versions for that reason.

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

// Install BpeChatAI as a Cake Tool
#tool nuget:?package=BpeChatAI&version=1.0.3

BpeChatAI

NuGet Last Commit GitHub Issues Used by Contributors License

BpeChatAI implements the POCO objects needed to call OpenAI's GPT API. With its chat Manager, it tracks token counts, handling the API calls for you, and cost-tracking.

Features both streaming and non-streaming API calls to OpenAI's GPT Chat Completion API.

BpeChatAI is uses BpeTokenizer, an adaptation of OpenAI's tiktoken, for token counting.

This library is built for x64 architectures.

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.6 166 7/21/2023
1.0.5 143 7/21/2023
1.0.3 158 7/15/2023
1.0.2 163 7/14/2023

Corrected some documentation comments. Refactored the name `OpenAIModels` into `OpenAIModelList`. Moved `OpenAIModelInfoEx` to the namespace level vs being nested within another type. Added `Exception` to a few response types for cases where the state is exceptional vs just an error message from the API. Added tags. Specified MIT license on package.