ape-common
ape-common
Common types and utilities for programmatic prompt engineering.
Overview
Testing and evaluating prompts is a must to ensure that your prompts are working as expected. ape-common
is a python package that provides a set of common types and classes for data-driven prompt engineering.
Classes
Prompt
Base class for storing and running prompt templates.
BaseGenerate
Abstract base class for generation tasks.
BaseMetric
Abstract base class for individual metrics.
BaseGlobalMetric
Abstract base class for global metrics.
BaseEvaluator
Abstract base class for evaluation tasks.
CostTracker
Utility class for tracking and managing API costs.
Was this page helpful?