pub struct CohereExt;Trait Implementations§
Source§impl<H> Capabilities<H> for CohereExt
impl<H> Capabilities<H> for CohereExt
type Completion = Capable<CompletionModel<H>>
type Embeddings = Capable<EmbeddingModel<H>>
type Transcription = Nothing
type ModelListing = Nothing
Source§impl Provider for CohereExt
impl Provider for CohereExt
const VERIFY_PATH: &'static str = "/models"
Source§type Builder = CohereBuilder
type Builder = CohereBuilder
The builder type that constructs this provider extension.
This associates extensions with their builders for type inference.
fn build_uri(&self, base_url: &str, path: &str, _transport: Transport) -> String
fn with_custom(&self, req: Builder) -> Result<Builder, Error>
impl Copy for CohereExt
Auto Trait Implementations§
impl Freeze for CohereExt
impl RefUnwindSafe for CohereExt
impl Send for CohereExt
impl Sync for CohereExt
impl Unpin for CohereExt
impl UnsafeUnpin for CohereExt
impl UnwindSafe for CohereExt
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