hmarr / openai-chat-tokensLinks
π¬ Estimate the number of tokens an OpenAI chat completion will use
β91Updated 2 weeks 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
Sorting:
- Fully typed & consistent chat APIs for OpenAI, Anthropic, Groq, and Azure's chat models for browser, edge, and node environments.β169Updated last year
- β155Updated 5 months ago
- JavaScript implementation of LiteLLM.β142Updated 8 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.β120Updated last year
- β87Updated last year
- Minimal and opinionated OpenAI client powered by fetch.β194Updated 10 months ago
- Calculate the token consumption and amount of openai gpt messageβ115Updated 9 months ago
- A Markdown-like syntax for writing prompts. Includes an in-editor playground.β128Updated 2 years ago
- β¨ TypeAI: An AI Engineering Framework for TypeScriptβ164Updated 2 years ago
- OpenAI's tiktoken but with node bindingsβ106Updated last year
- LLM tools used in production at Dexaβ105Updated 10 months ago
- The Typescript-first prompt engineering toolkit for working with chat based LLMs.β111Updated 2 years ago
- LLM-ready data connectorsβ100Updated last year
- AI search for all the best resources in AI βΒ powered by Ben's Bites π―β114Updated last year
- Promptrix is a prompt layout engine for Large Language Models.β81Updated last year
- Pinecone.io client with excellent TypeScript support.β117Updated 2 years ago
- Vector Storage is a vector database that enables semantic similarity searches on text documents in the browser's local storage. It uses Oβ¦β240Updated 11 months ago
- A simple and declarative way to control LLMsβ217Updated 2 years ago
- β144Updated 2 years ago
- β105Updated this week
- Vectra is a local vector database for Node.js with features similar to pinecone but built using local files.β544Updated 6 months ago
- Record and stream WAV audio data in the browser across all platformsβ92Updated last year
- Create state-machine-powered LLM agents using XStateβ323Updated 6 months ago
- π€ A minimal viable logger for Prompt/LLM Engineering. Use your IDE as Logging UI - a fast, simple, extensible, zero dependency Node.js lβ¦β144Updated last year
- β¦ The intuitive LLM frameworkβ113Updated 10 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β¦β222Updated last year
- Get structured, fully typed, and validated JSON outputs from OpenAI and Anthropic models.β629Updated last year
- A linter with superpowers! π₯ Use LLMs to enforce best practices across your codebase.β283Updated last year
- Tools for working with OpenAI streams in Node.js and TypeScript.β293Updated 2 years ago
- β129Updated 2 years ago