from_intent:
这种mapping会在识别到定义的intent时,使用设定的值来填充slot。如果你不指定intent,那么只要任何不在not_intent里的intent都会导致这个slot的填充。
示例如下:
slots:
slot_name:
type: any
mappings:
- type: from_intent
value: my_value
intent: intent_name
not_intent: excluded_intent
qq6215ad906e9bf ©著作权
文章标签 Rasa课程、Rasa培训 Rasa对话机器人 文章分类 人工智能
from_intent:
这种mapping会在识别到定义的intent时,使用设定的值来填充slot。如果你不指定intent,那么只要任何不在not_intent里的intent都会导致这个slot的填充。
示例如下:
slots:
slot_name:
type: any
mappings:
- type: from_intent
value: my_value
intent: intent_name
not_intent: excluded_intent
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M