Skip to main content

EmbeddingFuture

Type Alias EmbeddingFuture 

Source
pub type EmbeddingFuture<'a, T> = Pin<Box<dyn Future<Output = Result<T, EmbeddingProviderError>> + Send + 'a>>;
Expand description

Future returned by a configured embedding provider.

Aliased Typeยง

#[repr(transparent)]
pub struct EmbeddingFuture<'a, T> { /* private fields */ }