1 repositorio
Runs custom Python functions inside templates at runtime to retrieve, manipulate, or validate data.
Distinct from Custom Validation Functions: Distinct from general Custom Validation Functions: focuses on executing custom functions within prompt templates.
Explore 1 awesome GitHub repository matching software engineering & architecture · Custom Template Function Execution. Refine with filters or upvote what's useful.
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
Runs custom Python functions directly inside templates at runtime to retrieve, manipulate, or validate data on the fly.