ConditionBasicInfo

更新时间:
复制 MD 格式

名称

类型

描述

示例值

object

表达式

Cid

string

条件 id,可能是 db 中的主键,也可能是转换成的 a, b, c

a

Id

integer

在 db 中的主键

1

Rid

string

条件所属的规则 id

1

Check_range

object

检测范围

RoleId

integer

对应 RoleType.id

1

Role

string

对应 RoleType.type

客服

Anchor

object

前置后置条件

Cid

string

条件 ID

a

Location

string

位置

BEFORE

Hit_time

integer

命中次数

1

Range

object

相对范围

From

integer

对话开始索引

1

To

integer

对话结束索引

2

Absolute

boolean

false: 相对位置; 会结合 anchor 以及角色来决定句子位置

true

AllSentencesSatisfy

boolean

true: 每句话都必须满足条件;

true

Operators

array

算子列表

OperatorBasicInfo

算子

Lambda

string

Lambda 表达式:例如:a&&b

a

Exclusion

integer

排除

0

Name

string

条件名

xx

UserGroup

string

用户组

xxxx