pub struct ModelInfo {
pub model: EmbeddingModel,
pub dim: usize,
pub description: String,
}
Expand description
Data struct about the available models
Fields§
§model: EmbeddingModel
§dim: usize
§description: String
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ModelInfo
impl Send for ModelInfo
impl Sync for ModelInfo
impl Unpin for ModelInfo
impl UnwindSafe for ModelInfo
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