> ## 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.

# embed • AI Agent SDK

> Core embedding functions.

# embed

<Badge color="blue">AI Agent</Badge>

Core embedding functions.

This module provides the main embedding() and aembedding() functions
that wrap LiteLLM's embedding API with a consistent interface.

## Import

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents.embedding import embed
```

## Functions

<CardGroup cols={2}>
  <Card title="embedding()" icon="function" href="../functions/embedding">
    Generate embeddings for text using LiteLLM.
  </Card>

  <Card title="aembedding()" icon="function" href="../functions/aembedding">
    Async: Generate embeddings for text using LiteLLM.
  </Card>
</CardGroup>
