magic.lambda.openai
17.2.0
dotnet add package magic.lambda.openai --version 17.2.0
NuGet\Install-Package magic.lambda.openai -Version 17.2.0
<PackageReference Include="magic.lambda.openai" Version="17.2.0" />
paket add magic.lambda.openai --version 17.2.0
#r "nuget: magic.lambda.openai, 17.2.0"
// Install magic.lambda.openai as a Cake Addin #addin nuget:?package=magic.lambda.openai&version=17.2.0 // Install magic.lambda.openai as a Cake Tool #tool nuget:?package=magic.lambda.openai&version=17.2.0
magic.lambda.openai - OpenAI related slots for Hyperlambda
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.
Magic's GitHub project page
Magic is 100% Open Source and you can find the primary project GitHub page 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.
Copyright and maintenance
The projects is copyright Thomas Hansen 2023 - 2024, and professionally maintained by AINIRO.IO.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- magic.node.extensions (>= 17.2.0)
- magic.signals.contracts (>= 17.2.0)
- Microsoft.AspNetCore.Mvc.NewtonsoftJson (>= 8.0.0)
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 |