pub struct KeywordSkillStrategy { /* private fields */ }Expand description
Returns the skills whose keywords overlap with the user turn.
Implementations§
Trait Implementations§
Source§impl SkillStrategy for KeywordSkillStrategy
impl SkillStrategy for KeywordSkillStrategy
fn applicable<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 AgentContext,
_budget: &'life2 mut TokenBudget,
) -> Pin<Box<dyn Future<Output = Result<Vec<SkillRef>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for KeywordSkillStrategy
impl RefUnwindSafe for KeywordSkillStrategy
impl Send for KeywordSkillStrategy
impl Sync for KeywordSkillStrategy
impl Unpin for KeywordSkillStrategy
impl UnsafeUnpin for KeywordSkillStrategy
impl UnwindSafe for KeywordSkillStrategy
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