hmarr / openai-chat-tokens
π¬ Estimate the number of tokens an OpenAI chat completion will use
β90Updated 8 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
- LLM tools used in production at Dexaβ95Updated 2 months ago
- Fully typed & consistent chat APIs for OpenAI, Anthropic, Groq, and Azure's chat models for browser, edge, and node environments.β168Updated 9 months ago
- OpenAI's tiktoken but with node bindingsβ104Updated 10 months ago
- β145Updated last month
- Framework to evaluate LLM generated ReactJS code.β54Updated 11 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.β100Updated 9 months ago
- Promptrix is a prompt layout engine for Large Language Models.β75Updated 3 months ago
- TypeScript generator for llama.cpp Grammar directly from TypeScript interfacesβ135Updated 8 months ago
- Let the LLM review your code.β208Updated last year
- JavaScript implementation of LiteLLM.β119Updated this week
- β64Updated last year
- A Markdown-like syntax for writing prompts. Includes an in-editor playground.β113Updated last year
- Isomorphic JavaScript/TypeScript Tokenizer for GPT-3 and Codex Models by OpenAI.β171Updated 2 years ago
- π€ A minimal viable logger for Prompt/LLM Engineering. Use your IDE as Logging UI - a fast, simple, extensible, zero dependency Node.js lβ¦β126Updated 11 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β¦β216Updated 3 months ago
- β¦ The intuitive LLM frameworkβ108Updated last month
- A test suite comparing Node.js BPE tokenizers for use with AI models.β30Updated last year
- LLM-ready data connectorsβ74Updated 9 months ago
- OpenAI Function Calling in Typescript using Zodβ87Updated 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β¦β191Updated 9 months ago
- hnswlib-node provides Node.js bindings for Hnswlibβ108Updated last week
- The Typescript-first prompt engineering toolkit for working with chat based LLMs.β108Updated last year
- A JavaScript/Typescript client for the Unstructured Platform APIβ49Updated this week
- Minimal and opinionated OpenAI client powered by fetch.β184Updated 2 months ago
- β¨ TypeAI: An AI Engineering Framework for TypeScriptβ157Updated last year
- GitHub Action to generate embeddings from the markdown files in your repository.β95Updated 10 months ago
- A pure TypeScript implementation of the HNSW algorithm for approximate nearest neighbour search.β42Updated last year
- Stainless full-stack API Frameworkβ105Updated this week
- β142Updated last year
- π± semantic-chunking β’ semantically create chunks from large document for passing to LLM workflowsβ75Updated 3 weeks ago