Get User Content • AI Agents Framework
get_user_content: Generates a prompt for the OpenAI API to generate a team structure.
get_user_content
Method
</div>
This is a method of the AutoGenerator class in the auto module.
Generates a prompt for the OpenAI API to generate a team structure. Uses intelligent tool discovery based on task analysis.
Signature
def get_user_content() -> AnyReturns
ResponseField
AnyThe prompt for the OpenAI API.
Usage
generator = AutoGenerator(framework="crewai", topic="Create a movie script about Cat in Mars")
prompt = generator.get_user_content()
_rich_print(prompt)Uses
recommend_agent_countanalyze_complexity
Source
View on GitHubpraisonai/auto.py at line 1468