aembed • AI Agent SDK

aembed: Async version of embed().

aembed

Async

Method

</div>

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

Async version of embed().

Signature

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

Parameters

ParamField str

No description available.

ParamField Optional[str]

No description available.

Returns

ResponseField List[float]

The result of the operation.

Uses

  • aembedding

Source

View on GitHub

praisonaiagents/agent/embedding_agent.py at line 362