Skip to main content

generate

Method
This is a method of the AutoGenerator class in the auto module.
Generates a team structure for the specified topic.

Signature

Parameters

Any
default:"False"
Whether to merge with existing agents.yaml file instead of overwriting.

Returns

Any
The full path of the YAML file containing the generated team structure.

Exceptions

If the generation process fails.

Usage

Uses

  • get_user_content
  • json.loads
  • response.model_dump_json
  • convert_and_save
  • abspath

Used By

Source

View on GitHub

praisonai/auto.py at line 713