Skip to content

Commit

Permalink
[Azure Search] Introduce the minimumPrecision parameter for Entity re…
Browse files Browse the repository at this point in the history
…cognition skill (#5553)

* Introduce the minimumPrecision parameter for Entity recognition skill

* Fix weird indentation
  • Loading branch information
arv100kri authored and sarangan12 committed Apr 5, 2019
1 parent 3d5a11f commit bb1a59c
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"organization"
],
"defaultLanguageCode": "en",
"minimumPrecision": 0.7,
"inputs": [
{
"name": "text",
Expand Down Expand Up @@ -112,7 +113,8 @@
"categories": [
"organization"
],
"defaultLanguageCode": "en"
"defaultLanguageCode": "en",
"minimumPrecision": 0.7
},
{
"@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
Expand Down Expand Up @@ -205,7 +207,8 @@
"categories": [
"organization"
],
"defaultLanguageCode": "en"
"defaultLanguageCode": "en",
"minimumPrecision": 0.7
},
{
"@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"organization"
],
"defaultLanguageCode": "en",
"minimumPrecision": 0.7,
"inputs": [
{
"name": "text",
Expand Down Expand Up @@ -112,7 +113,8 @@
"categories": [
"organization"
],
"defaultLanguageCode": "en"
"defaultLanguageCode": "en",
"minimumPrecision": 0.7
},
{
"@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"categories": [
"organization"
],
"defaultLanguageCode": "en"
"defaultLanguageCode": "en",
"minimumPrecision": 0.7
},
{
"@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"categories": [
"organization"
],
"defaultLanguageCode": "en"
"defaultLanguageCode": "en",
"minimumPrecision": 0.7
},
{
"@odata.type": "#Microsoft.Skills.Text.LanguageDetectionSkill",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4738,7 +4738,13 @@
"includeTypelessEntities": {
"type": "boolean",
"x-nullable": true,
"description": "Determines whether or not to include entities which are well known but don't conform to a type. If this configuration is not set (default), set to null or set to false, entities which don't have a type will not be surfaced."
"description": "Determines whether or not to include entities which are well known but don't conform to a pre-defined type. If this configuration is not set (default), set to null or set to false, entities which don't conform to one of the pre-defined types will not be surfaced."
},
"minimumPrecision": {
"type": "number",
"format": "double",
"x-nullable": true,
"description": "A value between 0 and 1 that be used to only include entities whose confidence score is greater than the value specified. If not set (default), or if explicitly set to null, all entities will be included."
}
},
"externalDocs": {
Expand Down

0 comments on commit bb1a59c

Please sign in to comment.