2 Repos
Libraries that treat prompts as callable functions, encapsulating system instructions, user messages, and model parameters into reusable subroutines.
Distinct from Language Model Libraries: Distinct from Language Model Libraries: focuses on prompt-as-function programming rather than model training or deployment.
Explore 2 awesome GitHub repositories matching part of an awesome list · Prompt 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
Encapsulates prompts as callable Python functions with automatic versioning, logging, and multimodal support.
Prompt-poet is a Python templating engine and software library designed for constructing, tokenizing, and rendering dynamic language model prompts. It separates content from application code by storing prompt definitions as independent files on disk, supporting optional in-memory caching and structured metadata organization with named sections, assigned roles, and conditional logic. The library features modular template composition that decomposes prompts into reusable components and shared variants. It provides runtime Python evaluation to execute custom functions directly inside template st
Acts as a software library for constructing, tokenizing, and rendering dynamic language model prompts.