> ## 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.

# Load Datasets • AI Agents Framework

> load_datasets: API reference for TrainModel.load_datasets

# load\_datasets

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

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

## Signature

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

### Returns

<ResponseField name="Returns" type="Any">
  The result of the operation.
</ResponseField>

## Uses

* `process_dataset`
* `concatenate_datasets`

## Used By

* [`TrainModel.train_model`](../functions/TrainModel-train_model)
* [`TrainVisionModel.train_model`](../functions/TrainVisionModel-train_model)

## Source

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