struct OllamaFactory;Trait Implementations§
Source§impl ModelProviderFactory for OllamaFactory
impl ModelProviderFactory for OllamaFactory
Source§fn provider_name(&self) -> &str
fn provider_name(&self) -> &str
Configuration name used by
ModelDefinition::provider.Source§fn implementation(&self) -> ModelProviderImplementation
fn implementation(&self) -> ModelProviderImplementation
Stable, non-secret adapter identity and compatibility version.
Source§fn validate(&self, definition: &ModelDefinition) -> Result<()>
fn validate(&self, definition: &ModelDefinition) -> Result<()>
Validate provider-specific configuration without side effects.
Source§fn build(&self, definition: &ModelDefinition) -> Result<Arc<dyn ModelProvider>>
fn build(&self, definition: &ModelDefinition) -> Result<Arc<dyn ModelProvider>>
Construct the provider for runtime execution.
Auto Trait Implementations§
impl Freeze for OllamaFactory
impl RefUnwindSafe for OllamaFactory
impl Send for OllamaFactory
impl Sync for OllamaFactory
impl Unpin for OllamaFactory
impl UnsafeUnpin for OllamaFactory
impl UnwindSafe for OllamaFactory
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<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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