pub enum SkillRole {
Tool,
Model,
Resource,
Prompt,
Memory,
Retriever,
Judge,
Router,
}Expand description
Role a skill plays for an agent.
A skill may carry more than one role; the role set drives how the skill is presented to tool, model, and resource surfaces.
Variants§
Tool
Callable tool the agent can invoke.
Model
Language or inference model.
Resource
Readable resource exposed to the agent.
Prompt
Reusable prompt template.
Memory
Memory store the agent can read from or write to.
Retriever
Retriever that fetches relevant context.
Judge
Judge that scores or evaluates candidate outputs.
Router
Router that dispatches to other skills.
Implementations§
Trait Implementations§
impl Eq for SkillRole
impl StructuralPartialEq for SkillRole
Auto Trait Implementations§
impl Freeze for SkillRole
impl RefUnwindSafe for SkillRole
impl Send for SkillRole
impl Sync for SkillRole
impl Unpin for SkillRole
impl UnsafeUnpin for SkillRole
impl UnwindSafe for SkillRole
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more