> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# aembedding • TypeScript AI Agent SDK

> aembedding: API reference for aembedding

# aembedding

<div className="flex items-center gap-2">
  <Badge color="blue">Async</Badge>
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**embeddings**](../modules/embeddings) module.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def aembedding(text: string, config?: EmbeddingConfig) -> Promise<EmbeddingResult>
```

### Returns

<ResponseField name="Returns" type="Promise<EmbeddingResult>">
  The result of the operation.
</ResponseField>

## Uses

* `aembed`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-ts/src/embeddings/index.ts#L157">
  `src/embeddings/index.ts` at line 157
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="JS Embeddings" icon="code" href="/docs/js/embeddings" />

  <Card title="JS Embeddings CLI" icon="terminal" href="/docs/js/embeddings-cli" />
</CardGroup>
