https://blog.csdn.net/liaowenfeng/article/details/125186213
https://www.cnblogs.com/fanhua999/p/17635382.html
意图测试图说明 https://blog.csdn.net/liaowenfeng/article/details/125186213
#训练 NLU 模型
rasa train nlu
# 测试nlu
rasa shell nlu
#拆分测试与训练数据
rasa data split nlu
#rasa test nlu指令测试
rasa test nlu --nlu train_test_split/test_data.yml
#模型评估, 交叉验证来估计模型的泛化能力
rasa test nlu --nlu data/nlu.yml --config config.yml --cross-validation
评估core模型
rasa test core
https://cloud.tencent.com/developer/article/1558125
语料配置-识别
version: "3.1"
nlu:
- intent: beautiful # 意图名称
examples: |
- 太帅了
- 你怎么这么帅
- 你太漂亮了
- 你太美了
- synonym: 番茄
examples: |
- 蕃茄
- 西红杮
- 洋杮子
- lookup: 城市
examples: |
- 北京
- 上海
- ...
- regex: mobile_number
examples: |
- \d{10,12}
https://blog.csdn.net/xyk_6666/article/details/132367854
https://www.zhihu.com/tardis/zm/art/438158445?source_id=1005
nlu:
- intent: check_balance
examples: |
- [今天](date)几号
- [今天](date-time)[合肥](address)天气如何
- What's the balance on my [credit card account]{"entity":"account","value":"credit"}
[实体值](实体类型名)
[实体值]{"key":"value",...}
nlu:
- intent: query_knowledge_base
examples: |
[刚才那首](mention)属于什么[专辑](attribute)