orchestrator-core
Advanced tools
Comparing version 4.14.0-dev.20210521.c01d7feh to 4.14.0-dev.20210524.e69627ah
@@ -49,5 +49,26 @@ // Copyright (c) Microsoft Corporation. All rights reserved. | ||
}; | ||
const example4 = { | ||
text: 'book a flight to miami.', | ||
labels: [ | ||
{ name: 'travel', label_type: 1, span: { offset: 0, length: 0 } }, | ||
{ name: 'taco', label_type: 1, span: { offset: 0, length: 0 } }, | ||
{ name: 'bell', label_type: 1, span: { offset: 0, length: 0 } }, | ||
{ name: 'kirkland', label_type: 1, span: { offset: 0, length: 0 } }, | ||
{ name: 'hungry', label_type: 1, span: { offset: 0, length: 0 } }, | ||
{ name: 'hotsauce', label_type: 1, span: { offset: 0, length: 0 } }, | ||
{ name: 'tomato', label_type: 1, span: { offset: 0, length: 0 } }, | ||
{ name: 'chocolate', label_type: 1, span: { offset: 0, length: 0 } }, | ||
{ name: 'katsuchicken', label_type: 1, span: { offset: 0, length: 0 } }, | ||
{ name: 'pulledport', label_type: 1, span: { offset: 0, length: 0 } }, | ||
{ name: 'hotpot', label_type: 1, span: { offset: 0, length: 0 } }, | ||
{ name: 'hotoil', label_type: 1, span: { offset: 0, length: 0 } }, | ||
{ name: 'dumplings', label_type: 1, span: { offset: 0, length: 0 } }, | ||
{ name: 'flavor', label_type: 1, span: { offset: 0, length: 0 } }, | ||
{ name: 'meat', label_type: 1, span: { offset: 0, length: 0 } }, | ||
{ name: 'tender', label_type: 1, span: { offset: 0, length: 0 } } | ||
] }; | ||
console.log('---- Adding example COMPLEX..'); | ||
var val = labeler.addExample(example); | ||
var val = labeler.addExample(example4); | ||
if (val == true) | ||
@@ -54,0 +75,0 @@ { |
@@ -5,3 +5,3 @@ { | ||
"description": "Orchestrator for Node.js", | ||
"version": "4.14.0-dev.20210521.c01d7feh", | ||
"version": "4.14.0-dev.20210524.e69627ah", | ||
"os": [ | ||
@@ -8,0 +8,0 @@ "darwin", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
853088
854