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.
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 of Aista, Ltd 2021 - 2023, and professionally maintained by AINIRO your friendly ChatGPT website chatbot vendor.