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 |
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 compute session. 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. |
|
object |
Dictionary of identity configuration for compute session. Only supported for cloud run. See Identity Schema for the set of configurable properties. |
Resources Schema#
Key |
Type |
Description |
---|---|---|
|
string |
The instance type for compute session of the run. |
|
string |
The compute instance for compute session session. |
Identity Schema#
Key |
Type |
Description |
---|---|---|
|
string |
Identity type, currently only support |
|
string |
Client id for managed identity, only avaible on managed identity. |
Examples#
Run examples are available in the GitHub repository.
Run with identity examples#
# default value
identity:
type: user_identity
# use workspace primary UAI
identity:
type: managed
# use specified client_id's UAI
identity:
type: managed
client_id: xxx