pub struct OllamaProvider { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AiDENsProvider for OllamaProvider
impl AiDENsProvider for OllamaProvider
fn provider_kind(&self) -> &str
fn model(&self) -> Option<&str>
fn capabilities(&self) -> ProviderCapabilitiesV1
fn complete<'life0, 'async_trait>(
&'life0 self,
request: AiDENsCompletionRequestV1,
) -> Pin<Box<dyn Future<Output = Result<AiDENsCompletionResponseV1>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Clone for OllamaProvider
impl Clone for OllamaProvider
Source§fn clone(&self) -> OllamaProvider
fn clone(&self) -> OllamaProvider
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for OllamaProvider
impl !UnwindSafe for OllamaProvider
impl Freeze for OllamaProvider
impl Send for OllamaProvider
impl Sync for OllamaProvider
impl Unpin for OllamaProvider
impl UnsafeUnpin for OllamaProvider
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