pub struct LlmCurator<L: LlmGenerate + Send + Sync> { /* private fields */ }Expand description
Production curator. Wraps an OllamaClient (or any
crate::autonomy::AutonomyLlm-like surface — we re-use the
existing generate shape via a free function rather than coupling
to the autonomy trait, because the autonomy trait does not expose
generate(prompt, system)).
Implementations§
Source§impl<L: LlmGenerate + Send + Sync> LlmCurator<L>
impl<L: LlmGenerate + Send + Sync> LlmCurator<L>
Trait Implementations§
Auto Trait Implementations§
impl<L> !Freeze for LlmCurator<L>
impl<L> RefUnwindSafe for LlmCurator<L>where
L: RefUnwindSafe,
impl<L> Send for LlmCurator<L>
impl<L> Sync for LlmCurator<L>
impl<L> Unpin for LlmCurator<L>where
L: Unpin,
impl<L> UnsafeUnpin for LlmCurator<L>where
L: UnsafeUnpin,
impl<L> UnwindSafe for LlmCurator<L>where
L: UnwindSafe,
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more