pub struct EmbeddingBatch {
pub embeddings: HashMap<String, Embedding>,
pub metadata: BatchMetadata,
}Expand description
Batch embedding response
Fields§
§embeddings: HashMap<String, Embedding>Generated embeddings indexed by request ID
metadata: BatchMetadataProcessing metadata
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EmbeddingBatch
impl RefUnwindSafe for EmbeddingBatch
impl Send for EmbeddingBatch
impl Sync for EmbeddingBatch
impl Unpin for EmbeddingBatch
impl UnwindSafe for EmbeddingBatch
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