hmarr / openai-chat-tokensLinks
π¬ Estimate the number of tokens an OpenAI chat completion will use
β90Updated 10 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
Sorting:
- Fully typed & consistent chat APIs for OpenAI, Anthropic, Groq, and Azure's chat models for browser, edge, and node environments.β170Updated last year
- JavaScript implementation of LiteLLM.β125Updated 2 months ago
- OpenAI's tiktoken but with node bindingsβ104Updated last year
- β151Updated 4 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β¦β128Updated last year
- A test suite comparing Node.js BPE tokenizers for use with AI models.β31Updated last year
- β198Updated last year
- Calculate the token consumption and amount of openai gpt messageβ115Updated 3 months ago
- Example of running LangChain on Vercelβ166Updated 2 years ago
- LLM tools used in production at Dexaβ99Updated 4 months ago
- Promptrix is a prompt layout engine for Large Language Models.β79Updated 6 months ago
- Minimal and opinionated OpenAI client powered by fetch.β190Updated 4 months ago
- β145Updated last year
- Isomorphic JavaScript/TypeScript Tokenizer for GPT-3 and Codex Models by OpenAI.β171Updated 2 years ago
- A simple and declarative way to control LLMsβ217Updated last year
- Tools for working with OpenAI streams in Node.js and TypeScript.β290Updated last year
- Pinecone.io client with excellent TypeScript support.β117Updated last year
- LLM-ready data connectorsβ81Updated last year
- Vector Storage is a vector database that enables semantic similarity searches on text documents in the browser's local storage. It uses Oβ¦β226Updated 5 months ago
- Record and stream WAV audio data in the browser across all platformsβ81Updated 6 months ago
- The Typescript-first prompt engineering toolkit for working with chat based LLMs.β109Updated last year
- β¦ The intuitive LLM frameworkβ110Updated 4 months ago
- β73Updated last year
- β¨ TypeAI: An AI Engineering Framework for TypeScriptβ157Updated last year
- TypeScript generator for llama.cpp Grammar directly from TypeScript interfacesβ137Updated 10 months ago
- β113Updated 11 months ago
- Collection of ChatGPT pluginsβ103Updated 2 years ago
- Wove is a tool for building long-running workflows with LLMs.β110Updated 2 years ago
- Natural Language Interfaces Powered by LLMsβ89Updated 10 months ago
- The fastest JavaScript BPE Tokenizer Encoder Decoder for OpenAI's GPT-2 / GPT-3 / GPT-4 / GPT-4o / GPT-o1. Port of OpenAI's tiktoken withβ¦β572Updated 2 months ago