simonw / ttok
Count and truncate text based on tokens
☆345Updated last year
Alternatives and similar repositories for ttok:
Users that are interested in ttok are comparing it to the libraries listed below
- CLI tool for stripping tags from HTML☆317Updated 2 months ago
- LLM plugin for interacting with the Claude 3 family of models☆292Updated 3 months ago
- Array-Inspired Pipeline Language☆119Updated last year
- Code Indexer Loop is a Python library for indexing and retrieving source code files through an integrated vector database that's continuo…☆175Updated last year
- Save OpenAI API results to a SQLite database☆232Updated last year
- Implement recursion using English as the programming language and an LLM as the runtime.☆232Updated 2 years ago
- LLM plugin for running models using MLC☆186Updated last year
- CLI tool for running text through OpenAI Text to speech☆165Updated last year
- OpenAI-compatible Python client that can call any LLM☆371Updated last year
- Find the Python code for specified symbols☆282Updated last week
- AI-managed code blocks in Python ⏪⏩☆468Updated last year
- Constrained Decoding for LLMs against JSON Schema☆326Updated last year
- A program synthesis agent that autonomously fixes its output by running tests!☆452Updated 7 months ago
- LLM plugin providing access to Mistral models using the Mistral API☆176Updated last month
- GPT-based Conversation Summarizer☆148Updated 2 years ago
- Structured and typehinted GPT responses in Python☆738Updated 9 months ago
- LLM plugin to access Google's Gemini family of models☆302Updated 2 weeks ago
- Structured LLM APIs☆156Updated last year
- λprompt - A functional programming interface for building AI systems☆379Updated last year
- An LLM-based agent that will install the tools it needs.☆221Updated last year
- ☆113Updated last year
- Grep source code and see useful code context about matching lines☆215Updated last month
- smol-podcaster is your podcast production agent 🎙️☆342Updated 7 months ago
- LLM plugin for running models using llama.cpp☆143Updated last year
- Use LLM to generate and execute commands in your shell☆383Updated 7 months ago
- Agents Capable of Self-Editing Their Prompts / Python Code☆764Updated last year
- LLM plugin providing access to models running on an Ollama server☆285Updated last week
- A collection of empirical experiments using large language models and other neural network architectures to test the usefulness of metaph…☆147Updated 2 years ago
- REPL environment for GPT pair programming☆248Updated 7 months ago
- Complex LLM Workflows from Simple JSON.☆297Updated last year