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
Source§impl Provider for CohereExt
impl Provider for CohereExt
const VERIFY_PATH: &'static str = "/models"
type Builder = CohereBuilder
fn build<H>( _: &ClientBuilder<<CohereExt as Provider>::Builder, BearerAuth, H>, ) -> Result<CohereExt, Error>
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 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