Cainier / gpt-tokensLinks
Calculate the token consumption and amount of openai gpt message
☆115Updated 5 months ago
Alternatives and similar repositories for gpt-tokens
Users that are interested in gpt-tokens are comparing it to the libraries listed below
Sorting:
- OpenAI's tiktoken but with node bindings☆105Updated last year
- Isomorphic JavaScript/TypeScript Tokenizer for GPT-3 and Codex Models by OpenAI.☆171Updated 2 years ago
- 🛠 openai function calling tools for JS/TS☆298Updated last year
- The fastest JavaScript BPE Tokenizer Encoder Decoder for OpenAI's GPT models (o1, o3, o4, gpt-4o, gpt-4, etc.). Port of OpenAI's tiktoken…☆583Updated last month
- Parse incomplete json text in best-effort manner☆232Updated 4 months ago
- ☆252Updated 2 months ago
- Tools for working with OpenAI streams in Node.js and TypeScript.☆292Updated last year
- JavaScript implementation of LiteLLM.☆129Updated 3 months ago
- Minimal and opinionated OpenAI client powered by fetch.☆191Updated 6 months ago
- Everything you need to start building ChatGPT Plugins in JS/TS 🔥☆543Updated 2 years ago
- Turn a stream of token into a parsable JSON object as soon as possible. Enable Streaming UI for AI app based on LLM.☆119Updated last year
- Node.js bindings for faiss☆133Updated last year
- Node.js bindings for OpenAI's Whisper. (C++ CPU version by ggerganov)☆280Updated 11 months ago
- Streaming, source-agnostic EventSource/Server-Sent Events parser☆390Updated 2 weeks ago
- Fully typed & consistent chat APIs for OpenAI, Anthropic, Groq, and Azure's chat models for browser, edge, and node environments.☆170Updated 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…☆227Updated 7 months ago
- Yet another library to extract text from MS Office and PDF files☆79Updated 11 months ago
- JS port and JS/WASM bindings for openai/tiktoken☆895Updated 2 months ago
- pgvector support for Node.js, Deno, and Bun (and TypeScript)☆392Updated last month
- ☆72Updated last year
- A client side vector search library that can embed, store, search, and cache vectors. Works on the browser and node. It outperforms OpenA…☆211Updated last year
- Complete unfinished JSON streamed in by LLMs (Like OpenAI's GPT)☆56Updated last year
- Hooks and components for working with OpenAI streams.☆241Updated 2 years ago
- ☆152Updated 3 weeks ago
- 💬 Estimate the number of tokens an OpenAI chat completion will use☆90Updated 11 months ago
- A test suite comparing Node.js BPE tokenizers for use with AI models.☆31Updated last year
- The Official Exa Javascript SDK☆82Updated this week
- Node.js SDK for Browserbase☆54Updated this week
- ☆291Updated 2 months ago
- Automate your i18n localization with AI☆158Updated 10 months ago