hmarr / openai-chat-tokensLinks
π¬ Estimate the number of tokens an OpenAI chat completion will use
β91Updated 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
- β155Updated 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.β118Updated last year
- JavaScript implementation of LiteLLM.β141Updated 7 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β¦β237Updated 11 months ago
- β¨ TypeAI: An AI Engineering Framework for TypeScriptβ162Updated 2 years ago
- LLM tools used in production at Dexaβ105Updated 10 months ago
- Minimal and opinionated OpenAI client powered by fetch.β193Updated 10 months ago
- Promptrix is a prompt layout engine for Large Language Models.β81Updated 11 months ago
- LLM-ready data connectorsβ99Updated last year
- A Markdown-like syntax for writing prompts. Includes an in-editor playground.β127Updated 2 years ago
- A Cloudflare Page showing how to do semantic searchβ50Updated 11 months ago
- Pinecone.io client with excellent TypeScript support.β117Updated 2 years ago
- β144Updated 2 years ago
- A simple and declarative way to control LLMsβ217Updated 2 years ago
- The Typescript-first prompt engineering toolkit for working with chat based LLMs.β110Updated 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β¦β221Updated last year
- β101Updated this week
- β85Updated last year
- OpenAI's tiktoken but with node bindingsβ105Updated last year
- Isomorphic JavaScript/TypeScript Tokenizer for GPT-3 and Codex Models by OpenAI.β171Updated 2 years ago
- Get structured, fully typed, and validated JSON outputs from OpenAI and Anthropic models.β628Updated 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β¦β142Updated last year
- A JavaScript/Typescript client for the Unstructured Platform APIβ57Updated last week
- Example of running LangChain on Vercelβ166Updated 2 years ago
- β¨ Make your LLM prompts executable and version controlled. β¨β79Updated 2 years ago
- Integrate 200+ LLMs with one TypeScript SDK using OpenAI's format.β294Updated 6 months ago
- A relay server for OpenAI's realtime API, for Cloudflare Workersβ153Updated 11 months ago
- The Official Exa Javascript SDKβ99Updated 2 weeks ago
- Supabase Toolkit to perform vector similarity search on your knowledge base embeddings.β187Updated last year