nlux is JavaScript and React library for building conversational AI interfaces, with support for OpenAI, Hugging Face, and more.
nlux React is a library for building conversational AI interfaces, with support for OpenAI, HuggingFace, and more.
Count the number of OpenAI tokens in a string. Supports all OpenAI Text models including GPT-5, GPT-4, GPT-3.5-turbo, and specialized models