hmarr / openai-chat-tokens
π¬ Estimate the number of tokens an OpenAI chat completion will use
β90Updated 9 months ago
Alternatives and similar repositories for openai-chat-tokens:
Users that are interested in openai-chat-tokens are comparing it to the libraries listed below
- Fully typed & consistent chat APIs for OpenAI, Anthropic, Groq, and Azure's chat models for browser, edge, and node environments.β170Updated 10 months ago
- β147Updated 2 months ago
- JavaScript implementation of LiteLLM.β121Updated last month
- π€ A minimal viable logger for Prompt/LLM Engineering. Use your IDE as Logging UI - a fast, simple, extensible, zero dependency Node.js lβ¦β128Updated last year
- LLM tools used in production at Dexaβ97Updated 3 months ago
- Turn a stream of token into a parsable JSON object as soon as possible. Enable Streaming UI for AI app based on LLM.β106Updated 10 months ago
- Promptrix is a prompt layout engine for Large Language Models.β78Updated 4 months ago
- A client side vector search library that can embed, store, search, and cache vectors. Works on the browser and node. It outperforms OpenAβ¦β197Updated 10 months ago
- Framework to evaluate LLM generated ReactJS code.β54Updated last year
- TypeScript library to access python functions in NodeJS, type-safe and easy to use.β69Updated last year
- OpenAI's tiktoken but with node bindingsβ104Updated 11 months ago
- hnswlib-node provides Node.js bindings for Hnswlibβ109Updated this week
- β70Updated last year
- LLM-ready data connectorsβ75Updated 10 months ago
- OpenAI Function Calling in Typescript using Zodβ89Updated last year
- Node.js SDK for Browserbaseβ43Updated last week
- Build robust, production grade function calling assistants that work. Declarative and extensible. Built on top of LangChain β‘οΈβ77Updated 11 months ago
- πΈ The open framework for question answering fine-tuning LLMs on private dataβ69Updated last year
- A Markdown-like syntax for writing prompts. Includes an in-editor playground.β113Updated last year
- Record and stream WAV audio data in the browser across all platformsβ80Updated 5 months ago
- TypeScript generator for llama.cpp Grammar directly from TypeScript interfacesβ135Updated 9 months ago
- OpenAI's Realtime API minus the enterprise bloatβ45Updated 5 months ago
- A simple and declarative way to control LLMsβ217Updated last year
- β103Updated last year
- Pinecone.io client with excellent TypeScript support.β117Updated last year
- Zep - Long-Term Memory for βAI Assistants (TypeScript Client)β38Updated last week
- Minimal and opinionated OpenAI client powered by fetch.β188Updated 3 months ago
- β¨ TypeAI: An AI Engineering Framework for TypeScriptβ157Updated last year
- A simple library to send, receive and verify structured data (JSON) to OpenAI and other LLMs.β39Updated 2 years ago
- A feed of trending repos/models from GitHub, Replicate, HuggingFace, and Reddit.β126Updated 7 months ago