Skip to content

FlowConditionDict

Dictionary Type

FlowConditionDict

Bases: TypedDict

Dictionary form of FlowCondition.

Attributes

expression instance-attribute
expression: str | None

Defines the condition. You must refer to at least one of the inputs in the condition. For more information, expand the Condition node section in Node types in prompt flows.

name instance-attribute
name: Required[str]

A name for the condition that you can reference.