hmarr / openai-chat-tokensLinks
π¬ Estimate the number of tokens an OpenAI chat completion will use
β92Updated last month
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.β169Updated last year
- β155Updated 6 months ago
- JavaScript implementation of LiteLLM.β144Updated 9 months ago
- LLM tools used in production at Dexaβ105Updated 11 months ago
- Minimal and opinionated OpenAI client powered by fetch.β194Updated 11 months ago
- β¨ TypeAI: An AI Engineering Framework for TypeScriptβ164Updated 2 years ago
- OpenAI's tiktoken but with node bindingsβ106Updated 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β¦β241Updated last year
- β¨ Make your LLM prompts executable and version controlled. β¨β82Updated 2 years ago
- β87Updated last year
- Pinecone.io client with excellent TypeScript support.β117Updated 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β¦β223Updated 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β¦β145Updated last year
- The Typescript-first prompt engineering toolkit for working with chat based LLMs.β111Updated 2 years ago
- 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
- β144Updated 2 years ago
- Calculate the token consumption and amount of openai gpt messageβ115Updated 10 months ago
- Generate vector embeddings in NodeJSβ169Updated last week
- TypeScript generator for llama.cpp Grammar directly from TypeScript interfacesβ141Updated last year
- A Markdown-like syntax for writing prompts. Includes an in-editor playground.β128Updated 2 years ago
- β68Updated 2 years ago
- Promptrix is a prompt layout engine for Large Language Models.β81Updated last year
- A Cloudflare Page showing how to do semantic searchβ50Updated last year
- Model-agnostic typescript implementation of OpenAI's Swarm framework with the Vercel AI SDKβ43Updated 11 months ago
- β¦ The intuitive LLM frameworkβ114Updated 10 months ago
- LLM-ready data connectorsβ104Updated last year
- Build AI Agents with JS & TSβ267Updated 2 years ago
- Supabase Toolkit to perform vector similarity search on your knowledge base embeddings.β189Updated last year
- A registry of AI Pluginsβ95Updated 2 years ago
- Integrate 200+ LLMs with one TypeScript SDK using OpenAI's format.β299Updated 8 months ago