You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: datasets/dea-tools/README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,24 @@ This file is the main driver that dictates how evaluations are executed. Key par
23
23
*`simulated_user_model_config`: Points to the model acting as the user (Gemini 2.5 Pro).
24
24
*`dataset_config`: Points to the Dataset JSON file (described in Step 1).
25
25
*`env` block: Sets local variables like `EVAL_DATAFORM_SETUP_ENV_FILES_DIR` to inject existing files (e.g., workspace settings, schema definitions) into the workspace before the agent runs. This allows the agent to build on top of an established environment instead of starting from scratch.
The model configuration file is defined in `datasets/dea-tools/example_model_config.yaml`. In your model configuration YAML file, you can configure target environments and agent personas:
29
+
30
+
```yaml
31
+
generator: "data_engineering_agent"
32
+
gcp_project_id: !ENV ${EVAL_GCP_PROJECT_ID}
33
+
gcp_region: !ENV ${EVAL_GCP_PROJECT_REGION}
34
+
35
+
# Parameterized Agent Options:
36
+
env: staging # Target environment: "staging" or "prod" (defaults to "prod")
37
+
agent_name: sparkagent # Persona/Agent name: "sparkagent" or "dataengineeringagent"
* **`agent_name`**: Sets the agent persona path parameter (`/v1/a2a/.../agents/{agent_name}`) and automatically attaches the `AGENT_TYPE_URI` metadata header extension (`"SPARK_AGENT"`).
43
+
* **`domain`**: (Optional) Fully overrides the target base host.
26
44
* `scorers`: Defines the evaluation scorers:
27
45
* `binary_rubric_scorer`: Grader that evaluates the conversation against the `binary_rubric` (gives 0 or 100).
28
46
* `dataform_cloud_compile` & `dataform_cloud_run`: Cloud verifiers that compile and run the generated SQLX files in GCP to ensure they are physically valid.
0 commit comments