magic.lambda.openai - OpenAI related slots for Hyperlambda

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

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

openai.tokenize:This is some query


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, and you can provide feedback, provide bug reports, etc at the same place.

The projects is copyright of Aista, Ltd 2021 - 2023, and professionally maintained by AINIRO your friendly ChatGPT website chatbot vendor.