Run YAML Schema#
Experimental feature
This is an experimental feature, and may change at any time. Learn more.
The source JSON schema can be found at Run.schema.json
YAML syntax#
Key |
Type |
Description |
---|---|---|
|
string |
The YAML schema. If you use the prompt flow VS Code extension to author the YAML file, including $schema at the top of your file enables you to invoke schema and resource completions. |
|
string |
The name of the run. |
|
string |
Path of the flow directory. |
|
string |
Description of the run. |
|
string |
Display name of the run. |
|
string |
The runtime for the run. Only supported for cloud run. |
|
string |
Input data for the run. Local path or remote uri(starts with azureml: or public URL) are supported. Note: remote uri is only supported for cloud run. |
|
string |
Referenced flow run name. For example, you can run an evaluation flow against an existing run. |
|
object |
Inputs column mapping, use |
|
object |
Overwrite node level connections with provided value. Example: –connections node1.connection=test_llm_connection node1.deployment_name=gpt-35-turbo |
|
object/string |
Environment variables to set by specifying a property path and value. Example: |
|
object |
Dictionary of properties of the run. |
|
object |
Dictionary of tags of the run. |
|
object |
Dictionary of resources used for automatic runtime. Only supported for cloud run. See Resources Schema for the set of configurable properties. |
|
string |
The variant for the run. |
|
string |
The status of the run. Only available for when getting an existing run. Won’t take affect if set when creating a run. |
Resources Schema#
Key |
Type |
Description |
---|---|---|
|
string |
The instance type for automatic runtime of the run. |
|
integer |
The idle time before automatic runtime shutdown in minutes. |
Examples#
Run examples are available in the GitHub repository.