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

# Access UI parameters in remote eval tasks

export const plans_0 = "Any"

export const deployments_0 = "Any"

export const data_plane_version_0 = undefined

export const use_case_0 = undefined

<Note>
  **Applies to:**

  * Plan - {plans_0}
  * Deployment - {deployments_0}
  * {data_plane_version_0}
  * {use_case_0}
</Note>

Summary

To pass configurable values from the playground UI to remote eval task functions, use the parameters system in your `Eval()` configuration. Define parameters with type definitions, descriptions, and defaults, then access them within task functions using `hooks.parameters.get()`. Orchestration settings like `experiment_name` and `max_concurrency` control eval execution but are not exposed through hooks.

## Configuration Steps

### Step 1: Define parameters in Eval configuration

Add parameters with type, description, and default values to your Eval() call.

```python theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
from braintrust import Eval

Eval(
    "My Project",
    task=task,
    scores=[...],
    parameters={
        "experiment_label": {
            "type": "string",
            "description": "Label for this experiment run",
            "default": "my-experiment",
        },
        "concurrency": {
            "type": "number",
            "description": "Max concurrent tasks",
            "default": 10,
        },
    },
)

```

### Step 2: Access parameters in task function

Use `hooks.parameters.get()` to retrieve parameter values in your task.

```python theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
async def task(input, hooks):
    label = hooks.parameters.get("experiment_label")
    concurrency = hooks.parameters.get("concurrency")
    # use values as needed

```

### Step 3: Configure in playground UI

Parameters automatically appear as editable controls in the remote eval playground.
