Cainier / gpt-tokens
Calculate the token consumption and amount of openai gpt message
☆110Updated 3 weeks ago
Alternatives and similar repositories for gpt-tokens:
Users that are interested in gpt-tokens are comparing it to the libraries listed below
- OpenAI's tiktoken but with node bindings☆105Updated 7 months ago
- Isomorphic JavaScript/TypeScript Tokenizer for GPT-3 and Codex Models by OpenAI.☆171Updated last year
- JavaScript implementation of LiteLLM.☆103Updated last year
- 🛠 openai function calling tools for JS/TS☆290Updated 11 months ago
- 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…☆502Updated last month
- Minimal and opinionated OpenAI client powered by fetch.☆181Updated last week
- Streaming, source-agnostic EventSource/Server-Sent Events parser☆319Updated 2 months ago
- Parse incomplete json text in best-effort manner☆170Updated 7 months ago
- A test suite comparing Node.js BPE tokenizers for use with AI models.☆29Updated last year
- Node.js bindings for faiss☆117Updated last year
- ☆33Updated 11 months ago
- ☆251Updated last year
- Tools for working with OpenAI streams in Node.js and TypeScript.☆289Updated last year
- Parse partial JSON generated by LLM☆92Updated 4 months ago
- ☆136Updated this week
- JS port and JS/WASM bindings for openai/tiktoken☆762Updated 3 weeks ago
- chat with OpenAI functions☆60Updated 7 months ago
- Collection of ChatGPT plugins☆103Updated last year
- The most basic NextJS + Langchain app☆43Updated 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.☆93Updated 7 months ago
- Fully typed & consistent chat APIs for OpenAI, Anthropic, Groq, and Azure's chat models for browser, edge, and node environments.☆156Updated 7 months ago
- ☆63Updated last year
- The official TypeScript/Node client for the Pinecone vector database☆198Updated 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…☆177Updated 7 months ago
- ⚛️ React Hook to add 🤖 ChatGPT-like word-by-word event streams☆62Updated last month
- Nodejs api for Midjourney on discord☆25Updated last year
- ☆292Updated last year
- GuideScript: Navigating Language Models, Simplified.☆55Updated last year
- Everything you need to start building ChatGPT Plugins in JS/TS 🔥☆546Updated last year
- Hooks and components for working with OpenAI streams.☆239Updated last year