pub struct Embeddings {
pub vectors: Vec<Vec<f32>>,
pub usage: Usage,
}Expand description
Result of an embeddings call: one vector per input, in input order.
Fields§
§vectors: Vec<Vec<f32>>§usage: UsageTrait Implementations§
Source§impl Clone for Embeddings
impl Clone for Embeddings
Source§impl Debug for Embeddings
impl Debug for Embeddings
Source§impl PartialEq for Embeddings
impl PartialEq for Embeddings
impl StructuralPartialEq for Embeddings
Auto Trait Implementations§
impl Freeze for Embeddings
impl RefUnwindSafe for Embeddings
impl Send for Embeddings
impl Sync for Embeddings
impl Unpin for Embeddings
impl UnsafeUnpin for Embeddings
impl UnwindSafe for Embeddings
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