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

# Process Dataset • AI Agents Framework

> process_dataset: API reference for TrainModel.process_dataset

# process\_dataset

<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 process_dataset(dataset_info: Any) -> Any
```

## Parameters

<ParamField query="dataset_info" type="Any" required={true}>
  No description available.
</ParamField>

### Returns

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

## Uses

* `load_dataset`
* `standardize_sharegpt`
* `partial`

## Used By

* [`TrainModel.load_datasets`](../functions/TrainModel-load_datasets)

## Source

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