将 EntityRecognitionSkill 限制为 confident > .5

limit EntityRecognitionSkill to confident > .5

我在我的技能集中使用 Microsoft.Skills.Text.EntityRecognitionSkill,输出 "Person"、"Location"、"Organization"。 但是我只想输出置信度 > .5 的 Location 有没有办法做到这一点? 这是我的代码

{
      "@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill",
      "categories": [
        "Person",
        "Location",
        "Organization"
      ],
      "context": "/document/finalText/pages/*",
      "inputs": [
        {
          "name": "text",
          "source": "/document/finalText/pages/*"
        },
        {
          "name": "languageCode",
          "source": "/document/languageCode"
        }
      ],
      "outputs": [
        {
          "name": "persons",
          "targetName": "people"
        },
        {
          "name": "locations"
        },
        {
          "name": "namedEntities",
          "targetName": "entities"
        }
      ]
    },

[根据米克的评论编辑]

是的,这应该可以通过将实体识别技能的 minimumPrecision 参数设置为 0.5 来实现,这将导致返回置信度 >= 0.5 的实体。

实体识别技巧的文档在这里:https://docs.microsoft.com/en-us/azure/search/cognitive-search-skill-entity-recognition

正如 Mick 指出的那样,文档说 minimumPrecision 未被使用,但是该文档已过时,我会尽快修复它。