LUIS - 是否可以 "merge" 两个 datetimeV2 实体

LUIS - is it possible to "merge" two datetimeV2 entities

我们有英语 LUIS 模型,它具有 datetimeV2

类型的活动实体

它工作正常,但在句子中

today 26th march

检测到两个实体,而只需要一个 - 见下文。

是否可以将这个例句检测为一个实体?例如。使用复合实体?


"entities": [
{
    "entity": "today",
    "type": "builtin.datetimeV2.date",
    "resolution": ...
},
{
    "entity": "26th april",
    "type": "builtin.datetimeV2.date",
    "resolution": ...
    }   
]

很遗憾,我们无法删除 prebuilt entities. The behavior of prebuilt entities is pre-trained and cannot be modified. And we cannot wrap same entity type (datetimeV2 twice as child) under composite entity as child entities. A composite entity 的标签是由其他实体组成的,例如预构建实体、列表实体和简单实体。单独的实体形成一个整体实体。