DP-100 · Question #561
You manage an Azure AI Foundry project. You develop a Prompt flow that includes a large language model (LLM) node and an upstream node with a single output. You need to link the LLM node input with th
The correct answer is D. ${upstream_node_name.output}. In Azure AI Foundry Prompt flow, YAML flow configurations use the syntax ${{node_name.output}} to reference the output of an upstream node and pass it as input to a downstream node such as an LLM node. This dollar-sign double-brace syntax is the standard Jinja2-like expression fo
Question
Options
- A{% upstream_node_name.output %}
- B{{upstream_node_name.output}}
- C<#upstream_node_name.output#>
- D${upstream_node_name.output}
How the community answered
(47 responses)- A2% (1)
- B6% (3)
- C2% (1)
- D89% (42)
Explanation
In Azure AI Foundry Prompt flow, YAML flow configurations use the syntax ${{node_name.output}} to reference the output of an upstream node and pass it as input to a downstream node such as an LLM node. This dollar-sign double-brace syntax is the standard Jinja2-like expression format used in Prompt flow DAG YAML files. Option A uses percent signs (Jinja block syntax), Option B uses quadruple braces, and Option C uses hash signs - none of which are valid Prompt flow expression syntax.
Topics
Community Discussion
No community discussion yet for this question.