pub struct EmbedManyResult {
pub values: Vec<String>,
pub embeddings: Vec<Embedding>,
pub usage: EmbeddingUsage,
pub warnings: Vec<Warning>,
pub responses: Vec<ResponseMetadata>,
pub provider_metadata: Option<ProviderMetadata>,
}Expand description
Result of embed_many.
Fields§
§values: Vec<String>The embedded values, in input order.
embeddings: Vec<Embedding>One embedding per value, in input order.
usage: EmbeddingUsageToken usage summed over all calls.
warnings: Vec<Warning>Adapter warnings of all calls.
responses: Vec<ResponseMetadata>Response metadata of every call.
provider_metadata: Option<ProviderMetadata>Provider-specific metadata merged over all calls.
Trait Implementations§
Source§impl Clone for EmbedManyResult
impl Clone for EmbedManyResult
Source§fn clone(&self) -> EmbedManyResult
fn clone(&self) -> EmbedManyResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EmbedManyResult
impl Debug for EmbedManyResult
Source§impl PartialEq for EmbedManyResult
impl PartialEq for EmbedManyResult
impl StructuralPartialEq for EmbedManyResult
Auto Trait Implementations§
impl Freeze for EmbedManyResult
impl RefUnwindSafe for EmbedManyResult
impl Send for EmbedManyResult
impl Sync for EmbedManyResult
impl Unpin for EmbedManyResult
impl UnsafeUnpin for EmbedManyResult
impl UnwindSafe for EmbedManyResult
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