Skip to main content

BaseAutoGenerator

Defined in the auto module.
AI Agents Framework Base class for auto-generators with shared functionality. Provides:
  • LiteLLM-based structured output (replaces instructor for less dependencies)
  • Environment variable handling for model/API configuration
  • Config list management

Constructor

Optional
No description available.

Methods

close()

Close the core OpenAI client if it exists.

aclose()

Close the core OpenAI client if it exists.

get_available_tools()

Return list of available tools for agent assignment.

analyze_complexity()

Analyze task complexity based on keywords.

recommend_pattern()

Recommend the best workflow pattern based on task characteristics.

Source

View on GitHub

praisonai/auto.py at line 355