magic.lambda.openai 15.7.0

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

// Install magic.lambda.openai as a Cake Tool
#tool nuget:?package=magic.lambda.openai&version=15.7.0                

This project provides OpenAI related slots for Magic. More specifically, it provides the following slots.

  • [openai.tokenize] - Returns how many tokens the specified text will consume from OpenAI

The above slot will calculate how many tokens the specified input requires from the OpenAI endpoints.

openai.tokenize:This is some query

Credits

Thx to Devis Lucato for publishing the original work under CC0 here.

Project website for magic.lambda.openai

The source code for this repository can be found at github.com/polterguy/magic.lambda.openai, and you can provide feedback, provide bug reports, etc at the same place.

  • Build status
  • Quality Gate Status
  • Bugs
  • Code Smells
  • Coverage
  • Duplicated Lines (%)
  • Lines of Code
  • Maintainability Rating
  • Reliability Rating
  • Security Rating
  • Technical Debt
  • Vulnerabilities
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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  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 (1)

Showing the top 1 NuGet packages that depend on magic.lambda.openai:

Package Downloads
magic.library

Helper project for Magic to wire up everything easily by simply adding one package, and invoking two simple methods. When using Magic, this is (probably) the only package you should actually add, since this package pulls in everything else you'll need automatically, and wires up everything sanely by default. To use package go to https://polterguy.github.io

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
17.2.0 437 1/22/2024
17.1.7 196 1/12/2024
17.1.6 161 1/11/2024
17.1.5 168 1/5/2024
17.0.1 229 1/1/2024
17.0.0 346 12/14/2023
16.11.5 350 11/12/2023
16.9.0 322 10/9/2023
16.7.0 575 7/11/2023
16.4.1 382 7/2/2023
16.4.0 364 6/22/2023
16.3.1 311 6/7/2023
16.3.0 308 5/28/2023
16.1.9 601 4/30/2023
15.10.11 450 4/13/2023
15.9.1 569 3/27/2023
15.9.0 429 3/24/2023
15.8.2 473 3/20/2023
15.7.0 343 3/6/2023
15.5.0 695 2/23/2023