Ape LogoApe LogoApe
GitHubGitHubDiscordDiscord
  • Introduction
  • Getting Started
  • Trainers
    • DspyMiproTrainer
    • EvoPromptTrainer
    • TextGradientTrainer
    • FewShotTrainer
    • OptunaTrainer
    • ExpelTrainer
    • TextGradEvoTrainer
  • SDK Reference
  • ape-common
    • Prompt
    • DatasetItem
      • BaseGenerator
      • Generator
      • BaseMetric
      • CosineSimilarityMetric
      • JsonMatchMetric
      • SemanticF1Metric
      • BaseGlobalMetric
      • AverageGlobalMetric
    • Evaluator
    • CostTracker
  • ape-core
    • Trainer
      • DspyMiproTrainer
      • EvoPromptTrainer
      • TextGradientTrainer
      • FewShotTrainer
      • OptunaTrainer
      • ExpelTrainer
      • TextGradEvoTrainer

On This Page

  • Overview
  • Classes
Question? Give us feedback →Edit this page on GitHub →

ape-common

PyPI versionDownloads

Overview

Testing and evaluating prompts is a must to ensure that your prompts are working as expected. ape-common provides a set of common types and classes for data-driven prompt engineering. This library is included within ape-core and does not need to be installed separately.

Classes

PromptBaseGenerateBaseMetricBaseGlobalMetricBaseEvaluatorCostTracker
TextGradEvoTrainerPrompt

© 2024 Weavel, Inc. All rights reserved.
Contact