Skip to main content

DomainPromptLibrary

Trait DomainPromptLibrary 

Source
pub trait DomainPromptLibrary: Send + Sync {
    // Provided method
    fn stage_templates(&self, stage: &str) -> Vec<SectionTemplate> { ... }
}
Expand description

A domain’s compiled prompt sections, keyed by stage directory name. Object-safe; the empty default serves domains without a section library.

Provided Methods§

Source

fn stage_templates(&self, stage: &str) -> Vec<SectionTemplate>

The base section templates for one stage, in declared order.

Implementors§