GraphFlowNode

Updated at:

Parameter

Type

Description

Example

object

The flow node.

Id

integer

The node ID.

1

Rid

integer

The rule ID. If the rule is not saved to the database, the value is empty. If the rule is saved, the value equals the ID.

1

Name

string

The node name.

Start node

NodeType

string

The node type.

startNode

Index

integer

The index.

1

Content

string

The content for frontend display.

{}

Properties

object

The node properties.

Type

string

The property type.

Deprecated field

Role

string

The role when the type is single.

Customer

SayType

string

Indicates whether expression is enabled when the type is single.

Deprecated field

RuleScoreType

integer

Specifies whether scoring is enabled.

1

ScoreNum

integer

The score value.

1

ScoreType

integer

The score type. Valid values:

  • 1: Adds points.

  • 3: Deducts points. Default value: 1.

1

ScoreRuleHitType

integer

The score rule hit type. Valid values:

  • 0: Scores when the node is hit.

0

AutoReview

integer

The auto review setting. Valid values:

  • 1: Disables automatic review.

1

ScoreNumType

integer

The score number type. Valid values:

  • 0: Adds or deducts points after the rule is triggered.

  • 1: Assigns a one-time score after the rule is triggered.

1

Lambda

string

The common operator logic.

a

CheckType

integer

The quality check dimension.

1

Triggers

array

The monitored operators.

string

The operator.

a

BranchJudge

boolean

Specifies whether branch judgment is enabled.

true

CheckMoreSize

integer

The maximum number of sentences to check.

1

Conditions

array

The operator information.

ConditionBasicInfo

The operator.

NextNodes

array

The child nodes.

object

The subsequent node.

Index

integer

The flow branch priority. A smaller value indicates a higher priority.

1

Name

string

The conditional branch name.

a

NextNodeId

integer

The subsequent node ID.

31533

Lambda

string

The Lambda expression for the next hop.

a

CheckType

integer

The quality check dimension.

1

Triggers

array

The monitored operators.

string

The operator.

a

UseConditions

boolean

Specifies whether to use operator matching or legacy matching.

true