Cainier / gpt-tokensLinks
Calculate the token consumption and amount of openai gpt message
☆117Updated 7 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:
- Isomorphic JavaScript/TypeScript Tokenizer for GPT-3 and Codex Models by OpenAI.☆172Updated 2 years ago
- OpenAI's tiktoken but with node bindings☆105Updated last year
- Minimal and opinionated OpenAI client powered by fetch.☆191Updated 8 months ago
- JavaScript implementation of LiteLLM.☆137Updated 5 months ago
- Parse incomplete json text in best-effort manner☆240Updated last month
- 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…☆613Updated 3 weeks ago
- ☆252Updated 4 months ago
- Tools for working with OpenAI streams in Node.js and TypeScript.☆292Updated 2 years ago
- Streaming, source-agnostic EventSource/Server-Sent Events parser☆415Updated 2 weeks ago
- Node.js bindings for faiss☆136Updated last year
- 🛠 openai function calling tools for JS/TS☆300Updated last year
- Parse partial JSON generated by LLM☆168Updated last month
- Everything you need to start building ChatGPT Plugins in JS/TS 🔥☆544Updated 2 years ago
- Library to generate vector embeddings in NodeJS☆142Updated 5 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…☆217Updated last year
- ☆154Updated 2 months 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 9 months ago
- 💬 Estimate the number of tokens an OpenAI chat completion will use☆90Updated last year
- Yet another library to extract text from MS Office and PDF files☆81Updated 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.☆119Updated last year
- The Official Exa Javascript SDK☆95Updated last week
- Official Weaviate TypeScript Client☆88Updated last week
- Powerful machine learning library for Node.js – uses Python's scikit-learn under the hood.☆201Updated last month
- Fully typed & consistent chat APIs for OpenAI, Anthropic, Groq, and Azure's chat models for browser, edge, and node environments.☆169Updated last year
- hnswlib-node provides Node.js bindings for Hnswlib☆119Updated this week
- Node.js SDK for Browserbase☆56Updated this week
- A test suite comparing Node.js BPE tokenizers for use with AI models.☆31Updated last year
- Node.js client for Replicate☆574Updated 3 weeks ago
- GuideScript: Navigating Language Models, Simplified.☆56Updated last year
- ☆38Updated last year