为 IBM watson 聊天机器人导入 .csv 意图文件的布局

Layout for importing .csv intent file for IBM watson chatbot

我正在创建一个聊天机器人,需要导入一个 .csv 文件作为意图。我的问题是关于布局;我目前有一个城市列表,但是在导入时,我的意向名称应该在城市名称旁边的 A 行中,还是在城市名称之前用“,”分隔的 B 行中?

谢谢。

意图应该是对所问内容有明确意图的问题。

说 "Dubai" 除了作为词义之外没有任何意义。使用城市名称进行意图训练不会给你带来很好的结果。

Intent 的文件格式为 listed here。它是 question,intent 格式。

示例:

Tell me the current weather conditions.,weather_conditions
Is it raining?,weather_conditions
What's the temperature?,weather_conditions
Where is your nearest location?,find_location
Do you have a store in Raleigh?,find_location

实体是 entitiy,value, synomns,...

的非标准格式

示例:

weekday,Monday,Mon
weekday,Tuesday,Tue,Tues
weekday,Wednesday,Wed
weekday,Thursday,Thur,Thu,Thurs
weekday,Friday,Fri
weekday,Saturday,Sat
weekday,Sunday,Sun

更多 details for entities here