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
from praisonaiagents.agent import embedding_agentClasses
EmbeddingConfig
Configuration for embedding settings.
EmbeddingAgentA specialized agent for generating text embeddings.