Cainier / gpt-tokensLinks
Calculate the token consumption and amount of openai gpt message
☆117Updated 6 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.☆172Updated 2 years ago
- JavaScript implementation of LiteLLM.☆135Updated 5 months ago
- Parse incomplete json text in best-effort manner☆237Updated last month
- 🛠 openai function calling tools for JS/TS☆298Updated last year
- Minimal and opinionated OpenAI client powered by fetch.☆191Updated 7 months ago
- Node.js bindings for faiss☆134Updated last year
- ☆252Updated 4 months ago
- Everything you need to start building ChatGPT Plugins in JS/TS 🔥☆544Updated 2 years ago
- Node.js bindings for OpenAI's Whisper. (C++ CPU version by ggerganov)☆288Updated 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…☆607Updated this week
- Streaming, source-agnostic EventSource/Server-Sent Events parser☆403Updated 3 weeks ago
- Vector Storage is a vector database that enables semantic similarity searches on text documents in the browser's local storage. It uses O…☆234Updated 8 months ago
- ☆38Updated last year
- Fully typed & consistent chat APIs for OpenAI, Anthropic, Groq, and Azure's chat models for browser, edge, and node environments.☆169Updated 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
- ☆154Updated 2 months ago
- Vectra is a local vector database for Node.js with features similar to pinecone but built using local files.☆512Updated 3 months ago
- Tools for working with OpenAI streams in Node.js and TypeScript.☆292Updated 2 years ago
- Library to generate vector embeddings in NodeJS☆139Updated 4 months ago
- pgvector support for Node.js, Deno, and Bun (and TypeScript)☆402Updated last month
- A client side vector search library that can embed, store, search, and cache vectors. Works on the browser and node. It outperforms OpenA…☆216Updated last year
- Powerful machine learning library for Node.js – uses Python's scikit-learn under the hood.☆200Updated last month
- Node.js SDK for Browserbase☆56Updated last week
- OpenAI Whisper API based on Node.js / Bun.sh in a Docker Container + Google Cloud Run Example☆118Updated last year
- LLM tools used in production at Dexa☆102Updated 7 months ago
- Hooks and components for working with OpenAI streams.☆241Updated 2 years ago
- Parse partial JSON generated by LLM☆156Updated 2 weeks ago
- hnswlib-node provides Node.js bindings for Hnswlib☆115Updated last week
- ☆73Updated last year