Skip to main content

SkillPrompter

Trait SkillPrompter 

Source
pub trait SkillPrompter: Send + Sync {
    // Required method
    fn build_prompt(&self, skills: &[Arc<dyn Skill>]) -> String;
}
Expand description

Prompt injection strategy

Generates prompt text to inject into the system prompt based on registered skills.

Required Methods§

Source

fn build_prompt(&self, skills: &[Arc<dyn Skill>]) -> String

Implementors§