Aembed Batch • AI Agent SDK

aembed_batch: Async version of embed_batch().

aembed_batch

Async

Method

</div>

This is a method of the EmbeddingAgent class in the embedding_agent module.

Async version of embed_batch().

Signature

python
async def aembed_batch(texts: List[str], model: Optional[str]) -> List[List[float]]

Parameters

ParamField List[str]

No description available.

ParamField Optional[str]

No description available.

Returns

ResponseField List[List[float]]

The result of the operation.

Uses

  • aembedding

Used By

Source

View on GitHub

praisonaiagents/agent/embedding_agent.py at line 376