Embed Batch • Rust AI Agent SDK
embed_batch: Generate embeddings for multiple texts. # Arguments * `texts` – Slice of texts to embed # Returns EmbeddingResult containing all embeddings
embed_batch
Async
Method
</div>
This is a method of the EmbeddingAgent class in the embedding module.
Generate embeddings for multiple texts. # Arguments * texts – Slice of texts to embed # Returns EmbeddingResult containing all embeddings
Signature
async def embed_batch(&self, texts: &[&str]) -> Result<EmbeddingResult>Parameters
ParamField
&[&str]No description available.