pub struct EmbeddingModel {
pub public_id: &'static str,
pub cloud: Platform,
pub upstream_id: &'static str,
}Expand description
One embeddings model. Embeddings are not text generation, so they stay out of
CatalogModel and its client-API lists: the gateway serves them only on
POST /<name>/v1/embeddings, and the model listing does not include them.
Fields§
§public_id: &'static str§cloud: Platform§upstream_id: &'static strFor Azure, the deployment name the controller creates (see AZURE_DEPLOYMENTS).
Trait Implementations§
Source§impl Clone for EmbeddingModel
impl Clone for EmbeddingModel
impl Copy for EmbeddingModel
Auto Trait Implementations§
impl Forget for EmbeddingModel
impl Freeze for EmbeddingModel
impl Move for EmbeddingModel
impl RefUnwindSafe for EmbeddingModel
impl Send for EmbeddingModel
impl Sync for EmbeddingModel
impl Unpin for EmbeddingModel
impl UnsafeUnpin for EmbeddingModel
impl UnwindSafe for EmbeddingModel
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