C# 导出应用程序时如何在LUIS的话语中获取ClosedList实体映射
我正在使用此导出给定LUIS版本的LUIS应用程序 当我导出具有列表实体(ClosedList)的模型时,我不会得到映射到列表类型实体的语句C# 导出应用程序时如何在LUIS的话语中获取ClosedList实体映射,c#,botframework,azure-language-understanding,C#,Botframework,Azure Language Understanding,我正在使用此导出给定LUIS版本的LUIS应用程序 当我导出具有列表实体(ClosedList)的模型时,我不会得到映射到列表类型实体的语句 请参阅以下JSON { "luis_schema_version": "2.1.0", "versionId": "0.1", "name": "DemoApp", "desc": "", "culture": "en-us", "intents": [ { "name": "Ask Person Inform
请参阅以下JSON
{
"luis_schema_version": "2.1.0",
"versionId": "0.1",
"name": "DemoApp",
"desc": "",
"culture": "en-us",
"intents": [
{
"name": "Ask Person Information"
},
{
"name": "None"
}
],
"entities": [
{
"name": "Age"
},
{
"name": "Name"
}
],
"composites": [],
"closedLists": [
{
"name": "Hobbies",
"subLists": [
{
"canonicalForm": "Sports",
"list": [
"playing sports",
"cricket",
"football",
"hockey",
"chess",
"table tennis"
]
},
{
"canonicalForm": "Travelling",
"list": [
"roaming",
"travelling",
"travel"
]
},
{
"canonicalForm": "Music",
"list": [
"playing music",
"playing in a band",
"band",
"music",
"singing"
]
}
]
}
],
"bing_entities": [],
"model_features": [],
"regex_features": [],
"utterances": [
{
"text": "i am kunal and i like playing football and am 22 years old",
"intent": "Ask Person Information",
"entities": [
{
"entity": "Name",
"startPos": 5,
"endPos": 9
},
{
"entity": "Age",
"startPos": 46,
"endPos": 47
}
]
},
{
"text": "i am kunal and i like music",
"intent": "Ask Person Information",
"entities": [
{
"entity": "Name",
"startPos": 5,
"endPos": 9
}
]
},
{
"text": "i am kunal and pushing 22",
"intent": "Ask Person Information",
"entities": [
{
"entity": "Name",
"startPos": 5,
"endPos": 9
},
{
"entity": "Age",
"startPos": 23,
"endPos": 24
}
]
},
{
"text": "my name is kunal and i am 22 years old",
"intent": "Ask Person Information",
"entities": [
{
"entity": "Name",
"startPos": 11,
"endPos": 15
},
{
"entity": "Age",
"startPos": 26,
"endPos": 27
}
]
},
{
"text": "hi i am kunal and 22 years old",
"intent": "Ask Person Information",
"entities": [
{
"entity": "Name",
"startPos": 8,
"endPos": 12
},
{
"entity": "Age",
"startPos": 18,
"endPos": 19
}
]
},
{
"text": "hi my name is john doe and my hobbies are travelling and playing",
"intent": "Ask Person Information",
"entities": [
{
"entity": "Name",
"startPos": 14,
"endPos": 21
}
]
}
]
}
是否有任何方法可以从LUIS导出的模型中获取标记为列出实体类型的语句
提前谢谢。重新导入和培训应用程序时,路易斯将重新应用列表实体 “列表实体不必在语句中标记或由系统训练。 列表实体是一个明确指定的值列表。与其他实体类型不同,LUIS在培训期间不会发现列表实体的其他值。因此,每个列表实体形成一个封闭集。“您所说的“与其他实体类型不同,LUIS在培训期间不会发现列表实体的其他值”是什么意思@DFBerry说,“封闭列表”,因此除了提供的值之外,没有其他可能的值。因此,对标记每个语句中的值没有兴趣,它们会自动被发现