Skip to main content

aembed

AsyncMethod
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

text
str
required
No description available.
model
Optional
No description available.

Returns

Returns
List[float]
The result of the operation.

Uses

  • aembedding

Source

View on GitHub

praisonaiagents/agent/embedding_agent.py at line 363