Text Slot
slots:
cuisine: // slot名称
type: text
influence_conversation: false
initial_value: null
auto_fill: false
Boolean Slot
slots:
is_authenticated: // slot名称
type: bool
influence_conversation: false
initial_value: null
auto_fill: false
Categorical Slot
slots:
risk_level: // slot名称
type: categorical
values: // 下面可以定义多个类别,类别数量个名称由用户自己定义,这里的3个只是例子
- low
- medium
- high
influence_conversation: false
initial_value: null
auto_fill: false
Float Slot
slots:
temperature: // slot名称
type: float
min_value: -100.0
max_value: 100.0
influence_conversation: false
initial_value: null
auto_fill: false
List Slot
slots:
shopping_items: // slot名称
type: list
influence_conversation: false
initial_value: null
auto_fill: false
Any Slot
slots:
shopping_items: // slot名称
type: any
influence_conversation: false
initial_value: null
auto_fill: false
PS: influence_conversation、auto_fill的值只能为false或true