1 Repo
Writing Python functions that call language models, treating prompts as programs with structured inputs and outputs.
Distinct from Programming Languages: Distinct from Programming Languages: focuses on libraries that enable prompt-as-function programming within existing languages, not general-purpose language implementations.
Explore 1 awesome GitHub repository matching programming languages & runtimes · Language Model Programming Libraries. Refine with filters or upvote what's useful.
Ell is a Python library that treats prompts as callable functions, transforming a Python function into a language model program where the docstring defines the system message and the return value defines the user message. It provides a framework for writing language model programs that can accept and return images, audio, and text natively within message objects, and supports chaining multiple model calls into a single function for multi-step reasoning or test-time compute. The library decouples model selection from client instantiation through a registry that supports multiple provider backe
Treats prompts as callable Python functions, transforming a Python function into a language model program.