pub struct EmbedResponse {
pub vectors: Vec<Vec<f32>>,
pub space: EmbeddingSpaceId,
}Fields§
§vectors: Vec<Vec<f32>>Aligned with inputs by index; a provider that cannot return one
vector per input fails the call rather than returning a short vector.
space: EmbeddingSpaceIdEchoed so a mismatch is caught at use, not only at configuration.
Auto Trait Implementations§
impl Freeze for EmbedResponse
impl RefUnwindSafe for EmbedResponse
impl Send for EmbedResponse
impl Sync for EmbedResponse
impl Unpin for EmbedResponse
impl UnsafeUnpin for EmbedResponse
impl UnwindSafe for EmbedResponse
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