hmarr / openai-chat-tokensLinks
π¬ Estimate the number of tokens an OpenAI chat completion will use
β92Updated 2 months ago
Alternatives and similar repositories for openai-chat-tokens
Users that are interested in openai-chat-tokens are comparing it to the libraries listed below
Sorting:
- Fully typed & consistent chat APIs for OpenAI, Anthropic, Groq, and Azure's chat models for browser, edge, and node environments.β171Updated last year
- JavaScript implementation of LiteLLM.β145Updated 9 months ago
- β155Updated 2 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β¦β242Updated last year
- The Typescript-first prompt engineering toolkit for working with chat based LLMs.β112Updated 2 years ago
- A client side vector search library that can embed, store, search, and cache vectors. Works on the browser and node. It outperforms OpenAβ¦β224Updated last year
- LLM tools used in production at Dexaβ106Updated last year
- β¨ TypeAI: An AI Engineering Framework for TypeScriptβ164Updated 2 years ago
- Minimal and opinionated OpenAI client powered by fetch.β195Updated 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.β121Updated last year
- π€ A minimal viable logger for Prompt/LLM Engineering. Use your IDE as Logging UI - a fast, simple, extensible, zero dependency Node.js lβ¦β147Updated last year
- β¨ Make your LLM prompts executable and version controlled. β¨β82Updated 2 years ago
- Vectra is a local vector database for Node.js with features similar to pinecone but built using local files.β560Updated this week
- Integrate 200+ LLMs with one TypeScript SDK using OpenAI's format.β300Updated 8 months ago
- β144Updated 2 years ago
- A simple and declarative way to control LLMsβ217Updated 2 years ago
- Promptrix is a prompt layout engine for Large Language Models.β81Updated last year
- β¦ The intuitive LLM frameworkβ114Updated 11 months ago
- Calculate the token consumption and amount of openai gpt messageβ115Updated 11 months ago
- Generate vector embeddings in NodeJSβ170Updated last month
- A Markdown-like syntax for writing prompts. Includes an in-editor playground.β129Updated 2 years ago
- Tools for working with OpenAI streams in Node.js and TypeScript.β293Updated 2 years ago
- GuideScript: Navigating Language Models, Simplified.β56Updated 2 years ago
- Self-hosted version of OpenAIβs new stateful Assistants APIβ549Updated 9 months ago
- Get structured, fully typed, and validated JSON outputs from OpenAI and Anthropic models.β629Updated last year
- TypeScript generator for llama.cpp Grammar directly from TypeScript interfacesβ141Updated last year
- A test suite comparing Node.js BPE tokenizers for use with AI models.β31Updated 2 years ago
- Pinecone.io client with excellent TypeScript support.β117Updated 2 years ago
- A linter with superpowers! π₯ Use LLMs to enforce best practices across your codebase.β288Updated last year
- β251Updated 8 months ago