hmarr / openai-chat-tokensLinks
π¬ Estimate the number of tokens an OpenAI chat completion will use
β90Updated last year
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
- JavaScript implementation of LiteLLM.β139Updated 5 months ago
- β154Updated 3 months ago
- Vector Storage is a vector database that enables semantic similarity searches on text documents in the browser's local storage. It uses Oβ¦β234Updated 9 months ago
- β¨ TypeAI: An AI Engineering Framework for TypeScriptβ163Updated 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β¦β217Updated last year
- Minimal and opinionated OpenAI client powered by fetch.β191Updated 8 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.β119Updated last year
- LLM tools used in production at Dexaβ103Updated 8 months ago
- The Typescript-first prompt engineering toolkit for working with chat based LLMs.β110Updated 2 years ago
- OpenAI's tiktoken but with node bindingsβ105Updated last year
- A simple and declarative way to control LLMsβ216Updated 2 years ago
- A Markdown-like syntax for writing prompts. Includes an in-editor playground.β127Updated 2 years ago
- Integrate 200+ LLMs with one TypeScript SDK using OpenAI's format.β290Updated 4 months ago
- Pinecone.io client with excellent TypeScript support.β117Updated last year
- Isomorphic JavaScript/TypeScript Tokenizer for GPT-3 and Codex Models by OpenAI.β172Updated 2 years ago
- Calculate the token consumption and amount of openai gpt messageβ117Updated 7 months ago
- Example of running LangChain on Vercelβ166Updated 2 years ago
- Vectra is a local vector database for Node.js with features similar to pinecone but built using local files.β521Updated 4 months ago
- Framework to evaluate LLM generated ReactJS code.β58Updated last year
- Promptrix is a prompt layout engine for Large Language Models.β80Updated 9 months ago
- Tools for working with OpenAI streams in Node.js and TypeScript.β292Updated 2 years ago
- OpenAI Function Calling in Typescript using Zodβ91Updated last year
- β80Updated last year
- β87Updated this week
- β145Updated 2 years ago
- Self-hosted version of OpenAIβs new stateful Assistants APIβ546Updated 5 months ago
- Use LangChain.js to automatically generate docstrings for LangChainβ43Updated last year
- LLM-ready data connectorsβ93Updated last year
- β¨ Make your LLM prompts executable and version controlled. β¨β79Updated 2 years ago