Base Auto Generator • AI Agents Framework
BaseAutoGenerator: Base class for auto-generators with shared functionality.
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
ParamField
OptionalNo 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 GitHubpraisonai/auto.py at line 481