Convert And Save • AI Agents Framework
convert_and_save: Converts the provided JSON data into the desired YAML format and saves it to a file.
convert_and_save
Method
</div>
This is a method of the AutoGenerator class in the auto module.
Converts the provided JSON data into the desired YAML format and saves it to a file.
Signature
def convert_and_save(json_data: Any, merge: Any) -> AnyParameters
ParamField
AnyThe JSON data representing the team structure.
ParamField
AnyWhether to merge with existing agents.yaml file instead of overwriting.
Returns
ResponseField
AnyThe result of the operation.
Uses
existsmerge_with_existing_agentsf.writelogger.debug
Source
View on GitHubpraisonai/auto.py at line 1324