Embedding Agent • AI Agent SDK

EmbeddingAgent – A specialized agent for generating text embeddings.

embedding_agent

AI Agent

EmbeddingAgent – A specialized agent for generating text embeddings.

This agent provides embedding capabilities for text using AI embedding models, with support for batch processing and similarity calculations.

Follows the Agent() class patterns with:

  • Lazy loading for heavy dependencies (litellm, rich)
  • Precedence Ladder for configuration resolution
  • Both sync and async methods

Import

python
from praisonaiagents.agent import embedding_agent

Classes


Related Documentation