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§
Sourcefn stage_templates(&self, stage: &str) -> Vec<SectionTemplate>
fn stage_templates(&self, stage: &str) -> Vec<SectionTemplate>
The base section templates for one stage, in declared order.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".