embed_batch
Method
This is a method of the EmbeddingAgent class in the embedding_agent module.Generate embeddings for multiple texts.
Signature
Parameters
List[str]
required
List of texts to embed
Optional[str]
Override model for this call **kwargs: Additional provider-specific parameters
Returns
List[List[float]]
List of embedding vectors
Usage
Uses
embedding
Used By
Source
View on GitHub
praisonaiagents/agent/embedding_agent.py at line 223
