Cainier / gpt-tokensLinks
Calculate the token consumption and amount of openai gpt message
☆115Updated 10 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☆106Updated last year
- Isomorphic JavaScript/TypeScript Tokenizer for GPT-3 and Codex Models by OpenAI.☆172Updated 2 years ago
- JavaScript implementation of LiteLLM.☆143Updated 8 months ago
- The fastest JavaScript BPE Tokenizer Encoder Decoder for OpenAI's GPT models (gpt-5, gpt-o*, gpt-4o, etc.). Port of OpenAI's tiktoken wit…☆705Updated last month
- Minimal and opinionated OpenAI client powered by fetch.☆194Updated 11 months ago
- Parse incomplete json text in best-effort manner☆259Updated 4 months ago
- Everything you need to start building ChatGPT Plugins in JS/TS 🔥☆541Updated 2 years ago
- 🛠 openai function calling tools for JS/TS☆308Updated last year
- ☆251Updated 7 months ago
- Tools for working with OpenAI streams in Node.js and TypeScript.☆293Updated 2 years ago
- Node.js bindings for faiss☆138Updated 2 years ago
- Node.js bindings for OpenAI's Whisper. (C++ CPU version by ggerganov)☆292Updated 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…☆241Updated last year
- Turn a stream of token into a parsable JSON object as soon as possible. Enable Streaming UI for AI app based on LLM.☆121Updated last year
- A test suite comparing Node.js BPE tokenizers for use with AI models.☆31Updated 2 years ago
- Streaming, source-agnostic EventSource/Server-Sent Events parser☆441Updated last week
- Powerful machine learning library for Node.js – uses Python's scikit-learn under the hood.☆208Updated 4 months ago
- ☆73Updated last year
- Complete unfinished JSON streamed in by LLMs (Like OpenAI's GPT)☆62Updated last year
- ☆155Updated 6 months ago
- Parse partial JSON generated by LLM☆191Updated 4 months ago
- 💬 Estimate the number of tokens an OpenAI chat completion will use☆91Updated last month
- Hooks and components for working with OpenAI streams.☆239Updated 2 years ago
- Node.js SDK for Browserbase☆57Updated last week
- 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
- pgvector support for Node.js, Deno, and Bun (and TypeScript)☆422Updated this week
- Library to generate vector embeddings in NodeJS☆165Updated this week
- ☆38Updated last year
- Yet another library to extract text from MS Office and PDF files☆84Updated last year
- Vectra is a local vector database for Node.js with features similar to pinecone but built using local files.☆551Updated 7 months ago