Cainier / gpt-tokens
Calculate the token consumption and amount of openai gpt message
β110Updated last month
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β104Updated 10 months ago
- π openai function calling tools for JS/TSβ292Updated last year
- Parse incomplete json text in best-effort mannerβ187Updated last month
- Minimal and opinionated OpenAI client powered by fetch.β184Updated 2 months ago
- JavaScript implementation of LiteLLM.β118Updated 2 months ago
- Isomorphic JavaScript/TypeScript Tokenizer for GPT-3 and Codex Models by OpenAI.β171Updated 2 years ago
- Node.js bindings for faissβ121Updated last year
- β253Updated last year
- Streaming, source-agnostic EventSource/Server-Sent Events parserβ344Updated 4 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.β100Updated 9 months ago
- Node.js bindings for OpenAI's Whisper. (C++ CPU version by ggerganov)β262Updated 7 months ago
- Superagent Javascript SDKβ107Updated 10 months ago
- chat with OpenAI functionsβ60Updated 9 months ago
- Tools for working with OpenAI streams in Node.js and TypeScript.β291Updated last year
- A test suite comparing Node.js BPE tokenizers for use with AI models.β30Updated last year
- β66Updated last year
- Library to generate vector embeddings in NodeJSβ109Updated 4 months ago
- β145Updated last month
- Fully typed & consistent chat APIs for OpenAI, Anthropic, Groq, and Azure's chat models for browser, edge, and node environments.β168Updated 9 months ago
- Everything you need to start building ChatGPT Plugins in JS/TS π₯β546Updated last year
- 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β¦β536Updated 2 weeks ago
- β291Updated last year
- Parse partial JSON generated by LLMβ106Updated 6 months ago
- JS port and JS/WASM bindings for openai/tiktokenβ814Updated last month
- The most basic NextJS + Langchain appβ42Updated last year
- The official TypeScript/Node client for the Pinecone vector databaseβ217Updated 2 weeks ago
- pgvector support for Node.js, Deno, and Bun (and TypeScript)β361Updated last month
- GuideScript: Navigating Language Models, Simplified.β56Updated last year
- ChatGPT NestJs Serverβ34Updated last year
- Node.js SDK for Browserbaseβ38Updated last week