Cainier / gpt-tokensLinks
Calculate the token consumption and amount of openai gpt message
☆115Updated 9 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
- Parse incomplete json text in best-effort manner☆258Updated 4 months ago
- Minimal and opinionated OpenAI client powered by fetch.☆194Updated 10 months ago
- JavaScript implementation of LiteLLM.☆142Updated 8 months ago
- Node.js bindings for faiss☆138Updated 2 years ago
- Tools for working with OpenAI streams in Node.js and TypeScript.☆293Updated 2 years 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…☆699Updated 3 weeks ago
- 🛠 openai function calling tools for JS/TS☆308Updated last year
- Streaming, source-agnostic EventSource/Server-Sent Events parser☆433Updated 3 months ago
- Everything you need to start building ChatGPT Plugins in JS/TS 🔥☆542Updated 2 years ago
- ☆251Updated 7 months ago
- Yet another library to extract text from MS Office and PDF files☆84Updated last year
- Parse partial JSON generated by LLM☆190Updated 3 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
- A test suite comparing Node.js BPE tokenizers for use with AI models.☆31Updated 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.☆120Updated 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…☆240Updated 11 months ago
- Vectra is a local vector database for Node.js with features similar to pinecone but built using local files.☆544Updated 6 months ago
- ☆155Updated 5 months ago
- Fully typed & consistent chat APIs for OpenAI, Anthropic, Groq, and Azure's chat models for browser, edge, and node environments.☆169Updated last year
- Node.js bindings for OpenAI's Whisper. (C++ CPU version by ggerganov)☆292Updated last year
- Library to generate vector embeddings in NodeJS☆161Updated 2 months ago
- 💬 Estimate the number of tokens an OpenAI chat completion will use☆91Updated 2 weeks ago
- pgvector support for Node.js, Deno, and Bun (and TypeScript)☆417Updated 2 months ago
- ☆73Updated last year
- Hooks and components for working with OpenAI streams.☆239Updated 2 years ago
- hnswlib-node provides Node.js bindings for Hnswlib☆123Updated last week
- Powerful machine learning library for Node.js – uses Python's scikit-learn under the hood.☆208Updated 4 months ago
- ☆38Updated last year