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

# Set Line Profile Data • AI Agents Framework

> set_line_profile_data: Store line-level profiling data.

# set\_line\_profile\_data

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

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

Store line-level profiling data.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def set_line_profile_data(func_name: str, data: Any) -> None
```

## Parameters

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

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

## Uses

* `cls.is_enabled`

## Used By

* [`profile_lines`](../functions/profile_lines)

## Source

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Agent Profiles" icon="id-card" href="/docs/features/agent-profiles" />

  <Card title="Profiling" icon="chart-line" href="/docs/features/profiling" />
</CardGroup>
