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
async def aembed(text: str, model: Optional[str]) -> List[float]Parameters
ParamField
strNo description available.
ParamField
Optional[str]No description available.
Returns
ResponseField
List[float]The result of the operation.
Uses
aembedding
Source
View on GitHubpraisonaiagents/agent/embedding_agent.py at line 362