hmarr / openai-chat-tokens
π¬ Estimate the number of tokens an OpenAI chat completion will use
β89Updated 7 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
- JavaScript implementation of LiteLLM.β113Updated 3 weeks ago
- Fully typed & consistent chat APIs for OpenAI, Anthropic, Groq, and Azure's chat models for browser, edge, and node environments.β167Updated 8 months ago
- β141Updated 3 weeks ago
- A Markdown-like syntax for writing prompts. Includes an in-editor playground.β109Updated 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β¦β183Updated 8 months ago
- OpenAI Function Calling in Typescript using Zodβ86Updated last year
- A test suite comparing Node.js BPE tokenizers for use with AI models.β29Updated last year
- The Typescript-first prompt engineering toolkit for working with chat based LLMs.β108Updated last year
- A Cloudflare Page showing how to do semantic searchβ48Updated 2 months ago
- π€ A minimal viable logger for Prompt/LLM Engineering. Use your IDE as Logging UI - a fast, simple, extensible, zero dependency Node.js lβ¦β123Updated 10 months ago
- LLM-ready data connectorsβ70Updated 8 months ago
- πΈ The open framework for question answering fine-tuning LLMs on private dataβ69Updated last year
- gpt + aria = ability to read browser contentsβ67Updated last year
- Turn a stream of token into a parsable JSON object as soon as possible. Enable Streaming UI for AI app based on LLM.β96Updated 8 months ago
- Minimal and opinionated OpenAI client powered by fetch.β183Updated last month
- Vercel AI Provider for running Large Language Models locally using LLamaCppβ28Updated 9 months ago
- β¦ The intuitive LLM frameworkβ108Updated 2 weeks ago
- GitHub Action to generate embeddings from the markdown files in your repository.β94Updated 9 months ago
- Isomorphic JavaScript/TypeScript Tokenizer for GPT-3 and Codex Models by OpenAI.β171Updated 2 years ago
- A simple and declarative way to control LLMsβ215Updated last year
- β61Updated 11 months ago
- OpenAI's tiktoken but with node bindingsβ105Updated 9 months ago
- hnswlib-node provides Node.js bindings for Hnswlibβ108Updated this week
- Smithery connects language models to Model Context Protocols, allowing you to build agents that use resources and tools without being oveβ¦β62Updated 2 weeks ago
- Demo of AI chatbot that predicts user message to generate response quickly.β102Updated 11 months ago
- Example of running LangChain on Vercelβ166Updated last year
- A pure TypeScript implementation of the HNSW algorithm for approximate nearest neighbour search.β42Updated last year
- β44Updated this week
- LLM tools used in production at Dexaβ91Updated last month
- β¦ The intuitive python LLM frameworkβ171Updated 2 months ago