niieani / gpt-tokenizer
The fastest JavaScript BPE Tokenizer Encoder Decoder for OpenAI's GPT-2 / GPT-3 / GPT-4 / GPT-4o / GPT-o1. Port of OpenAI's tiktoken with additional features.
☆565Updated 2 months ago
Alternatives and similar repositories for gpt-tokenizer:
Users that are interested in gpt-tokenizer are comparing it to the libraries listed below
- JS port and JS/WASM bindings for openai/tiktoken☆848Updated 2 weeks ago
- Calculate the token consumption and amount of openai gpt message☆115Updated 3 months ago
- Javascript BPE Encoder Decoder for GPT-2 / GPT-3☆722Updated 2 years ago
- Isomorphic JavaScript/TypeScript Tokenizer for GPT-3 and Codex Models by OpenAI.☆170Updated 2 years ago
- Streaming, source-agnostic EventSource/Server-Sent Events parser☆368Updated last month
- OpenAI's tiktoken but with node bindings☆104Updated 11 months ago
- Parse incomplete json text in best-effort manner☆197Updated 2 months ago
- Tools for working with OpenAI streams in Node.js and TypeScript.☆290Updated last year
- Minimal and opinionated OpenAI client powered by fetch.☆188Updated 4 months ago
- 🛠 openai function calling tools for JS/TS☆294Updated last year
- pgvector support for Node.js, Deno, and Bun (and TypeScript)☆374Updated 3 weeks ago
- Vectra is a local vector database for Node.js with features similar to pinecone but built using local files.☆471Updated last month
- ☆253Updated 2 weeks ago
- Everything you need to start building ChatGPT Plugins in JS/TS 🔥☆545Updated last year
- JavaScript/Typescript SDK for Qdrant Vector Database☆320Updated 2 weeks ago
- A client side vector search library that can embed, store, search, and cache vectors. Works on the browser and node. It outperforms OpenA…☆201Updated 11 months ago
- Turn a stream of token into a parsable JSON object as soon as possible. Enable Streaming UI for AI app based on LLM.☆112Updated 10 months ago
- Self-hosted version of OpenAI’s new stateful Assistants API☆537Updated last month
- A simple and declarative way to control LLMs☆217Updated last year
- GuideScript: Navigating Language Models, Simplified.☆56Updated 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…☆225Updated 4 months ago
- Get structured, fully typed, and validated JSON outputs from OpenAI and Anthropic models.☆622Updated last year
- ☆149Updated 3 months ago
- ChatGTP (gpt3.5-turbo) starter app☆936Updated 2 years ago
- Low latency JSON generation using LLMs ⚡️☆400Updated last year
- structured extraction for llms☆711Updated 3 months ago
- A NodeJS RAG framework to easily work with LLMs and embeddings☆498Updated 2 months ago
- Langchain realworld examples in JS☆182Updated 2 months ago
- An open source ChatGPT UI.☆479Updated last year
- JS tokenizer for LLaMA 1 and 2☆351Updated 10 months ago