Skip to main content

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_agent

Classes