> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get User Content • AI Agents Framework

> get_user_content: Generates a prompt for the OpenAI API to generate a team structure.

# get\_user\_content

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**AutoGenerator**](../classes/AutoGenerator) class in the [**auto**](../modules/auto) module.

Generates a prompt for the OpenAI API to generate a team structure.
Uses intelligent tool discovery based on task analysis.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_user_content() -> Any
```

### Returns

<ResponseField name="Returns" type="Any">
  The prompt for the OpenAI API.
</ResponseField>

## Usage

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
generator = AutoGenerator(framework="crewai", topic="Create a movie script about Cat in Mars")
    prompt = generator.get_user_content()
    print(prompt)
```

## Uses

* `discover_tools_for_topic`
* `recommend_agent_count`
* `analyze_complexity`

## Used By

* [`AutoGenerator.generate`](../functions/AutoGenerator-generate)

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai/praisonai/auto.py#L860">
  `praisonai/auto.py` at line 860
</Card>
