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.β135Updated 5 months ago
- β154Updated 2 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 8 months ago
- Minimal and opinionated OpenAI client powered by fetch.β191Updated 7 months ago
- β¨ TypeAI: An AI Engineering Framework for TypeScriptβ163Updated last year
- A client side vector search library that can embed, store, search, and cache vectors. Works on the browser and node. It outperforms OpenAβ¦β216Updated last year
- LLM tools used in production at Dexaβ102Updated 7 months ago
- A Cloudflare Page showing how to do semantic searchβ50Updated 8 months ago
- The Typescript-first prompt engineering toolkit for working with chat based LLMs.β110Updated 2 years ago
- Calculate the token consumption and amount of openai gpt messageβ117Updated 6 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.β120Updated last year
- OpenAI Function Calling in Typescript using Zodβ90Updated last year
- β67Updated 2 years ago
- β¨ Make your LLM prompts executable and version controlled. β¨β77Updated 2 years ago
- β79Updated last year
- Example of running LangChain on Vercelβ166Updated 2 years ago
- β¦ The intuitive LLM frameworkβ112Updated 6 months ago
- β252Updated 4 months ago
- The Official Exa Javascript SDKβ87Updated 2 weeks ago
- Pinecone.io client with excellent TypeScript support.β117Updated last year
- GitHub Action to generate embeddings from the markdown files in your repository.β108Updated last year
- LLM-ready data connectorsβ90Updated last year
- Isomorphic JavaScript/TypeScript Tokenizer for GPT-3 and Codex Models by OpenAI.β172Updated 2 years ago
- OpenAI's tiktoken but with node bindingsβ105Updated last year
- Promptrix is a prompt layout engine for Large Language Models.β79Updated 8 months ago
- A Markdown-like syntax for writing prompts. Includes an in-editor playground.β126Updated 2 years ago
- Get structured, fully typed, and validated JSON outputs from OpenAI and Anthropic models.β626Updated last year
- A simple and declarative way to control LLMsβ217Updated 2 years ago
- β83Updated this week