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

python
def get_user_content() -> Any

Returns

ResponseField Any

The prompt for the OpenAI API.

Usage

python
generator = AutoGenerator(framework="crewai", topic="Create a movie script about Cat in Mars")
    prompt = generator.get_user_content()
    _rich_print(prompt)

Uses

  • recommend_agent_count
  • analyze_complexity

Source

View on GitHub

praisonai/auto.py at line 1468