Model class

Class representing a Model.

Constructors

Model(LUISAuthoringClientContext)

Create a Model.

Methods

addClosedList(string, string, ClosedListModelCreateObject, RequestOptionsBase)

Adds a list entity model to a version of the application.

addClosedList(string, string, ClosedListModelCreateObject, RequestOptionsBase, ServiceCallback<string>)
addClosedList(string, string, ClosedListModelCreateObject, ServiceCallback<string>)
addCompositeEntityChild(string, string, string, CompositeChildModelCreateObject, RequestOptionsBase)

Creates a single child in an existing composite entity model in a version of the application.

addCompositeEntityChild(string, string, string, CompositeChildModelCreateObject, RequestOptionsBase, ServiceCallback<string>)
addCompositeEntityChild(string, string, string, CompositeChildModelCreateObject, ServiceCallback<string>)
addCustomPrebuiltDomain(string, string, PrebuiltDomainCreateBaseObject, RequestOptionsBase)

Adds a customizable prebuilt domain along with all of its intent and entity models in a version of the application.

addCustomPrebuiltDomain(string, string, PrebuiltDomainCreateBaseObject, RequestOptionsBase, ServiceCallback<string[]>)
addCustomPrebuiltDomain(string, string, PrebuiltDomainCreateBaseObject, ServiceCallback<string[]>)
addCustomPrebuiltEntity(string, string, PrebuiltDomainModelCreateObject, RequestOptionsBase)

Adds a prebuilt entity model to a version of the application.

addCustomPrebuiltEntity(string, string, PrebuiltDomainModelCreateObject, RequestOptionsBase, ServiceCallback<string>)
addCustomPrebuiltEntity(string, string, PrebuiltDomainModelCreateObject, ServiceCallback<string>)
addCustomPrebuiltIntent(string, string, PrebuiltDomainModelCreateObject, RequestOptionsBase)

Adds a customizable prebuilt intent model to a version of the application.

addCustomPrebuiltIntent(string, string, PrebuiltDomainModelCreateObject, RequestOptionsBase, ServiceCallback<string>)
addCustomPrebuiltIntent(string, string, PrebuiltDomainModelCreateObject, ServiceCallback<string>)
addEntity(string, string, EntityModelCreateObject, RequestOptionsBase)

Adds an entity extractor to a version of the application.

addEntity(string, string, EntityModelCreateObject, RequestOptionsBase, ServiceCallback<string>)
addEntity(string, string, EntityModelCreateObject, ServiceCallback<string>)
addEntityChild(string, string, string, ChildEntityModelCreateObject, RequestOptionsBase)

Creates a single child in an existing entity model hierarchy in a version of the application.

addEntityChild(string, string, string, ChildEntityModelCreateObject, RequestOptionsBase, ServiceCallback<string>)
addEntityChild(string, string, string, ChildEntityModelCreateObject, ServiceCallback<string>)
addExplicitListItem(string, string, string, ExplicitListItemCreateObject, RequestOptionsBase)
addExplicitListItem(string, string, string, ExplicitListItemCreateObject, RequestOptionsBase, ServiceCallback<number>)
addExplicitListItem(string, string, string, ExplicitListItemCreateObject, ServiceCallback<number>)
addIntent(string, string, ModelCreateObject, RequestOptionsBase)

Adds an intent to a version of the application.

addIntent(string, string, ModelCreateObject, RequestOptionsBase, ServiceCallback<string>)
addIntent(string, string, ModelCreateObject, ServiceCallback<string>)
addPrebuilt(string, string, string[], RequestOptionsBase)

Adds a list of prebuilt entities to a version of the application.

addPrebuilt(string, string, string[], RequestOptionsBase, ServiceCallback<PrebuiltEntityExtractor[]>)
addPrebuilt(string, string, string[], ServiceCallback<PrebuiltEntityExtractor[]>)
addSubList(string, string, string, WordListObject, RequestOptionsBase)

Adds a sublist to an existing list entity in a version of the application.

addSubList(string, string, string, WordListObject, RequestOptionsBase, ServiceCallback<number>)
addSubList(string, string, string, WordListObject, ServiceCallback<number>)
createClosedListEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase)
createClosedListEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase, ServiceCallback<string>)
createClosedListEntityRole(string, string, string, EntityRoleCreateObject, ServiceCallback<string>)
createCompositeEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase)
createCompositeEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase, ServiceCallback<string>)
createCompositeEntityRole(string, string, string, EntityRoleCreateObject, ServiceCallback<string>)
createCustomPrebuiltEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase)
createCustomPrebuiltEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase, ServiceCallback<string>)
createCustomPrebuiltEntityRole(string, string, string, EntityRoleCreateObject, ServiceCallback<string>)
createEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase)
createEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase, ServiceCallback<string>)
createEntityRole(string, string, string, EntityRoleCreateObject, ServiceCallback<string>)
createHierarchicalEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase)
createHierarchicalEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase, ServiceCallback<string>)
createHierarchicalEntityRole(string, string, string, EntityRoleCreateObject, ServiceCallback<string>)
createPatternAnyEntityModel(string, string, PatternAnyModelCreateObject, RequestOptionsBase)
createPatternAnyEntityModel(string, string, PatternAnyModelCreateObject, RequestOptionsBase, ServiceCallback<string>)
createPatternAnyEntityModel(string, string, PatternAnyModelCreateObject, ServiceCallback<string>)
createPatternAnyEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase)
createPatternAnyEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase, ServiceCallback<string>)
createPatternAnyEntityRole(string, string, string, EntityRoleCreateObject, ServiceCallback<string>)
createPrebuiltEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase)
createPrebuiltEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase, ServiceCallback<string>)
createPrebuiltEntityRole(string, string, string, EntityRoleCreateObject, ServiceCallback<string>)
createRegexEntityModel(string, string, RegexModelCreateObject, RequestOptionsBase)
createRegexEntityModel(string, string, RegexModelCreateObject, RequestOptionsBase, ServiceCallback<string>)
createRegexEntityModel(string, string, RegexModelCreateObject, ServiceCallback<string>)
createRegexEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase)
createRegexEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase, ServiceCallback<string>)
createRegexEntityRole(string, string, string, EntityRoleCreateObject, ServiceCallback<string>)
deleteClosedList(string, string, string, RequestOptionsBase)

Deletes a list entity model from a version of the application.

deleteClosedList(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deleteClosedList(string, string, string, ServiceCallback<OperationStatus>)
deleteClosedListEntityRole(string, string, string, string, RequestOptionsBase)
deleteClosedListEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deleteClosedListEntityRole(string, string, string, string, ServiceCallback<OperationStatus>)
deleteCompositeEntity(string, string, string, RequestOptionsBase)

Deletes a composite entity from a version of the application.

deleteCompositeEntity(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deleteCompositeEntity(string, string, string, ServiceCallback<OperationStatus>)
deleteCompositeEntityChild(string, string, string, string, RequestOptionsBase)

Deletes a composite entity extractor child from a version of the application.

deleteCompositeEntityChild(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deleteCompositeEntityChild(string, string, string, string, ServiceCallback<OperationStatus>)
deleteCompositeEntityRole(string, string, string, string, RequestOptionsBase)
deleteCompositeEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deleteCompositeEntityRole(string, string, string, string, ServiceCallback<OperationStatus>)
deleteCustomEntityRole(string, string, string, string, RequestOptionsBase)
deleteCustomEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deleteCustomEntityRole(string, string, string, string, ServiceCallback<OperationStatus>)
deleteCustomPrebuiltDomain(string, string, string, RequestOptionsBase)

Deletes a prebuilt domain's models in a version of the application.

deleteCustomPrebuiltDomain(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deleteCustomPrebuiltDomain(string, string, string, ServiceCallback<OperationStatus>)
deleteEntity(string, string, string, RequestOptionsBase)

Deletes an entity or a child from a version of the application.

deleteEntity(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deleteEntity(string, string, string, ServiceCallback<OperationStatus>)
deleteEntityFeature(string, string, string, ModelFeatureInformation, RequestOptionsBase)

Deletes a relation from the feature relations used by the entity in a version of the application.

deleteEntityFeature(string, string, string, ModelFeatureInformation, RequestOptionsBase, ServiceCallback<OperationStatus>)
deleteEntityFeature(string, string, string, ModelFeatureInformation, ServiceCallback<OperationStatus>)
deleteEntityRole(string, string, string, string, RequestOptionsBase)
deleteEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deleteEntityRole(string, string, string, string, ServiceCallback<OperationStatus>)
deleteExplicitListItem(string, string, string, number, RequestOptionsBase)
deleteExplicitListItem(string, string, string, number, RequestOptionsBase, ServiceCallback<OperationStatus>)
deleteExplicitListItem(string, string, string, number, ServiceCallback<OperationStatus>)
deleteHierarchicalEntity(string, string, string, RequestOptionsBase)

Deletes a hierarchical entity from a version of the application.

deleteHierarchicalEntity(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deleteHierarchicalEntity(string, string, string, ServiceCallback<OperationStatus>)
deleteHierarchicalEntityChild(string, string, string, string, RequestOptionsBase)

Deletes a hierarchical entity extractor child in a version of the application.

deleteHierarchicalEntityChild(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deleteHierarchicalEntityChild(string, string, string, string, ServiceCallback<OperationStatus>)
deleteHierarchicalEntityRole(string, string, string, string, RequestOptionsBase)
deleteHierarchicalEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deleteHierarchicalEntityRole(string, string, string, string, ServiceCallback<OperationStatus>)
deleteIntent(string, string, string, ModelDeleteIntentOptionalParams)

Deletes an intent from a version of the application.

deleteIntent(string, string, string, ModelDeleteIntentOptionalParams, ServiceCallback<OperationStatus>)
deleteIntent(string, string, string, ServiceCallback<OperationStatus>)
deleteIntentFeature(string, string, string, ModelFeatureInformation, RequestOptionsBase)

Deletes a relation from the feature relations used by the intent in a version of the application.

deleteIntentFeature(string, string, string, ModelFeatureInformation, RequestOptionsBase, ServiceCallback<OperationStatus>)
deleteIntentFeature(string, string, string, ModelFeatureInformation, ServiceCallback<OperationStatus>)
deletePatternAnyEntityModel(string, string, string, RequestOptionsBase)
deletePatternAnyEntityModel(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deletePatternAnyEntityModel(string, string, string, ServiceCallback<OperationStatus>)
deletePatternAnyEntityRole(string, string, string, string, RequestOptionsBase)
deletePatternAnyEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deletePatternAnyEntityRole(string, string, string, string, ServiceCallback<OperationStatus>)
deletePrebuilt(string, string, string, RequestOptionsBase)

Deletes a prebuilt entity extractor from a version of the application.

deletePrebuilt(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deletePrebuilt(string, string, string, ServiceCallback<OperationStatus>)
deletePrebuiltEntityRole(string, string, string, string, RequestOptionsBase)
deletePrebuiltEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deletePrebuiltEntityRole(string, string, string, string, ServiceCallback<OperationStatus>)
deleteRegexEntityModel(string, string, string, RequestOptionsBase)
deleteRegexEntityModel(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deleteRegexEntityModel(string, string, string, ServiceCallback<OperationStatus>)
deleteRegexEntityRole(string, string, string, string, RequestOptionsBase)
deleteRegexEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)
deleteRegexEntityRole(string, string, string, string, ServiceCallback<OperationStatus>)
deleteSubList(string, string, string, number, RequestOptionsBase)

Deletes a sublist of a specific list entity model from a version of the application.

deleteSubList(string, string, string, number, RequestOptionsBase, ServiceCallback<OperationStatus>)
deleteSubList(string, string, string, number, ServiceCallback<OperationStatus>)
examplesMethod(string, string, string, ModelExamplesMethodOptionalParams)

Gets the example utterances for the given intent or entity model in a version of the application.

examplesMethod(string, string, string, ModelExamplesMethodOptionalParams, ServiceCallback<LabelTextObject[]>)
examplesMethod(string, string, string, ServiceCallback<LabelTextObject[]>)
getClosedList(string, string, string, RequestOptionsBase)

Gets information about a list entity in a version of the application.

getClosedList(string, string, string, RequestOptionsBase, ServiceCallback<ClosedListEntityExtractor>)
getClosedList(string, string, string, ServiceCallback<ClosedListEntityExtractor>)
getClosedListEntityRole(string, string, string, string, RequestOptionsBase)
getClosedListEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<EntityRole>)
getClosedListEntityRole(string, string, string, string, ServiceCallback<EntityRole>)
getCompositeEntity(string, string, string, RequestOptionsBase)

Gets information about a composite entity in a version of the application.

getCompositeEntity(string, string, string, RequestOptionsBase, ServiceCallback<CompositeEntityExtractor>)
getCompositeEntity(string, string, string, ServiceCallback<CompositeEntityExtractor>)
getCompositeEntityRole(string, string, string, string, RequestOptionsBase)
getCompositeEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<EntityRole>)
getCompositeEntityRole(string, string, string, string, ServiceCallback<EntityRole>)
getCustomEntityRole(string, string, string, string, RequestOptionsBase)
getCustomEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<EntityRole>)
getCustomEntityRole(string, string, string, string, ServiceCallback<EntityRole>)
getEntity(string, string, string, RequestOptionsBase)

Gets information about an entity model in a version of the application.

getEntity(string, string, string, RequestOptionsBase, ServiceCallback<NDepthEntityExtractor>)
getEntity(string, string, string, ServiceCallback<NDepthEntityExtractor>)
getEntityFeatures(string, string, string, RequestOptionsBase)

Gets the information of the features used by the entity in a version of the application.

getEntityFeatures(string, string, string, RequestOptionsBase, ServiceCallback<ModelFeatureInformation[]>)
getEntityFeatures(string, string, string, ServiceCallback<ModelFeatureInformation[]>)
getEntityRole(string, string, string, string, RequestOptionsBase)
getEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<EntityRole>)
getEntityRole(string, string, string, string, ServiceCallback<EntityRole>)
getExplicitList(string, string, string, RequestOptionsBase)
getExplicitList(string, string, string, RequestOptionsBase, ServiceCallback<ExplicitListItem[]>)
getExplicitList(string, string, string, ServiceCallback<ExplicitListItem[]>)
getExplicitListItem(string, string, string, number, RequestOptionsBase)
getExplicitListItem(string, string, string, number, RequestOptionsBase, ServiceCallback<ExplicitListItem>)
getExplicitListItem(string, string, string, number, ServiceCallback<ExplicitListItem>)
getHierarchicalEntity(string, string, string, RequestOptionsBase)

Gets information about a hierarchical entity in a version of the application.

getHierarchicalEntity(string, string, string, RequestOptionsBase, ServiceCallback<HierarchicalEntityExtractor>)
getHierarchicalEntity(string, string, string, ServiceCallback<HierarchicalEntityExtractor>)
getHierarchicalEntityChild(string, string, string, string, RequestOptionsBase)

Gets information about the child's model contained in an hierarchical entity child model in a version of the application.

getHierarchicalEntityChild(string, string, string, string, RequestOptionsBase, ServiceCallback<HierarchicalChildEntity>)
getHierarchicalEntityChild(string, string, string, string, ServiceCallback<HierarchicalChildEntity>)
getHierarchicalEntityRole(string, string, string, string, RequestOptionsBase)
getHierarchicalEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<EntityRole>)
getHierarchicalEntityRole(string, string, string, string, ServiceCallback<EntityRole>)
getIntent(string, string, string, RequestOptionsBase)

Gets information about the intent model in a version of the application.

getIntent(string, string, string, RequestOptionsBase, ServiceCallback<IntentClassifier>)
getIntent(string, string, string, ServiceCallback<IntentClassifier>)
getIntentFeatures(string, string, string, RequestOptionsBase)

Gets the information of the features used by the intent in a version of the application.

getIntentFeatures(string, string, string, RequestOptionsBase, ServiceCallback<ModelFeatureInformation[]>)
getIntentFeatures(string, string, string, ServiceCallback<ModelFeatureInformation[]>)
getPatternAnyEntityInfo(string, string, string, RequestOptionsBase)
getPatternAnyEntityInfo(string, string, string, RequestOptionsBase, ServiceCallback<PatternAnyEntityExtractor>)
getPatternAnyEntityInfo(string, string, string, ServiceCallback<PatternAnyEntityExtractor>)
getPatternAnyEntityRole(string, string, string, string, RequestOptionsBase)
getPatternAnyEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<EntityRole>)
getPatternAnyEntityRole(string, string, string, string, ServiceCallback<EntityRole>)
getPrebuilt(string, string, string, RequestOptionsBase)

Gets information about a prebuilt entity model in a version of the application.

getPrebuilt(string, string, string, RequestOptionsBase, ServiceCallback<PrebuiltEntityExtractor>)
getPrebuilt(string, string, string, ServiceCallback<PrebuiltEntityExtractor>)
getPrebuiltEntityRole(string, string, string, string, RequestOptionsBase)
getPrebuiltEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<EntityRole>)
getPrebuiltEntityRole(string, string, string, string, ServiceCallback<EntityRole>)
getRegexEntityEntityInfo(string, string, string, RequestOptionsBase)
getRegexEntityEntityInfo(string, string, string, RequestOptionsBase, ServiceCallback<RegexEntityExtractor>)
getRegexEntityEntityInfo(string, string, string, ServiceCallback<RegexEntityExtractor>)
getRegexEntityRole(string, string, string, string, RequestOptionsBase)
getRegexEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<EntityRole>)
getRegexEntityRole(string, string, string, string, ServiceCallback<EntityRole>)
listClosedListEntityRoles(string, string, string, RequestOptionsBase)
listClosedListEntityRoles(string, string, string, RequestOptionsBase, ServiceCallback<EntityRole[]>)
listClosedListEntityRoles(string, string, string, ServiceCallback<EntityRole[]>)
listClosedLists(string, string, ModelListClosedListsOptionalParams)

Gets information about all the list entity models in a version of the application.

listClosedLists(string, string, ModelListClosedListsOptionalParams, ServiceCallback<ClosedListEntityExtractor[]>)
listClosedLists(string, string, ServiceCallback<ClosedListEntityExtractor[]>)
listCompositeEntities(string, string, ModelListCompositeEntitiesOptionalParams)

Gets information about all the composite entity models in a version of the application.

listCompositeEntities(string, string, ModelListCompositeEntitiesOptionalParams, ServiceCallback<CompositeEntityExtractor[]>)
listCompositeEntities(string, string, ServiceCallback<CompositeEntityExtractor[]>)
listCompositeEntityRoles(string, string, string, RequestOptionsBase)
listCompositeEntityRoles(string, string, string, RequestOptionsBase, ServiceCallback<EntityRole[]>)
listCompositeEntityRoles(string, string, string, ServiceCallback<EntityRole[]>)
listCustomPrebuiltEntities(string, string, RequestOptionsBase)

Gets all prebuilt entities used in a version of the application.

listCustomPrebuiltEntities(string, string, RequestOptionsBase, ServiceCallback<EntityExtractor[]>)
listCustomPrebuiltEntities(string, string, ServiceCallback<EntityExtractor[]>)
listCustomPrebuiltEntityRoles(string, string, string, RequestOptionsBase)
listCustomPrebuiltEntityRoles(string, string, string, RequestOptionsBase, ServiceCallback<EntityRole[]>)
listCustomPrebuiltEntityRoles(string, string, string, ServiceCallback<EntityRole[]>)
listCustomPrebuiltIntents(string, string, RequestOptionsBase)

Gets information about customizable prebuilt intents added to a version of the application.

listCustomPrebuiltIntents(string, string, RequestOptionsBase, ServiceCallback<IntentClassifier[]>)
listCustomPrebuiltIntents(string, string, ServiceCallback<IntentClassifier[]>)
listCustomPrebuiltModels(string, string, RequestOptionsBase)

Gets all prebuilt intent and entity model information used in a version of this application.

listCustomPrebuiltModels(string, string, RequestOptionsBase, ServiceCallback<CustomPrebuiltModel[]>)
listCustomPrebuiltModels(string, string, ServiceCallback<CustomPrebuiltModel[]>)
listEntities(string, string, ModelListEntitiesOptionalParams)

Gets information about all the simple entity models in a version of the application.

listEntities(string, string, ModelListEntitiesOptionalParams, ServiceCallback<NDepthEntityExtractor[]>)
listEntities(string, string, ServiceCallback<NDepthEntityExtractor[]>)
listEntityRoles(string, string, string, RequestOptionsBase)
listEntityRoles(string, string, string, RequestOptionsBase, ServiceCallback<EntityRole[]>)
listEntityRoles(string, string, string, ServiceCallback<EntityRole[]>)
listEntitySuggestions(string, string, string, ModelListEntitySuggestionsOptionalParams)

Get suggested example utterances that would improve the accuracy of the entity model in a version of the application.

listEntitySuggestions(string, string, string, ModelListEntitySuggestionsOptionalParams, ServiceCallback<EntitiesSuggestionExample[]>)
listEntitySuggestions(string, string, string, ServiceCallback<EntitiesSuggestionExample[]>)
listHierarchicalEntities(string, string, ModelListHierarchicalEntitiesOptionalParams)

Gets information about all the hierarchical entity models in a version of the application.

listHierarchicalEntities(string, string, ModelListHierarchicalEntitiesOptionalParams, ServiceCallback<HierarchicalEntityExtractor[]>)
listHierarchicalEntities(string, string, ServiceCallback<HierarchicalEntityExtractor[]>)
listHierarchicalEntityRoles(string, string, string, RequestOptionsBase)
listHierarchicalEntityRoles(string, string, string, RequestOptionsBase, ServiceCallback<EntityRole[]>)
listHierarchicalEntityRoles(string, string, string, ServiceCallback<EntityRole[]>)
listIntents(string, string, ModelListIntentsOptionalParams)

Gets information about the intent models in a version of the application.

listIntents(string, string, ModelListIntentsOptionalParams, ServiceCallback<IntentClassifier[]>)
listIntents(string, string, ServiceCallback<IntentClassifier[]>)
listIntentSuggestions(string, string, string, ModelListIntentSuggestionsOptionalParams)

Suggests example utterances that would improve the accuracy of the intent model in a version of the application.

listIntentSuggestions(string, string, string, ModelListIntentSuggestionsOptionalParams, ServiceCallback<IntentsSuggestionExample[]>)
listIntentSuggestions(string, string, string, ServiceCallback<IntentsSuggestionExample[]>)
listModels(string, string, ModelListModelsOptionalParams)

Gets information about all the intent and entity models in a version of the application.

listModels(string, string, ModelListModelsOptionalParams, ServiceCallback<ModelInfoResponse[]>)
listModels(string, string, ServiceCallback<ModelInfoResponse[]>)
listPatternAnyEntityInfos(string, string, ModelListPatternAnyEntityInfosOptionalParams)
listPatternAnyEntityInfos(string, string, ModelListPatternAnyEntityInfosOptionalParams, ServiceCallback<PatternAnyEntityExtractor[]>)
listPatternAnyEntityInfos(string, string, ServiceCallback<PatternAnyEntityExtractor[]>)
listPatternAnyEntityRoles(string, string, string, RequestOptionsBase)
listPatternAnyEntityRoles(string, string, string, RequestOptionsBase, ServiceCallback<EntityRole[]>)
listPatternAnyEntityRoles(string, string, string, ServiceCallback<EntityRole[]>)
listPrebuiltEntities(string, string, RequestOptionsBase)

Gets all the available prebuilt entities in a version of the application.

listPrebuiltEntities(string, string, RequestOptionsBase, ServiceCallback<AvailablePrebuiltEntityModel[]>)
listPrebuiltEntities(string, string, ServiceCallback<AvailablePrebuiltEntityModel[]>)
listPrebuiltEntityRoles(string, string, string, RequestOptionsBase)
listPrebuiltEntityRoles(string, string, string, RequestOptionsBase, ServiceCallback<EntityRole[]>)
listPrebuiltEntityRoles(string, string, string, ServiceCallback<EntityRole[]>)
listPrebuilts(string, string, ModelListPrebuiltsOptionalParams)

Gets information about all the prebuilt entities in a version of the application.

listPrebuilts(string, string, ModelListPrebuiltsOptionalParams, ServiceCallback<PrebuiltEntityExtractor[]>)
listPrebuilts(string, string, ServiceCallback<PrebuiltEntityExtractor[]>)
listRegexEntityInfos(string, string, ModelListRegexEntityInfosOptionalParams)
listRegexEntityInfos(string, string, ModelListRegexEntityInfosOptionalParams, ServiceCallback<RegexEntityExtractor[]>)
listRegexEntityInfos(string, string, ServiceCallback<RegexEntityExtractor[]>)
listRegexEntityRoles(string, string, string, RequestOptionsBase)
listRegexEntityRoles(string, string, string, RequestOptionsBase, ServiceCallback<EntityRole[]>)
listRegexEntityRoles(string, string, string, ServiceCallback<EntityRole[]>)
patchClosedList(string, string, string, ClosedListModelPatchObject, RequestOptionsBase)

Adds a batch of sublists to an existing list entity in a version of the application.

patchClosedList(string, string, string, ClosedListModelPatchObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
patchClosedList(string, string, string, ClosedListModelPatchObject, ServiceCallback<OperationStatus>)
replaceEntityFeatures(string, string, string, ModelFeatureInformation[], RequestOptionsBase)

Updates the information of the features used by the entity in a version of the application.

replaceEntityFeatures(string, string, string, ModelFeatureInformation[], RequestOptionsBase, ServiceCallback<OperationStatus>)
replaceEntityFeatures(string, string, string, ModelFeatureInformation[], ServiceCallback<OperationStatus>)
replaceIntentFeatures(string, string, string, ModelFeatureInformation[], RequestOptionsBase)

Updates the information of the features used by the intent in a version of the application.

replaceIntentFeatures(string, string, string, ModelFeatureInformation[], RequestOptionsBase, ServiceCallback<OperationStatus>)
replaceIntentFeatures(string, string, string, ModelFeatureInformation[], ServiceCallback<OperationStatus>)
updateClosedList(string, string, string, ClosedListModelUpdateObject, RequestOptionsBase)

Updates the list entity in a version of the application.

updateClosedList(string, string, string, ClosedListModelUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updateClosedList(string, string, string, ClosedListModelUpdateObject, ServiceCallback<OperationStatus>)
updateClosedListEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase)
updateClosedListEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updateClosedListEntityRole(string, string, string, string, EntityRoleUpdateObject, ServiceCallback<OperationStatus>)
updateCompositeEntity(string, string, string, CompositeEntityModel, RequestOptionsBase)

Updates a composite entity in a version of the application.

updateCompositeEntity(string, string, string, CompositeEntityModel, RequestOptionsBase, ServiceCallback<OperationStatus>)
updateCompositeEntity(string, string, string, CompositeEntityModel, ServiceCallback<OperationStatus>)
updateCompositeEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase)
updateCompositeEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updateCompositeEntityRole(string, string, string, string, EntityRoleUpdateObject, ServiceCallback<OperationStatus>)
updateCustomPrebuiltEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase)
updateCustomPrebuiltEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updateCustomPrebuiltEntityRole(string, string, string, string, EntityRoleUpdateObject, ServiceCallback<OperationStatus>)
updateEntityChild(string, string, string, EntityModelUpdateObject, RequestOptionsBase)

Updates the name of an entity extractor or the name and instanceOf model of a child entity extractor.

updateEntityChild(string, string, string, EntityModelUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updateEntityChild(string, string, string, EntityModelUpdateObject, ServiceCallback<OperationStatus>)
updateEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase)
updateEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updateEntityRole(string, string, string, string, EntityRoleUpdateObject, ServiceCallback<OperationStatus>)
updateExplicitListItem(string, string, string, number, ExplicitListItemUpdateObject, RequestOptionsBase)
updateExplicitListItem(string, string, string, number, ExplicitListItemUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updateExplicitListItem(string, string, string, number, ExplicitListItemUpdateObject, ServiceCallback<OperationStatus>)
updateHierarchicalEntity(string, string, string, ModelUpdateObject, RequestOptionsBase)

Updates the name of a hierarchical entity model in a version of the application.

updateHierarchicalEntity(string, string, string, ModelUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updateHierarchicalEntity(string, string, string, ModelUpdateObject, ServiceCallback<OperationStatus>)
updateHierarchicalEntityChild(string, string, string, string, HierarchicalChildModelUpdateObject, RequestOptionsBase)

Renames a single child in an existing hierarchical entity model in a version of the application.

updateHierarchicalEntityChild(string, string, string, string, HierarchicalChildModelUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updateHierarchicalEntityChild(string, string, string, string, HierarchicalChildModelUpdateObject, ServiceCallback<OperationStatus>)
updateHierarchicalEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase)
updateHierarchicalEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updateHierarchicalEntityRole(string, string, string, string, EntityRoleUpdateObject, ServiceCallback<OperationStatus>)
updateIntent(string, string, string, ModelUpdateObject, RequestOptionsBase)

Updates the name of an intent in a version of the application.

updateIntent(string, string, string, ModelUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updateIntent(string, string, string, ModelUpdateObject, ServiceCallback<OperationStatus>)
updatePatternAnyEntityModel(string, string, string, PatternAnyModelUpdateObject, RequestOptionsBase)
updatePatternAnyEntityModel(string, string, string, PatternAnyModelUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updatePatternAnyEntityModel(string, string, string, PatternAnyModelUpdateObject, ServiceCallback<OperationStatus>)
updatePatternAnyEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase)
updatePatternAnyEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updatePatternAnyEntityRole(string, string, string, string, EntityRoleUpdateObject, ServiceCallback<OperationStatus>)
updatePrebuiltEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase)
updatePrebuiltEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updatePrebuiltEntityRole(string, string, string, string, EntityRoleUpdateObject, ServiceCallback<OperationStatus>)
updateRegexEntityModel(string, string, string, RegexModelUpdateObject, RequestOptionsBase)
updateRegexEntityModel(string, string, string, RegexModelUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updateRegexEntityModel(string, string, string, RegexModelUpdateObject, ServiceCallback<OperationStatus>)
updateRegexEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase)
updateRegexEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updateRegexEntityRole(string, string, string, string, EntityRoleUpdateObject, ServiceCallback<OperationStatus>)
updateSubList(string, string, string, number, WordListBaseUpdateObject, RequestOptionsBase)

Updates one of the list entity's sublists in a version of the application.

updateSubList(string, string, string, number, WordListBaseUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)
updateSubList(string, string, string, number, WordListBaseUpdateObject, ServiceCallback<OperationStatus>)

Constructor Details

Model(LUISAuthoringClientContext)

Create a Model.

new Model(client: LUISAuthoringClientContext)

Parameters

client
LUISAuthoringClientContext

Reference to the service client.

Method Details

addClosedList(string, string, ClosedListModelCreateObject, RequestOptionsBase)

Adds a list entity model to a version of the application.

function addClosedList(appId: string, versionId: string, closedListModelCreateObject: ClosedListModelCreateObject, options?: RequestOptionsBase): Promise<ModelAddClosedListResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

closedListModelCreateObject
ClosedListModelCreateObject

A model containing the name and words for the new list entity extractor.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelAddClosedListResponse>

addClosedList(string, string, ClosedListModelCreateObject, RequestOptionsBase, ServiceCallback<string>)

function addClosedList(appId: string, versionId: string, closedListModelCreateObject: ClosedListModelCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

closedListModelCreateObject
ClosedListModelCreateObject

A model containing the name and words for the new list entity extractor.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

addClosedList(string, string, ClosedListModelCreateObject, ServiceCallback<string>)

function addClosedList(appId: string, versionId: string, closedListModelCreateObject: ClosedListModelCreateObject, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

closedListModelCreateObject
ClosedListModelCreateObject

A model containing the name and words for the new list entity extractor.

callback

ServiceCallback<string>

The callback

addCompositeEntityChild(string, string, string, CompositeChildModelCreateObject, RequestOptionsBase)

Creates a single child in an existing composite entity model in a version of the application.

function addCompositeEntityChild(appId: string, versionId: string, cEntityId: string, compositeChildModelCreateObject: CompositeChildModelCreateObject, options?: RequestOptionsBase): Promise<ModelAddCompositeEntityChildResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

compositeChildModelCreateObject
CompositeChildModelCreateObject

A model object containing the name of the new composite child model.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelAddCompositeEntityChildResponse>

addCompositeEntityChild(string, string, string, CompositeChildModelCreateObject, RequestOptionsBase, ServiceCallback<string>)

function addCompositeEntityChild(appId: string, versionId: string, cEntityId: string, compositeChildModelCreateObject: CompositeChildModelCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

compositeChildModelCreateObject
CompositeChildModelCreateObject

A model object containing the name of the new composite child model.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

addCompositeEntityChild(string, string, string, CompositeChildModelCreateObject, ServiceCallback<string>)

function addCompositeEntityChild(appId: string, versionId: string, cEntityId: string, compositeChildModelCreateObject: CompositeChildModelCreateObject, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

compositeChildModelCreateObject
CompositeChildModelCreateObject

A model object containing the name of the new composite child model.

callback

ServiceCallback<string>

The callback

addCustomPrebuiltDomain(string, string, PrebuiltDomainCreateBaseObject, RequestOptionsBase)

Adds a customizable prebuilt domain along with all of its intent and entity models in a version of the application.

function addCustomPrebuiltDomain(appId: string, versionId: string, prebuiltDomainObject: PrebuiltDomainCreateBaseObject, options?: RequestOptionsBase): Promise<ModelAddCustomPrebuiltDomainResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

prebuiltDomainObject
PrebuiltDomainCreateBaseObject

A prebuilt domain create object containing the name of the domain.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelAddCustomPrebuiltDomainResponse>

addCustomPrebuiltDomain(string, string, PrebuiltDomainCreateBaseObject, RequestOptionsBase, ServiceCallback<string[]>)

function addCustomPrebuiltDomain(appId: string, versionId: string, prebuiltDomainObject: PrebuiltDomainCreateBaseObject, options: RequestOptionsBase, callback: ServiceCallback<string[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

prebuiltDomainObject
PrebuiltDomainCreateBaseObject

A prebuilt domain create object containing the name of the domain.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<string[]>

The callback

addCustomPrebuiltDomain(string, string, PrebuiltDomainCreateBaseObject, ServiceCallback<string[]>)

function addCustomPrebuiltDomain(appId: string, versionId: string, prebuiltDomainObject: PrebuiltDomainCreateBaseObject, callback: ServiceCallback<string[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

prebuiltDomainObject
PrebuiltDomainCreateBaseObject

A prebuilt domain create object containing the name of the domain.

callback

ServiceCallback<string[]>

The callback

addCustomPrebuiltEntity(string, string, PrebuiltDomainModelCreateObject, RequestOptionsBase)

Adds a prebuilt entity model to a version of the application.

function addCustomPrebuiltEntity(appId: string, versionId: string, prebuiltDomainModelCreateObject: PrebuiltDomainModelCreateObject, options?: RequestOptionsBase): Promise<ModelAddCustomPrebuiltEntityResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

prebuiltDomainModelCreateObject
PrebuiltDomainModelCreateObject

A model object containing the name of the prebuilt entity and the name of the domain to which this model belongs.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelAddCustomPrebuiltEntityResponse>

addCustomPrebuiltEntity(string, string, PrebuiltDomainModelCreateObject, RequestOptionsBase, ServiceCallback<string>)

function addCustomPrebuiltEntity(appId: string, versionId: string, prebuiltDomainModelCreateObject: PrebuiltDomainModelCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

prebuiltDomainModelCreateObject
PrebuiltDomainModelCreateObject

A model object containing the name of the prebuilt entity and the name of the domain to which this model belongs.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

addCustomPrebuiltEntity(string, string, PrebuiltDomainModelCreateObject, ServiceCallback<string>)

function addCustomPrebuiltEntity(appId: string, versionId: string, prebuiltDomainModelCreateObject: PrebuiltDomainModelCreateObject, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

prebuiltDomainModelCreateObject
PrebuiltDomainModelCreateObject

A model object containing the name of the prebuilt entity and the name of the domain to which this model belongs.

callback

ServiceCallback<string>

The callback

addCustomPrebuiltIntent(string, string, PrebuiltDomainModelCreateObject, RequestOptionsBase)

Adds a customizable prebuilt intent model to a version of the application.

function addCustomPrebuiltIntent(appId: string, versionId: string, prebuiltDomainModelCreateObject: PrebuiltDomainModelCreateObject, options?: RequestOptionsBase): Promise<ModelAddCustomPrebuiltIntentResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

prebuiltDomainModelCreateObject
PrebuiltDomainModelCreateObject

A model object containing the name of the customizable prebuilt intent and the name of the domain to which this model belongs.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelAddCustomPrebuiltIntentResponse>

addCustomPrebuiltIntent(string, string, PrebuiltDomainModelCreateObject, RequestOptionsBase, ServiceCallback<string>)

function addCustomPrebuiltIntent(appId: string, versionId: string, prebuiltDomainModelCreateObject: PrebuiltDomainModelCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

prebuiltDomainModelCreateObject
PrebuiltDomainModelCreateObject

A model object containing the name of the customizable prebuilt intent and the name of the domain to which this model belongs.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

addCustomPrebuiltIntent(string, string, PrebuiltDomainModelCreateObject, ServiceCallback<string>)

function addCustomPrebuiltIntent(appId: string, versionId: string, prebuiltDomainModelCreateObject: PrebuiltDomainModelCreateObject, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

prebuiltDomainModelCreateObject
PrebuiltDomainModelCreateObject

A model object containing the name of the customizable prebuilt intent and the name of the domain to which this model belongs.

callback

ServiceCallback<string>

The callback

addEntity(string, string, EntityModelCreateObject, RequestOptionsBase)

Adds an entity extractor to a version of the application.

function addEntity(appId: string, versionId: string, entityModelCreateObject: EntityModelCreateObject, options?: RequestOptionsBase): Promise<ModelAddEntityResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityModelCreateObject
EntityModelCreateObject

A model object containing the name of the new entity extractor and its children.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelAddEntityResponse>

addEntity(string, string, EntityModelCreateObject, RequestOptionsBase, ServiceCallback<string>)

function addEntity(appId: string, versionId: string, entityModelCreateObject: EntityModelCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityModelCreateObject
EntityModelCreateObject

A model object containing the name of the new entity extractor and its children.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

addEntity(string, string, EntityModelCreateObject, ServiceCallback<string>)

function addEntity(appId: string, versionId: string, entityModelCreateObject: EntityModelCreateObject, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityModelCreateObject
EntityModelCreateObject

A model object containing the name of the new entity extractor and its children.

callback

ServiceCallback<string>

The callback

addEntityChild(string, string, string, ChildEntityModelCreateObject, RequestOptionsBase)

Creates a single child in an existing entity model hierarchy in a version of the application.

function addEntityChild(appId: string, versionId: string, entityId: string, childEntityModelCreateObject: ChildEntityModelCreateObject, options?: RequestOptionsBase): Promise<ModelAddEntityChildResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor ID.

childEntityModelCreateObject
ChildEntityModelCreateObject

A model object containing the name of the new child model and its children.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelAddEntityChildResponse>

addEntityChild(string, string, string, ChildEntityModelCreateObject, RequestOptionsBase, ServiceCallback<string>)

function addEntityChild(appId: string, versionId: string, entityId: string, childEntityModelCreateObject: ChildEntityModelCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor ID.

childEntityModelCreateObject
ChildEntityModelCreateObject

A model object containing the name of the new child model and its children.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

addEntityChild(string, string, string, ChildEntityModelCreateObject, ServiceCallback<string>)

function addEntityChild(appId: string, versionId: string, entityId: string, childEntityModelCreateObject: ChildEntityModelCreateObject, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor ID.

childEntityModelCreateObject
ChildEntityModelCreateObject

A model object containing the name of the new child model and its children.

callback

ServiceCallback<string>

The callback

addExplicitListItem(string, string, string, ExplicitListItemCreateObject, RequestOptionsBase)

function addExplicitListItem(appId: string, versionId: string, entityId: string, item: ExplicitListItemCreateObject, options?: RequestOptionsBase): Promise<ModelAddExplicitListItemResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The Pattern.Any entity extractor ID.

item
ExplicitListItemCreateObject

The new explicit list item.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelAddExplicitListItemResponse>

addExplicitListItem(string, string, string, ExplicitListItemCreateObject, RequestOptionsBase, ServiceCallback<number>)

function addExplicitListItem(appId: string, versionId: string, entityId: string, item: ExplicitListItemCreateObject, options: RequestOptionsBase, callback: ServiceCallback<number>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The Pattern.Any entity extractor ID.

item
ExplicitListItemCreateObject

The new explicit list item.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<number>

The callback

addExplicitListItem(string, string, string, ExplicitListItemCreateObject, ServiceCallback<number>)

function addExplicitListItem(appId: string, versionId: string, entityId: string, item: ExplicitListItemCreateObject, callback: ServiceCallback<number>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The Pattern.Any entity extractor ID.

item
ExplicitListItemCreateObject

The new explicit list item.

callback

ServiceCallback<number>

The callback

addIntent(string, string, ModelCreateObject, RequestOptionsBase)

Adds an intent to a version of the application.

function addIntent(appId: string, versionId: string, intentCreateObject: ModelCreateObject, options?: RequestOptionsBase): Promise<ModelAddIntentResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentCreateObject
ModelCreateObject

A model object containing the name of the new intent.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelAddIntentResponse>

addIntent(string, string, ModelCreateObject, RequestOptionsBase, ServiceCallback<string>)

function addIntent(appId: string, versionId: string, intentCreateObject: ModelCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentCreateObject
ModelCreateObject

A model object containing the name of the new intent.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

addIntent(string, string, ModelCreateObject, ServiceCallback<string>)

function addIntent(appId: string, versionId: string, intentCreateObject: ModelCreateObject, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentCreateObject
ModelCreateObject

A model object containing the name of the new intent.

callback

ServiceCallback<string>

The callback

addPrebuilt(string, string, string[], RequestOptionsBase)

Adds a list of prebuilt entities to a version of the application.

function addPrebuilt(appId: string, versionId: string, prebuiltExtractorNames: string[], options?: RequestOptionsBase): Promise<ModelAddPrebuiltResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

prebuiltExtractorNames

string[]

An array of prebuilt entity extractor names.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelAddPrebuiltResponse>

addPrebuilt(string, string, string[], RequestOptionsBase, ServiceCallback<PrebuiltEntityExtractor[]>)

function addPrebuilt(appId: string, versionId: string, prebuiltExtractorNames: string[], options: RequestOptionsBase, callback: ServiceCallback<PrebuiltEntityExtractor[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

prebuiltExtractorNames

string[]

An array of prebuilt entity extractor names.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<PrebuiltEntityExtractor[]>

The callback

addPrebuilt(string, string, string[], ServiceCallback<PrebuiltEntityExtractor[]>)

function addPrebuilt(appId: string, versionId: string, prebuiltExtractorNames: string[], callback: ServiceCallback<PrebuiltEntityExtractor[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

prebuiltExtractorNames

string[]

An array of prebuilt entity extractor names.

callback

ServiceCallback<PrebuiltEntityExtractor[]>

The callback

addSubList(string, string, string, WordListObject, RequestOptionsBase)

Adds a sublist to an existing list entity in a version of the application.

function addSubList(appId: string, versionId: string, clEntityId: string, wordListCreateObject: WordListObject, options?: RequestOptionsBase): Promise<ModelAddSubListResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list entity extractor ID.

wordListCreateObject
WordListObject

Words list.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelAddSubListResponse>

addSubList(string, string, string, WordListObject, RequestOptionsBase, ServiceCallback<number>)

function addSubList(appId: string, versionId: string, clEntityId: string, wordListCreateObject: WordListObject, options: RequestOptionsBase, callback: ServiceCallback<number>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list entity extractor ID.

wordListCreateObject
WordListObject

Words list.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<number>

The callback

addSubList(string, string, string, WordListObject, ServiceCallback<number>)

function addSubList(appId: string, versionId: string, clEntityId: string, wordListCreateObject: WordListObject, callback: ServiceCallback<number>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list entity extractor ID.

wordListCreateObject
WordListObject

Words list.

callback

ServiceCallback<number>

The callback

createClosedListEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase)

function createClosedListEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: EntityRoleCreateObject, options?: RequestOptionsBase): Promise<ModelCreateClosedListEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity model ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelCreateClosedListEntityRoleResponse>

createClosedListEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase, ServiceCallback<string>)

function createClosedListEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: EntityRoleCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity model ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

createClosedListEntityRole(string, string, string, EntityRoleCreateObject, ServiceCallback<string>)

function createClosedListEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: EntityRoleCreateObject, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity model ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

callback

ServiceCallback<string>

The callback

createCompositeEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase)

function createCompositeEntityRole(appId: string, versionId: string, cEntityId: string, entityRoleCreateObject: EntityRoleCreateObject, options?: RequestOptionsBase): Promise<ModelCreateCompositeEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelCreateCompositeEntityRoleResponse>

createCompositeEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase, ServiceCallback<string>)

function createCompositeEntityRole(appId: string, versionId: string, cEntityId: string, entityRoleCreateObject: EntityRoleCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

createCompositeEntityRole(string, string, string, EntityRoleCreateObject, ServiceCallback<string>)

function createCompositeEntityRole(appId: string, versionId: string, cEntityId: string, entityRoleCreateObject: EntityRoleCreateObject, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

callback

ServiceCallback<string>

The callback

createCustomPrebuiltEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase)

function createCustomPrebuiltEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: EntityRoleCreateObject, options?: RequestOptionsBase): Promise<ModelCreateCustomPrebuiltEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity model ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelCreateCustomPrebuiltEntityRoleResponse>

createCustomPrebuiltEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase, ServiceCallback<string>)

function createCustomPrebuiltEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: EntityRoleCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity model ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

createCustomPrebuiltEntityRole(string, string, string, EntityRoleCreateObject, ServiceCallback<string>)

function createCustomPrebuiltEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: EntityRoleCreateObject, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity model ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

callback

ServiceCallback<string>

The callback

createEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase)

function createEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: EntityRoleCreateObject, options?: RequestOptionsBase): Promise<ModelCreateEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity model ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelCreateEntityRoleResponse>

createEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase, ServiceCallback<string>)

function createEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: EntityRoleCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity model ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

createEntityRole(string, string, string, EntityRoleCreateObject, ServiceCallback<string>)

function createEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: EntityRoleCreateObject, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity model ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

callback

ServiceCallback<string>

The callback

createHierarchicalEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase)

function createHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, entityRoleCreateObject: EntityRoleCreateObject, options?: RequestOptionsBase): Promise<ModelCreateHierarchicalEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelCreateHierarchicalEntityRoleResponse>

createHierarchicalEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase, ServiceCallback<string>)

function createHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, entityRoleCreateObject: EntityRoleCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

createHierarchicalEntityRole(string, string, string, EntityRoleCreateObject, ServiceCallback<string>)

function createHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, entityRoleCreateObject: EntityRoleCreateObject, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

callback

ServiceCallback<string>

The callback

createPatternAnyEntityModel(string, string, PatternAnyModelCreateObject, RequestOptionsBase)

function createPatternAnyEntityModel(appId: string, versionId: string, extractorCreateObject: PatternAnyModelCreateObject, options?: RequestOptionsBase): Promise<ModelCreatePatternAnyEntityModelResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

extractorCreateObject
PatternAnyModelCreateObject

A model object containing the name and explicit list for the new Pattern.Any entity extractor.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelCreatePatternAnyEntityModelResponse>

createPatternAnyEntityModel(string, string, PatternAnyModelCreateObject, RequestOptionsBase, ServiceCallback<string>)

function createPatternAnyEntityModel(appId: string, versionId: string, extractorCreateObject: PatternAnyModelCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

extractorCreateObject
PatternAnyModelCreateObject

A model object containing the name and explicit list for the new Pattern.Any entity extractor.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

createPatternAnyEntityModel(string, string, PatternAnyModelCreateObject, ServiceCallback<string>)

function createPatternAnyEntityModel(appId: string, versionId: string, extractorCreateObject: PatternAnyModelCreateObject, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

extractorCreateObject
PatternAnyModelCreateObject

A model object containing the name and explicit list for the new Pattern.Any entity extractor.

callback

ServiceCallback<string>

The callback

createPatternAnyEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase)

function createPatternAnyEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: EntityRoleCreateObject, options?: RequestOptionsBase): Promise<ModelCreatePatternAnyEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity model ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelCreatePatternAnyEntityRoleResponse>

createPatternAnyEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase, ServiceCallback<string>)

function createPatternAnyEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: EntityRoleCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity model ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

createPatternAnyEntityRole(string, string, string, EntityRoleCreateObject, ServiceCallback<string>)

function createPatternAnyEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: EntityRoleCreateObject, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity model ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

callback

ServiceCallback<string>

The callback

createPrebuiltEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase)

function createPrebuiltEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: EntityRoleCreateObject, options?: RequestOptionsBase): Promise<ModelCreatePrebuiltEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity model ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelCreatePrebuiltEntityRoleResponse>

createPrebuiltEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase, ServiceCallback<string>)

function createPrebuiltEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: EntityRoleCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity model ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

createPrebuiltEntityRole(string, string, string, EntityRoleCreateObject, ServiceCallback<string>)

function createPrebuiltEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: EntityRoleCreateObject, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity model ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

callback

ServiceCallback<string>

The callback

createRegexEntityModel(string, string, RegexModelCreateObject, RequestOptionsBase)

function createRegexEntityModel(appId: string, versionId: string, regexEntityExtractorCreateObj: RegexModelCreateObject, options?: RequestOptionsBase): Promise<ModelCreateRegexEntityModelResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

regexEntityExtractorCreateObj
RegexModelCreateObject

A model object containing the name and regex pattern for the new regular expression entity extractor.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelCreateRegexEntityModelResponse>

createRegexEntityModel(string, string, RegexModelCreateObject, RequestOptionsBase, ServiceCallback<string>)

function createRegexEntityModel(appId: string, versionId: string, regexEntityExtractorCreateObj: RegexModelCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

regexEntityExtractorCreateObj
RegexModelCreateObject

A model object containing the name and regex pattern for the new regular expression entity extractor.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

createRegexEntityModel(string, string, RegexModelCreateObject, ServiceCallback<string>)

function createRegexEntityModel(appId: string, versionId: string, regexEntityExtractorCreateObj: RegexModelCreateObject, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

regexEntityExtractorCreateObj
RegexModelCreateObject

A model object containing the name and regex pattern for the new regular expression entity extractor.

callback

ServiceCallback<string>

The callback

createRegexEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase)

function createRegexEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: EntityRoleCreateObject, options?: RequestOptionsBase): Promise<ModelCreateRegexEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity model ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelCreateRegexEntityRoleResponse>

createRegexEntityRole(string, string, string, EntityRoleCreateObject, RequestOptionsBase, ServiceCallback<string>)

function createRegexEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: EntityRoleCreateObject, options: RequestOptionsBase, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity model ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<string>

The callback

createRegexEntityRole(string, string, string, EntityRoleCreateObject, ServiceCallback<string>)

function createRegexEntityRole(appId: string, versionId: string, entityId: string, entityRoleCreateObject: EntityRoleCreateObject, callback: ServiceCallback<string>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity model ID.

entityRoleCreateObject
EntityRoleCreateObject

An entity role object containing the name of role.

callback

ServiceCallback<string>

The callback

deleteClosedList(string, string, string, RequestOptionsBase)

Deletes a list entity model from a version of the application.

function deleteClosedList(appId: string, versionId: string, clEntityId: string, options?: RequestOptionsBase): Promise<ModelDeleteClosedListResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list entity model ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeleteClosedListResponse>

deleteClosedList(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deleteClosedList(appId: string, versionId: string, clEntityId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list entity model ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteClosedList(string, string, string, ServiceCallback<OperationStatus>)

function deleteClosedList(appId: string, versionId: string, clEntityId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list entity model ID.

callback

ServiceCallback<OperationStatus>

The callback

deleteClosedListEntityRole(string, string, string, string, RequestOptionsBase)

function deleteClosedListEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: RequestOptionsBase): Promise<ModelDeleteClosedListEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role Id.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeleteClosedListEntityRoleResponse>

deleteClosedListEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deleteClosedListEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role Id.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteClosedListEntityRole(string, string, string, string, ServiceCallback<OperationStatus>)

function deleteClosedListEntityRole(appId: string, versionId: string, entityId: string, roleId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role Id.

callback

ServiceCallback<OperationStatus>

The callback

deleteCompositeEntity(string, string, string, RequestOptionsBase)

Deletes a composite entity from a version of the application.

function deleteCompositeEntity(appId: string, versionId: string, cEntityId: string, options?: RequestOptionsBase): Promise<ModelDeleteCompositeEntityResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeleteCompositeEntityResponse>

deleteCompositeEntity(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deleteCompositeEntity(appId: string, versionId: string, cEntityId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteCompositeEntity(string, string, string, ServiceCallback<OperationStatus>)

function deleteCompositeEntity(appId: string, versionId: string, cEntityId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

callback

ServiceCallback<OperationStatus>

The callback

deleteCompositeEntityChild(string, string, string, string, RequestOptionsBase)

Deletes a composite entity extractor child from a version of the application.

function deleteCompositeEntityChild(appId: string, versionId: string, cEntityId: string, cChildId: string, options?: RequestOptionsBase): Promise<ModelDeleteCompositeEntityChildResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

cChildId

string

The hierarchical entity extractor child ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeleteCompositeEntityChildResponse>

deleteCompositeEntityChild(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deleteCompositeEntityChild(appId: string, versionId: string, cEntityId: string, cChildId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

cChildId

string

The hierarchical entity extractor child ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteCompositeEntityChild(string, string, string, string, ServiceCallback<OperationStatus>)

function deleteCompositeEntityChild(appId: string, versionId: string, cEntityId: string, cChildId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

cChildId

string

The hierarchical entity extractor child ID.

callback

ServiceCallback<OperationStatus>

The callback

deleteCompositeEntityRole(string, string, string, string, RequestOptionsBase)

function deleteCompositeEntityRole(appId: string, versionId: string, cEntityId: string, roleId: string, options?: RequestOptionsBase): Promise<ModelDeleteCompositeEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

roleId

string

The entity role Id.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeleteCompositeEntityRoleResponse>

deleteCompositeEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deleteCompositeEntityRole(appId: string, versionId: string, cEntityId: string, roleId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

roleId

string

The entity role Id.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteCompositeEntityRole(string, string, string, string, ServiceCallback<OperationStatus>)

function deleteCompositeEntityRole(appId: string, versionId: string, cEntityId: string, roleId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

roleId

string

The entity role Id.

callback

ServiceCallback<OperationStatus>

The callback

deleteCustomEntityRole(string, string, string, string, RequestOptionsBase)

function deleteCustomEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: RequestOptionsBase): Promise<ModelDeleteCustomEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role Id.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeleteCustomEntityRoleResponse>

deleteCustomEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deleteCustomEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role Id.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteCustomEntityRole(string, string, string, string, ServiceCallback<OperationStatus>)

function deleteCustomEntityRole(appId: string, versionId: string, entityId: string, roleId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role Id.

callback

ServiceCallback<OperationStatus>

The callback

deleteCustomPrebuiltDomain(string, string, string, RequestOptionsBase)

Deletes a prebuilt domain's models in a version of the application.

function deleteCustomPrebuiltDomain(appId: string, versionId: string, domainName: string, options?: RequestOptionsBase): Promise<ModelDeleteCustomPrebuiltDomainResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

domainName

string

Domain name.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeleteCustomPrebuiltDomainResponse>

deleteCustomPrebuiltDomain(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deleteCustomPrebuiltDomain(appId: string, versionId: string, domainName: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

domainName

string

Domain name.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteCustomPrebuiltDomain(string, string, string, ServiceCallback<OperationStatus>)

function deleteCustomPrebuiltDomain(appId: string, versionId: string, domainName: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

domainName

string

Domain name.

callback

ServiceCallback<OperationStatus>

The callback

deleteEntity(string, string, string, RequestOptionsBase)

Deletes an entity or a child from a version of the application.

function deleteEntity(appId: string, versionId: string, entityId: string, options?: RequestOptionsBase): Promise<ModelDeleteEntityResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor or the child entity extractor ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeleteEntityResponse>

deleteEntity(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deleteEntity(appId: string, versionId: string, entityId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor or the child entity extractor ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteEntity(string, string, string, ServiceCallback<OperationStatus>)

function deleteEntity(appId: string, versionId: string, entityId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor or the child entity extractor ID.

callback

ServiceCallback<OperationStatus>

The callback

deleteEntityFeature(string, string, string, ModelFeatureInformation, RequestOptionsBase)

Deletes a relation from the feature relations used by the entity in a version of the application.

function deleteEntityFeature(appId: string, versionId: string, entityId: string, featureRelationDeleteObject: ModelFeatureInformation, options?: RequestOptionsBase): Promise<ModelDeleteEntityFeatureResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor ID.

featureRelationDeleteObject
ModelFeatureInformation

A feature information object containing the feature relation to delete.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeleteEntityFeatureResponse>

deleteEntityFeature(string, string, string, ModelFeatureInformation, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deleteEntityFeature(appId: string, versionId: string, entityId: string, featureRelationDeleteObject: ModelFeatureInformation, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor ID.

featureRelationDeleteObject
ModelFeatureInformation

A feature information object containing the feature relation to delete.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteEntityFeature(string, string, string, ModelFeatureInformation, ServiceCallback<OperationStatus>)

function deleteEntityFeature(appId: string, versionId: string, entityId: string, featureRelationDeleteObject: ModelFeatureInformation, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor ID.

featureRelationDeleteObject
ModelFeatureInformation

A feature information object containing the feature relation to delete.

callback

ServiceCallback<OperationStatus>

The callback

deleteEntityRole(string, string, string, string, RequestOptionsBase)

function deleteEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: RequestOptionsBase): Promise<ModelDeleteEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role Id.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeleteEntityRoleResponse>

deleteEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deleteEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role Id.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteEntityRole(string, string, string, string, ServiceCallback<OperationStatus>)

function deleteEntityRole(appId: string, versionId: string, entityId: string, roleId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role Id.

callback

ServiceCallback<OperationStatus>

The callback

deleteExplicitListItem(string, string, string, number, RequestOptionsBase)

function deleteExplicitListItem(appId: string, versionId: string, entityId: string, itemId: number, options?: RequestOptionsBase): Promise<ModelDeleteExplicitListItemResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The pattern.any entity id.

itemId

number

The explicit list item which will be deleted.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeleteExplicitListItemResponse>

deleteExplicitListItem(string, string, string, number, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deleteExplicitListItem(appId: string, versionId: string, entityId: string, itemId: number, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The pattern.any entity id.

itemId

number

The explicit list item which will be deleted.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteExplicitListItem(string, string, string, number, ServiceCallback<OperationStatus>)

function deleteExplicitListItem(appId: string, versionId: string, entityId: string, itemId: number, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The pattern.any entity id.

itemId

number

The explicit list item which will be deleted.

callback

ServiceCallback<OperationStatus>

The callback

deleteHierarchicalEntity(string, string, string, RequestOptionsBase)

Deletes a hierarchical entity from a version of the application.

function deleteHierarchicalEntity(appId: string, versionId: string, hEntityId: string, options?: RequestOptionsBase): Promise<ModelDeleteHierarchicalEntityResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeleteHierarchicalEntityResponse>

deleteHierarchicalEntity(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deleteHierarchicalEntity(appId: string, versionId: string, hEntityId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteHierarchicalEntity(string, string, string, ServiceCallback<OperationStatus>)

function deleteHierarchicalEntity(appId: string, versionId: string, hEntityId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

callback

ServiceCallback<OperationStatus>

The callback

deleteHierarchicalEntityChild(string, string, string, string, RequestOptionsBase)

Deletes a hierarchical entity extractor child in a version of the application.

function deleteHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hChildId: string, options?: RequestOptionsBase): Promise<ModelDeleteHierarchicalEntityChildResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

hChildId

string

The hierarchical entity extractor child ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeleteHierarchicalEntityChildResponse>

deleteHierarchicalEntityChild(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deleteHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hChildId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

hChildId

string

The hierarchical entity extractor child ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteHierarchicalEntityChild(string, string, string, string, ServiceCallback<OperationStatus>)

function deleteHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hChildId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

hChildId

string

The hierarchical entity extractor child ID.

callback

ServiceCallback<OperationStatus>

The callback

deleteHierarchicalEntityRole(string, string, string, string, RequestOptionsBase)

function deleteHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, roleId: string, options?: RequestOptionsBase): Promise<ModelDeleteHierarchicalEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

roleId

string

The entity role Id.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeleteHierarchicalEntityRoleResponse>

deleteHierarchicalEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deleteHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, roleId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

roleId

string

The entity role Id.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteHierarchicalEntityRole(string, string, string, string, ServiceCallback<OperationStatus>)

function deleteHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, roleId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

roleId

string

The entity role Id.

callback

ServiceCallback<OperationStatus>

The callback

deleteIntent(string, string, string, ModelDeleteIntentOptionalParams)

Deletes an intent from a version of the application.

function deleteIntent(appId: string, versionId: string, intentId: string, options?: ModelDeleteIntentOptionalParams): Promise<ModelDeleteIntentResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

options
ModelDeleteIntentOptionalParams

The optional parameters

Returns

Promise<Models.ModelDeleteIntentResponse>

deleteIntent(string, string, string, ModelDeleteIntentOptionalParams, ServiceCallback<OperationStatus>)

function deleteIntent(appId: string, versionId: string, intentId: string, options: ModelDeleteIntentOptionalParams, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

options
ModelDeleteIntentOptionalParams

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteIntent(string, string, string, ServiceCallback<OperationStatus>)

function deleteIntent(appId: string, versionId: string, intentId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

callback

ServiceCallback<OperationStatus>

The callback

deleteIntentFeature(string, string, string, ModelFeatureInformation, RequestOptionsBase)

Deletes a relation from the feature relations used by the intent in a version of the application.

function deleteIntentFeature(appId: string, versionId: string, intentId: string, featureRelationDeleteObject: ModelFeatureInformation, options?: RequestOptionsBase): Promise<ModelDeleteIntentFeatureResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

featureRelationDeleteObject
ModelFeatureInformation

A feature information object containing the feature relation to delete.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeleteIntentFeatureResponse>

deleteIntentFeature(string, string, string, ModelFeatureInformation, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deleteIntentFeature(appId: string, versionId: string, intentId: string, featureRelationDeleteObject: ModelFeatureInformation, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

featureRelationDeleteObject
ModelFeatureInformation

A feature information object containing the feature relation to delete.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteIntentFeature(string, string, string, ModelFeatureInformation, ServiceCallback<OperationStatus>)

function deleteIntentFeature(appId: string, versionId: string, intentId: string, featureRelationDeleteObject: ModelFeatureInformation, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

featureRelationDeleteObject
ModelFeatureInformation

A feature information object containing the feature relation to delete.

callback

ServiceCallback<OperationStatus>

The callback

deletePatternAnyEntityModel(string, string, string, RequestOptionsBase)

function deletePatternAnyEntityModel(appId: string, versionId: string, entityId: string, options?: RequestOptionsBase): Promise<ModelDeletePatternAnyEntityModelResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The Pattern.Any entity extractor ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeletePatternAnyEntityModelResponse>

deletePatternAnyEntityModel(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deletePatternAnyEntityModel(appId: string, versionId: string, entityId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The Pattern.Any entity extractor ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deletePatternAnyEntityModel(string, string, string, ServiceCallback<OperationStatus>)

function deletePatternAnyEntityModel(appId: string, versionId: string, entityId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The Pattern.Any entity extractor ID.

callback

ServiceCallback<OperationStatus>

The callback

deletePatternAnyEntityRole(string, string, string, string, RequestOptionsBase)

function deletePatternAnyEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: RequestOptionsBase): Promise<ModelDeletePatternAnyEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role Id.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeletePatternAnyEntityRoleResponse>

deletePatternAnyEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deletePatternAnyEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role Id.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deletePatternAnyEntityRole(string, string, string, string, ServiceCallback<OperationStatus>)

function deletePatternAnyEntityRole(appId: string, versionId: string, entityId: string, roleId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role Id.

callback

ServiceCallback<OperationStatus>

The callback

deletePrebuilt(string, string, string, RequestOptionsBase)

Deletes a prebuilt entity extractor from a version of the application.

function deletePrebuilt(appId: string, versionId: string, prebuiltId: string, options?: RequestOptionsBase): Promise<ModelDeletePrebuiltResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

prebuiltId

string

The prebuilt entity extractor ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeletePrebuiltResponse>

deletePrebuilt(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deletePrebuilt(appId: string, versionId: string, prebuiltId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

prebuiltId

string

The prebuilt entity extractor ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deletePrebuilt(string, string, string, ServiceCallback<OperationStatus>)

function deletePrebuilt(appId: string, versionId: string, prebuiltId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

prebuiltId

string

The prebuilt entity extractor ID.

callback

ServiceCallback<OperationStatus>

The callback

deletePrebuiltEntityRole(string, string, string, string, RequestOptionsBase)

function deletePrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: RequestOptionsBase): Promise<ModelDeletePrebuiltEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role Id.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeletePrebuiltEntityRoleResponse>

deletePrebuiltEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deletePrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role Id.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deletePrebuiltEntityRole(string, string, string, string, ServiceCallback<OperationStatus>)

function deletePrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role Id.

callback

ServiceCallback<OperationStatus>

The callback

deleteRegexEntityModel(string, string, string, RequestOptionsBase)

function deleteRegexEntityModel(appId: string, versionId: string, regexEntityId: string, options?: RequestOptionsBase): Promise<ModelDeleteRegexEntityModelResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

regexEntityId

string

The regular expression entity extractor ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeleteRegexEntityModelResponse>

deleteRegexEntityModel(string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deleteRegexEntityModel(appId: string, versionId: string, regexEntityId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

regexEntityId

string

The regular expression entity extractor ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteRegexEntityModel(string, string, string, ServiceCallback<OperationStatus>)

function deleteRegexEntityModel(appId: string, versionId: string, regexEntityId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

regexEntityId

string

The regular expression entity extractor ID.

callback

ServiceCallback<OperationStatus>

The callback

deleteRegexEntityRole(string, string, string, string, RequestOptionsBase)

function deleteRegexEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: RequestOptionsBase): Promise<ModelDeleteRegexEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role Id.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeleteRegexEntityRoleResponse>

deleteRegexEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deleteRegexEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role Id.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteRegexEntityRole(string, string, string, string, ServiceCallback<OperationStatus>)

function deleteRegexEntityRole(appId: string, versionId: string, entityId: string, roleId: string, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role Id.

callback

ServiceCallback<OperationStatus>

The callback

deleteSubList(string, string, string, number, RequestOptionsBase)

Deletes a sublist of a specific list entity model from a version of the application.

function deleteSubList(appId: string, versionId: string, clEntityId: string, subListId: number, options?: RequestOptionsBase): Promise<ModelDeleteSubListResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list entity extractor ID.

subListId

number

The sublist ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelDeleteSubListResponse>

deleteSubList(string, string, string, number, RequestOptionsBase, ServiceCallback<OperationStatus>)

function deleteSubList(appId: string, versionId: string, clEntityId: string, subListId: number, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list entity extractor ID.

subListId

number

The sublist ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

deleteSubList(string, string, string, number, ServiceCallback<OperationStatus>)

function deleteSubList(appId: string, versionId: string, clEntityId: string, subListId: number, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list entity extractor ID.

subListId

number

The sublist ID.

callback

ServiceCallback<OperationStatus>

The callback

examplesMethod(string, string, string, ModelExamplesMethodOptionalParams)

Gets the example utterances for the given intent or entity model in a version of the application.

function examplesMethod(appId: string, versionId: string, modelId: string, options?: ModelExamplesMethodOptionalParams): Promise<ModelExamplesMethodResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

modelId

string

The ID (GUID) of the model.

options
ModelExamplesMethodOptionalParams

The optional parameters

Returns

Promise<Models.ModelExamplesMethodResponse>

examplesMethod(string, string, string, ModelExamplesMethodOptionalParams, ServiceCallback<LabelTextObject[]>)

function examplesMethod(appId: string, versionId: string, modelId: string, options: ModelExamplesMethodOptionalParams, callback: ServiceCallback<LabelTextObject[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

modelId

string

The ID (GUID) of the model.

options
ModelExamplesMethodOptionalParams

The optional parameters

callback

ServiceCallback<LabelTextObject[]>

The callback

examplesMethod(string, string, string, ServiceCallback<LabelTextObject[]>)

function examplesMethod(appId: string, versionId: string, modelId: string, callback: ServiceCallback<LabelTextObject[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

modelId

string

The ID (GUID) of the model.

callback

ServiceCallback<LabelTextObject[]>

The callback

getClosedList(string, string, string, RequestOptionsBase)

Gets information about a list entity in a version of the application.

function getClosedList(appId: string, versionId: string, clEntityId: string, options?: RequestOptionsBase): Promise<ModelGetClosedListResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list model ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetClosedListResponse>

getClosedList(string, string, string, RequestOptionsBase, ServiceCallback<ClosedListEntityExtractor>)

function getClosedList(appId: string, versionId: string, clEntityId: string, options: RequestOptionsBase, callback: ServiceCallback<ClosedListEntityExtractor>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list model ID.

options
RequestOptionsBase

The optional parameters

getClosedList(string, string, string, ServiceCallback<ClosedListEntityExtractor>)

function getClosedList(appId: string, versionId: string, clEntityId: string, callback: ServiceCallback<ClosedListEntityExtractor>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list model ID.

getClosedListEntityRole(string, string, string, string, RequestOptionsBase)

function getClosedListEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: RequestOptionsBase): Promise<ModelGetClosedListEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity ID.

roleId

string

entity role ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetClosedListEntityRoleResponse>

getClosedListEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<EntityRole>)

function getClosedListEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: RequestOptionsBase, callback: ServiceCallback<EntityRole>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity ID.

roleId

string

entity role ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EntityRole>

The callback

getClosedListEntityRole(string, string, string, string, ServiceCallback<EntityRole>)

function getClosedListEntityRole(appId: string, versionId: string, entityId: string, roleId: string, callback: ServiceCallback<EntityRole>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity ID.

roleId

string

entity role ID.

callback

ServiceCallback<EntityRole>

The callback

getCompositeEntity(string, string, string, RequestOptionsBase)

Gets information about a composite entity in a version of the application.

function getCompositeEntity(appId: string, versionId: string, cEntityId: string, options?: RequestOptionsBase): Promise<ModelGetCompositeEntityResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetCompositeEntityResponse>

getCompositeEntity(string, string, string, RequestOptionsBase, ServiceCallback<CompositeEntityExtractor>)

function getCompositeEntity(appId: string, versionId: string, cEntityId: string, options: RequestOptionsBase, callback: ServiceCallback<CompositeEntityExtractor>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<CompositeEntityExtractor>

The callback

getCompositeEntity(string, string, string, ServiceCallback<CompositeEntityExtractor>)

function getCompositeEntity(appId: string, versionId: string, cEntityId: string, callback: ServiceCallback<CompositeEntityExtractor>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

callback

ServiceCallback<CompositeEntityExtractor>

The callback

getCompositeEntityRole(string, string, string, string, RequestOptionsBase)

function getCompositeEntityRole(appId: string, versionId: string, cEntityId: string, roleId: string, options?: RequestOptionsBase): Promise<ModelGetCompositeEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

roleId

string

entity role ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetCompositeEntityRoleResponse>

getCompositeEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<EntityRole>)

function getCompositeEntityRole(appId: string, versionId: string, cEntityId: string, roleId: string, options: RequestOptionsBase, callback: ServiceCallback<EntityRole>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

roleId

string

entity role ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EntityRole>

The callback

getCompositeEntityRole(string, string, string, string, ServiceCallback<EntityRole>)

function getCompositeEntityRole(appId: string, versionId: string, cEntityId: string, roleId: string, callback: ServiceCallback<EntityRole>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

roleId

string

entity role ID.

callback

ServiceCallback<EntityRole>

The callback

getCustomEntityRole(string, string, string, string, RequestOptionsBase)

function getCustomEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: RequestOptionsBase): Promise<ModelGetCustomEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity ID.

roleId

string

entity role ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetCustomEntityRoleResponse>

getCustomEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<EntityRole>)

function getCustomEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: RequestOptionsBase, callback: ServiceCallback<EntityRole>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity ID.

roleId

string

entity role ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EntityRole>

The callback

getCustomEntityRole(string, string, string, string, ServiceCallback<EntityRole>)

function getCustomEntityRole(appId: string, versionId: string, entityId: string, roleId: string, callback: ServiceCallback<EntityRole>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity ID.

roleId

string

entity role ID.

callback

ServiceCallback<EntityRole>

The callback

getEntity(string, string, string, RequestOptionsBase)

Gets information about an entity model in a version of the application.

function getEntity(appId: string, versionId: string, entityId: string, options?: RequestOptionsBase): Promise<ModelGetEntityResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetEntityResponse>

getEntity(string, string, string, RequestOptionsBase, ServiceCallback<NDepthEntityExtractor>)

function getEntity(appId: string, versionId: string, entityId: string, options: RequestOptionsBase, callback: ServiceCallback<NDepthEntityExtractor>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<NDepthEntityExtractor>

The callback

getEntity(string, string, string, ServiceCallback<NDepthEntityExtractor>)

function getEntity(appId: string, versionId: string, entityId: string, callback: ServiceCallback<NDepthEntityExtractor>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor ID.

callback

ServiceCallback<NDepthEntityExtractor>

The callback

getEntityFeatures(string, string, string, RequestOptionsBase)

Gets the information of the features used by the entity in a version of the application.

function getEntityFeatures(appId: string, versionId: string, entityId: string, options?: RequestOptionsBase): Promise<ModelGetEntityFeaturesResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetEntityFeaturesResponse>

getEntityFeatures(string, string, string, RequestOptionsBase, ServiceCallback<ModelFeatureInformation[]>)

function getEntityFeatures(appId: string, versionId: string, entityId: string, options: RequestOptionsBase, callback: ServiceCallback<ModelFeatureInformation[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ModelFeatureInformation[]>

The callback

getEntityFeatures(string, string, string, ServiceCallback<ModelFeatureInformation[]>)

function getEntityFeatures(appId: string, versionId: string, entityId: string, callback: ServiceCallback<ModelFeatureInformation[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor ID.

callback

ServiceCallback<ModelFeatureInformation[]>

The callback

getEntityRole(string, string, string, string, RequestOptionsBase)

function getEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: RequestOptionsBase): Promise<ModelGetEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity ID.

roleId

string

entity role ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetEntityRoleResponse>

getEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<EntityRole>)

function getEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: RequestOptionsBase, callback: ServiceCallback<EntityRole>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity ID.

roleId

string

entity role ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EntityRole>

The callback

getEntityRole(string, string, string, string, ServiceCallback<EntityRole>)

function getEntityRole(appId: string, versionId: string, entityId: string, roleId: string, callback: ServiceCallback<EntityRole>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity ID.

roleId

string

entity role ID.

callback

ServiceCallback<EntityRole>

The callback

getExplicitList(string, string, string, RequestOptionsBase)

function getExplicitList(appId: string, versionId: string, entityId: string, options?: RequestOptionsBase): Promise<ModelGetExplicitListResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The Pattern.Any entity id.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetExplicitListResponse>

getExplicitList(string, string, string, RequestOptionsBase, ServiceCallback<ExplicitListItem[]>)

function getExplicitList(appId: string, versionId: string, entityId: string, options: RequestOptionsBase, callback: ServiceCallback<ExplicitListItem[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The Pattern.Any entity id.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ExplicitListItem[]>

The callback

getExplicitList(string, string, string, ServiceCallback<ExplicitListItem[]>)

function getExplicitList(appId: string, versionId: string, entityId: string, callback: ServiceCallback<ExplicitListItem[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The Pattern.Any entity id.

callback

ServiceCallback<ExplicitListItem[]>

The callback

getExplicitListItem(string, string, string, number, RequestOptionsBase)

function getExplicitListItem(appId: string, versionId: string, entityId: string, itemId: number, options?: RequestOptionsBase): Promise<ModelGetExplicitListItemResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The Pattern.Any entity Id.

itemId

number

The explicit list item Id.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetExplicitListItemResponse>

getExplicitListItem(string, string, string, number, RequestOptionsBase, ServiceCallback<ExplicitListItem>)

function getExplicitListItem(appId: string, versionId: string, entityId: string, itemId: number, options: RequestOptionsBase, callback: ServiceCallback<ExplicitListItem>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The Pattern.Any entity Id.

itemId

number

The explicit list item Id.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ExplicitListItem>

The callback

getExplicitListItem(string, string, string, number, ServiceCallback<ExplicitListItem>)

function getExplicitListItem(appId: string, versionId: string, entityId: string, itemId: number, callback: ServiceCallback<ExplicitListItem>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The Pattern.Any entity Id.

itemId

number

The explicit list item Id.

callback

ServiceCallback<ExplicitListItem>

The callback

getHierarchicalEntity(string, string, string, RequestOptionsBase)

Gets information about a hierarchical entity in a version of the application.

function getHierarchicalEntity(appId: string, versionId: string, hEntityId: string, options?: RequestOptionsBase): Promise<ModelGetHierarchicalEntityResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetHierarchicalEntityResponse>

getHierarchicalEntity(string, string, string, RequestOptionsBase, ServiceCallback<HierarchicalEntityExtractor>)

function getHierarchicalEntity(appId: string, versionId: string, hEntityId: string, options: RequestOptionsBase, callback: ServiceCallback<HierarchicalEntityExtractor>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

options
RequestOptionsBase

The optional parameters

getHierarchicalEntity(string, string, string, ServiceCallback<HierarchicalEntityExtractor>)

function getHierarchicalEntity(appId: string, versionId: string, hEntityId: string, callback: ServiceCallback<HierarchicalEntityExtractor>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

getHierarchicalEntityChild(string, string, string, string, RequestOptionsBase)

Gets information about the child's model contained in an hierarchical entity child model in a version of the application.

function getHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hChildId: string, options?: RequestOptionsBase): Promise<ModelGetHierarchicalEntityChildResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

hChildId

string

The hierarchical entity extractor child ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetHierarchicalEntityChildResponse>

getHierarchicalEntityChild(string, string, string, string, RequestOptionsBase, ServiceCallback<HierarchicalChildEntity>)

function getHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hChildId: string, options: RequestOptionsBase, callback: ServiceCallback<HierarchicalChildEntity>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

hChildId

string

The hierarchical entity extractor child ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<HierarchicalChildEntity>

The callback

getHierarchicalEntityChild(string, string, string, string, ServiceCallback<HierarchicalChildEntity>)

function getHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hChildId: string, callback: ServiceCallback<HierarchicalChildEntity>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

hChildId

string

The hierarchical entity extractor child ID.

callback

ServiceCallback<HierarchicalChildEntity>

The callback

getHierarchicalEntityRole(string, string, string, string, RequestOptionsBase)

function getHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, roleId: string, options?: RequestOptionsBase): Promise<ModelGetHierarchicalEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

roleId

string

entity role ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetHierarchicalEntityRoleResponse>

getHierarchicalEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<EntityRole>)

function getHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, roleId: string, options: RequestOptionsBase, callback: ServiceCallback<EntityRole>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

roleId

string

entity role ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EntityRole>

The callback

getHierarchicalEntityRole(string, string, string, string, ServiceCallback<EntityRole>)

function getHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, roleId: string, callback: ServiceCallback<EntityRole>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

roleId

string

entity role ID.

callback

ServiceCallback<EntityRole>

The callback

getIntent(string, string, string, RequestOptionsBase)

Gets information about the intent model in a version of the application.

function getIntent(appId: string, versionId: string, intentId: string, options?: RequestOptionsBase): Promise<ModelGetIntentResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetIntentResponse>

getIntent(string, string, string, RequestOptionsBase, ServiceCallback<IntentClassifier>)

function getIntent(appId: string, versionId: string, intentId: string, options: RequestOptionsBase, callback: ServiceCallback<IntentClassifier>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<IntentClassifier>

The callback

getIntent(string, string, string, ServiceCallback<IntentClassifier>)

function getIntent(appId: string, versionId: string, intentId: string, callback: ServiceCallback<IntentClassifier>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

callback

ServiceCallback<IntentClassifier>

The callback

getIntentFeatures(string, string, string, RequestOptionsBase)

Gets the information of the features used by the intent in a version of the application.

function getIntentFeatures(appId: string, versionId: string, intentId: string, options?: RequestOptionsBase): Promise<ModelGetIntentFeaturesResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetIntentFeaturesResponse>

getIntentFeatures(string, string, string, RequestOptionsBase, ServiceCallback<ModelFeatureInformation[]>)

function getIntentFeatures(appId: string, versionId: string, intentId: string, options: RequestOptionsBase, callback: ServiceCallback<ModelFeatureInformation[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ModelFeatureInformation[]>

The callback

getIntentFeatures(string, string, string, ServiceCallback<ModelFeatureInformation[]>)

function getIntentFeatures(appId: string, versionId: string, intentId: string, callback: ServiceCallback<ModelFeatureInformation[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

callback

ServiceCallback<ModelFeatureInformation[]>

The callback

getPatternAnyEntityInfo(string, string, string, RequestOptionsBase)

function getPatternAnyEntityInfo(appId: string, versionId: string, entityId: string, options?: RequestOptionsBase): Promise<ModelGetPatternAnyEntityInfoResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetPatternAnyEntityInfoResponse>

getPatternAnyEntityInfo(string, string, string, RequestOptionsBase, ServiceCallback<PatternAnyEntityExtractor>)

function getPatternAnyEntityInfo(appId: string, versionId: string, entityId: string, options: RequestOptionsBase, callback: ServiceCallback<PatternAnyEntityExtractor>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor ID.

options
RequestOptionsBase

The optional parameters

getPatternAnyEntityInfo(string, string, string, ServiceCallback<PatternAnyEntityExtractor>)

function getPatternAnyEntityInfo(appId: string, versionId: string, entityId: string, callback: ServiceCallback<PatternAnyEntityExtractor>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor ID.

getPatternAnyEntityRole(string, string, string, string, RequestOptionsBase)

function getPatternAnyEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: RequestOptionsBase): Promise<ModelGetPatternAnyEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity ID.

roleId

string

entity role ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetPatternAnyEntityRoleResponse>

getPatternAnyEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<EntityRole>)

function getPatternAnyEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: RequestOptionsBase, callback: ServiceCallback<EntityRole>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity ID.

roleId

string

entity role ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EntityRole>

The callback

getPatternAnyEntityRole(string, string, string, string, ServiceCallback<EntityRole>)

function getPatternAnyEntityRole(appId: string, versionId: string, entityId: string, roleId: string, callback: ServiceCallback<EntityRole>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity ID.

roleId

string

entity role ID.

callback

ServiceCallback<EntityRole>

The callback

getPrebuilt(string, string, string, RequestOptionsBase)

Gets information about a prebuilt entity model in a version of the application.

function getPrebuilt(appId: string, versionId: string, prebuiltId: string, options?: RequestOptionsBase): Promise<ModelGetPrebuiltResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

prebuiltId

string

The prebuilt entity extractor ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetPrebuiltResponse>

getPrebuilt(string, string, string, RequestOptionsBase, ServiceCallback<PrebuiltEntityExtractor>)

function getPrebuilt(appId: string, versionId: string, prebuiltId: string, options: RequestOptionsBase, callback: ServiceCallback<PrebuiltEntityExtractor>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

prebuiltId

string

The prebuilt entity extractor ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<PrebuiltEntityExtractor>

The callback

getPrebuilt(string, string, string, ServiceCallback<PrebuiltEntityExtractor>)

function getPrebuilt(appId: string, versionId: string, prebuiltId: string, callback: ServiceCallback<PrebuiltEntityExtractor>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

prebuiltId

string

The prebuilt entity extractor ID.

callback

ServiceCallback<PrebuiltEntityExtractor>

The callback

getPrebuiltEntityRole(string, string, string, string, RequestOptionsBase)

function getPrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: RequestOptionsBase): Promise<ModelGetPrebuiltEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity ID.

roleId

string

entity role ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetPrebuiltEntityRoleResponse>

getPrebuiltEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<EntityRole>)

function getPrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: RequestOptionsBase, callback: ServiceCallback<EntityRole>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity ID.

roleId

string

entity role ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EntityRole>

The callback

getPrebuiltEntityRole(string, string, string, string, ServiceCallback<EntityRole>)

function getPrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, callback: ServiceCallback<EntityRole>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity ID.

roleId

string

entity role ID.

callback

ServiceCallback<EntityRole>

The callback

getRegexEntityEntityInfo(string, string, string, RequestOptionsBase)

function getRegexEntityEntityInfo(appId: string, versionId: string, regexEntityId: string, options?: RequestOptionsBase): Promise<ModelGetRegexEntityEntityInfoResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

regexEntityId

string

The regular expression entity model ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetRegexEntityEntityInfoResponse>

getRegexEntityEntityInfo(string, string, string, RequestOptionsBase, ServiceCallback<RegexEntityExtractor>)

function getRegexEntityEntityInfo(appId: string, versionId: string, regexEntityId: string, options: RequestOptionsBase, callback: ServiceCallback<RegexEntityExtractor>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

regexEntityId

string

The regular expression entity model ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<RegexEntityExtractor>

The callback

getRegexEntityEntityInfo(string, string, string, ServiceCallback<RegexEntityExtractor>)

function getRegexEntityEntityInfo(appId: string, versionId: string, regexEntityId: string, callback: ServiceCallback<RegexEntityExtractor>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

regexEntityId

string

The regular expression entity model ID.

callback

ServiceCallback<RegexEntityExtractor>

The callback

getRegexEntityRole(string, string, string, string, RequestOptionsBase)

function getRegexEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options?: RequestOptionsBase): Promise<ModelGetRegexEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity ID.

roleId

string

entity role ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelGetRegexEntityRoleResponse>

getRegexEntityRole(string, string, string, string, RequestOptionsBase, ServiceCallback<EntityRole>)

function getRegexEntityRole(appId: string, versionId: string, entityId: string, roleId: string, options: RequestOptionsBase, callback: ServiceCallback<EntityRole>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity ID.

roleId

string

entity role ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EntityRole>

The callback

getRegexEntityRole(string, string, string, string, ServiceCallback<EntityRole>)

function getRegexEntityRole(appId: string, versionId: string, entityId: string, roleId: string, callback: ServiceCallback<EntityRole>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity ID.

roleId

string

entity role ID.

callback

ServiceCallback<EntityRole>

The callback

listClosedListEntityRoles(string, string, string, RequestOptionsBase)

function listClosedListEntityRoles(appId: string, versionId: string, entityId: string, options?: RequestOptionsBase): Promise<ModelListClosedListEntityRolesResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity Id

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelListClosedListEntityRolesResponse>

listClosedListEntityRoles(string, string, string, RequestOptionsBase, ServiceCallback<EntityRole[]>)

function listClosedListEntityRoles(appId: string, versionId: string, entityId: string, options: RequestOptionsBase, callback: ServiceCallback<EntityRole[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity Id

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EntityRole[]>

The callback

listClosedListEntityRoles(string, string, string, ServiceCallback<EntityRole[]>)

function listClosedListEntityRoles(appId: string, versionId: string, entityId: string, callback: ServiceCallback<EntityRole[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity Id

callback

ServiceCallback<EntityRole[]>

The callback

listClosedLists(string, string, ModelListClosedListsOptionalParams)

Gets information about all the list entity models in a version of the application.

function listClosedLists(appId: string, versionId: string, options?: ModelListClosedListsOptionalParams): Promise<ModelListClosedListsResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
ModelListClosedListsOptionalParams

The optional parameters

Returns

Promise<Models.ModelListClosedListsResponse>

listClosedLists(string, string, ModelListClosedListsOptionalParams, ServiceCallback<ClosedListEntityExtractor[]>)

function listClosedLists(appId: string, versionId: string, options: ModelListClosedListsOptionalParams, callback: ServiceCallback<ClosedListEntityExtractor[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
ModelListClosedListsOptionalParams

The optional parameters

callback

ServiceCallback<ClosedListEntityExtractor[]>

The callback

listClosedLists(string, string, ServiceCallback<ClosedListEntityExtractor[]>)

function listClosedLists(appId: string, versionId: string, callback: ServiceCallback<ClosedListEntityExtractor[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

callback

ServiceCallback<ClosedListEntityExtractor[]>

The callback

listCompositeEntities(string, string, ModelListCompositeEntitiesOptionalParams)

Gets information about all the composite entity models in a version of the application.

function listCompositeEntities(appId: string, versionId: string, options?: ModelListCompositeEntitiesOptionalParams): Promise<ModelListCompositeEntitiesResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
ModelListCompositeEntitiesOptionalParams

The optional parameters

Returns

Promise<Models.ModelListCompositeEntitiesResponse>

listCompositeEntities(string, string, ModelListCompositeEntitiesOptionalParams, ServiceCallback<CompositeEntityExtractor[]>)

function listCompositeEntities(appId: string, versionId: string, options: ModelListCompositeEntitiesOptionalParams, callback: ServiceCallback<CompositeEntityExtractor[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
ModelListCompositeEntitiesOptionalParams

The optional parameters

callback

ServiceCallback<CompositeEntityExtractor[]>

The callback

listCompositeEntities(string, string, ServiceCallback<CompositeEntityExtractor[]>)

function listCompositeEntities(appId: string, versionId: string, callback: ServiceCallback<CompositeEntityExtractor[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

callback

ServiceCallback<CompositeEntityExtractor[]>

The callback

listCompositeEntityRoles(string, string, string, RequestOptionsBase)

function listCompositeEntityRoles(appId: string, versionId: string, cEntityId: string, options?: RequestOptionsBase): Promise<ModelListCompositeEntityRolesResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelListCompositeEntityRolesResponse>

listCompositeEntityRoles(string, string, string, RequestOptionsBase, ServiceCallback<EntityRole[]>)

function listCompositeEntityRoles(appId: string, versionId: string, cEntityId: string, options: RequestOptionsBase, callback: ServiceCallback<EntityRole[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EntityRole[]>

The callback

listCompositeEntityRoles(string, string, string, ServiceCallback<EntityRole[]>)

function listCompositeEntityRoles(appId: string, versionId: string, cEntityId: string, callback: ServiceCallback<EntityRole[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

callback

ServiceCallback<EntityRole[]>

The callback

listCustomPrebuiltEntities(string, string, RequestOptionsBase)

Gets all prebuilt entities used in a version of the application.

function listCustomPrebuiltEntities(appId: string, versionId: string, options?: RequestOptionsBase): Promise<ModelListCustomPrebuiltEntitiesResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelListCustomPrebuiltEntitiesResponse>

listCustomPrebuiltEntities(string, string, RequestOptionsBase, ServiceCallback<EntityExtractor[]>)

function listCustomPrebuiltEntities(appId: string, versionId: string, options: RequestOptionsBase, callback: ServiceCallback<EntityExtractor[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EntityExtractor[]>

The callback

listCustomPrebuiltEntities(string, string, ServiceCallback<EntityExtractor[]>)

function listCustomPrebuiltEntities(appId: string, versionId: string, callback: ServiceCallback<EntityExtractor[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

callback

ServiceCallback<EntityExtractor[]>

The callback

listCustomPrebuiltEntityRoles(string, string, string, RequestOptionsBase)

function listCustomPrebuiltEntityRoles(appId: string, versionId: string, entityId: string, options?: RequestOptionsBase): Promise<ModelListCustomPrebuiltEntityRolesResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity Id

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelListCustomPrebuiltEntityRolesResponse>

listCustomPrebuiltEntityRoles(string, string, string, RequestOptionsBase, ServiceCallback<EntityRole[]>)

function listCustomPrebuiltEntityRoles(appId: string, versionId: string, entityId: string, options: RequestOptionsBase, callback: ServiceCallback<EntityRole[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity Id

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EntityRole[]>

The callback

listCustomPrebuiltEntityRoles(string, string, string, ServiceCallback<EntityRole[]>)

function listCustomPrebuiltEntityRoles(appId: string, versionId: string, entityId: string, callback: ServiceCallback<EntityRole[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity Id

callback

ServiceCallback<EntityRole[]>

The callback

listCustomPrebuiltIntents(string, string, RequestOptionsBase)

Gets information about customizable prebuilt intents added to a version of the application.

function listCustomPrebuiltIntents(appId: string, versionId: string, options?: RequestOptionsBase): Promise<ModelListCustomPrebuiltIntentsResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelListCustomPrebuiltIntentsResponse>

listCustomPrebuiltIntents(string, string, RequestOptionsBase, ServiceCallback<IntentClassifier[]>)

function listCustomPrebuiltIntents(appId: string, versionId: string, options: RequestOptionsBase, callback: ServiceCallback<IntentClassifier[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<IntentClassifier[]>

The callback

listCustomPrebuiltIntents(string, string, ServiceCallback<IntentClassifier[]>)

function listCustomPrebuiltIntents(appId: string, versionId: string, callback: ServiceCallback<IntentClassifier[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

callback

ServiceCallback<IntentClassifier[]>

The callback

listCustomPrebuiltModels(string, string, RequestOptionsBase)

Gets all prebuilt intent and entity model information used in a version of this application.

function listCustomPrebuiltModels(appId: string, versionId: string, options?: RequestOptionsBase): Promise<ModelListCustomPrebuiltModelsResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelListCustomPrebuiltModelsResponse>

listCustomPrebuiltModels(string, string, RequestOptionsBase, ServiceCallback<CustomPrebuiltModel[]>)

function listCustomPrebuiltModels(appId: string, versionId: string, options: RequestOptionsBase, callback: ServiceCallback<CustomPrebuiltModel[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<CustomPrebuiltModel[]>

The callback

listCustomPrebuiltModels(string, string, ServiceCallback<CustomPrebuiltModel[]>)

function listCustomPrebuiltModels(appId: string, versionId: string, callback: ServiceCallback<CustomPrebuiltModel[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

callback

ServiceCallback<CustomPrebuiltModel[]>

The callback

listEntities(string, string, ModelListEntitiesOptionalParams)

Gets information about all the simple entity models in a version of the application.

function listEntities(appId: string, versionId: string, options?: ModelListEntitiesOptionalParams): Promise<ModelListEntitiesResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
ModelListEntitiesOptionalParams

The optional parameters

Returns

Promise<Models.ModelListEntitiesResponse>

listEntities(string, string, ModelListEntitiesOptionalParams, ServiceCallback<NDepthEntityExtractor[]>)

function listEntities(appId: string, versionId: string, options: ModelListEntitiesOptionalParams, callback: ServiceCallback<NDepthEntityExtractor[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
ModelListEntitiesOptionalParams

The optional parameters

callback

ServiceCallback<NDepthEntityExtractor[]>

The callback

listEntities(string, string, ServiceCallback<NDepthEntityExtractor[]>)

function listEntities(appId: string, versionId: string, callback: ServiceCallback<NDepthEntityExtractor[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

callback

ServiceCallback<NDepthEntityExtractor[]>

The callback

listEntityRoles(string, string, string, RequestOptionsBase)

function listEntityRoles(appId: string, versionId: string, entityId: string, options?: RequestOptionsBase): Promise<ModelListEntityRolesResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity Id

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelListEntityRolesResponse>

listEntityRoles(string, string, string, RequestOptionsBase, ServiceCallback<EntityRole[]>)

function listEntityRoles(appId: string, versionId: string, entityId: string, options: RequestOptionsBase, callback: ServiceCallback<EntityRole[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity Id

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EntityRole[]>

The callback

listEntityRoles(string, string, string, ServiceCallback<EntityRole[]>)

function listEntityRoles(appId: string, versionId: string, entityId: string, callback: ServiceCallback<EntityRole[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity Id

callback

ServiceCallback<EntityRole[]>

The callback

listEntitySuggestions(string, string, string, ModelListEntitySuggestionsOptionalParams)

Get suggested example utterances that would improve the accuracy of the entity model in a version of the application.

function listEntitySuggestions(appId: string, versionId: string, entityId: string, options?: ModelListEntitySuggestionsOptionalParams): Promise<ModelListEntitySuggestionsResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The target entity extractor model to enhance.

options
ModelListEntitySuggestionsOptionalParams

The optional parameters

Returns

Promise<Models.ModelListEntitySuggestionsResponse>

listEntitySuggestions(string, string, string, ModelListEntitySuggestionsOptionalParams, ServiceCallback<EntitiesSuggestionExample[]>)

function listEntitySuggestions(appId: string, versionId: string, entityId: string, options: ModelListEntitySuggestionsOptionalParams, callback: ServiceCallback<EntitiesSuggestionExample[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The target entity extractor model to enhance.

options
ModelListEntitySuggestionsOptionalParams

The optional parameters

callback

ServiceCallback<EntitiesSuggestionExample[]>

The callback

listEntitySuggestions(string, string, string, ServiceCallback<EntitiesSuggestionExample[]>)

function listEntitySuggestions(appId: string, versionId: string, entityId: string, callback: ServiceCallback<EntitiesSuggestionExample[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The target entity extractor model to enhance.

callback

ServiceCallback<EntitiesSuggestionExample[]>

The callback

listHierarchicalEntities(string, string, ModelListHierarchicalEntitiesOptionalParams)

Gets information about all the hierarchical entity models in a version of the application.

function listHierarchicalEntities(appId: string, versionId: string, options?: ModelListHierarchicalEntitiesOptionalParams): Promise<ModelListHierarchicalEntitiesResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
ModelListHierarchicalEntitiesOptionalParams

The optional parameters

Returns

Promise<Models.ModelListHierarchicalEntitiesResponse>

listHierarchicalEntities(string, string, ModelListHierarchicalEntitiesOptionalParams, ServiceCallback<HierarchicalEntityExtractor[]>)

function listHierarchicalEntities(appId: string, versionId: string, options: ModelListHierarchicalEntitiesOptionalParams, callback: ServiceCallback<HierarchicalEntityExtractor[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
ModelListHierarchicalEntitiesOptionalParams

The optional parameters

callback

ServiceCallback<HierarchicalEntityExtractor[]>

The callback

listHierarchicalEntities(string, string, ServiceCallback<HierarchicalEntityExtractor[]>)

function listHierarchicalEntities(appId: string, versionId: string, callback: ServiceCallback<HierarchicalEntityExtractor[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

callback

ServiceCallback<HierarchicalEntityExtractor[]>

The callback

listHierarchicalEntityRoles(string, string, string, RequestOptionsBase)

function listHierarchicalEntityRoles(appId: string, versionId: string, hEntityId: string, options?: RequestOptionsBase): Promise<ModelListHierarchicalEntityRolesResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelListHierarchicalEntityRolesResponse>

listHierarchicalEntityRoles(string, string, string, RequestOptionsBase, ServiceCallback<EntityRole[]>)

function listHierarchicalEntityRoles(appId: string, versionId: string, hEntityId: string, options: RequestOptionsBase, callback: ServiceCallback<EntityRole[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EntityRole[]>

The callback

listHierarchicalEntityRoles(string, string, string, ServiceCallback<EntityRole[]>)

function listHierarchicalEntityRoles(appId: string, versionId: string, hEntityId: string, callback: ServiceCallback<EntityRole[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

callback

ServiceCallback<EntityRole[]>

The callback

listIntents(string, string, ModelListIntentsOptionalParams)

Gets information about the intent models in a version of the application.

function listIntents(appId: string, versionId: string, options?: ModelListIntentsOptionalParams): Promise<ModelListIntentsResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
ModelListIntentsOptionalParams

The optional parameters

Returns

Promise<Models.ModelListIntentsResponse>

listIntents(string, string, ModelListIntentsOptionalParams, ServiceCallback<IntentClassifier[]>)

function listIntents(appId: string, versionId: string, options: ModelListIntentsOptionalParams, callback: ServiceCallback<IntentClassifier[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
ModelListIntentsOptionalParams

The optional parameters

callback

ServiceCallback<IntentClassifier[]>

The callback

listIntents(string, string, ServiceCallback<IntentClassifier[]>)

function listIntents(appId: string, versionId: string, callback: ServiceCallback<IntentClassifier[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

callback

ServiceCallback<IntentClassifier[]>

The callback

listIntentSuggestions(string, string, string, ModelListIntentSuggestionsOptionalParams)

Suggests example utterances that would improve the accuracy of the intent model in a version of the application.

function listIntentSuggestions(appId: string, versionId: string, intentId: string, options?: ModelListIntentSuggestionsOptionalParams): Promise<ModelListIntentSuggestionsResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

options
ModelListIntentSuggestionsOptionalParams

The optional parameters

Returns

Promise<Models.ModelListIntentSuggestionsResponse>

listIntentSuggestions(string, string, string, ModelListIntentSuggestionsOptionalParams, ServiceCallback<IntentsSuggestionExample[]>)

function listIntentSuggestions(appId: string, versionId: string, intentId: string, options: ModelListIntentSuggestionsOptionalParams, callback: ServiceCallback<IntentsSuggestionExample[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

options
ModelListIntentSuggestionsOptionalParams

The optional parameters

callback

ServiceCallback<IntentsSuggestionExample[]>

The callback

listIntentSuggestions(string, string, string, ServiceCallback<IntentsSuggestionExample[]>)

function listIntentSuggestions(appId: string, versionId: string, intentId: string, callback: ServiceCallback<IntentsSuggestionExample[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

callback

ServiceCallback<IntentsSuggestionExample[]>

The callback

listModels(string, string, ModelListModelsOptionalParams)

Gets information about all the intent and entity models in a version of the application.

function listModels(appId: string, versionId: string, options?: ModelListModelsOptionalParams): Promise<ModelListModelsResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
ModelListModelsOptionalParams

The optional parameters

Returns

Promise<Models.ModelListModelsResponse>

listModels(string, string, ModelListModelsOptionalParams, ServiceCallback<ModelInfoResponse[]>)

function listModels(appId: string, versionId: string, options: ModelListModelsOptionalParams, callback: ServiceCallback<ModelInfoResponse[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
ModelListModelsOptionalParams

The optional parameters

callback

ServiceCallback<ModelInfoResponse[]>

The callback

listModels(string, string, ServiceCallback<ModelInfoResponse[]>)

function listModels(appId: string, versionId: string, callback: ServiceCallback<ModelInfoResponse[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

callback

ServiceCallback<ModelInfoResponse[]>

The callback

listPatternAnyEntityInfos(string, string, ModelListPatternAnyEntityInfosOptionalParams)

function listPatternAnyEntityInfos(appId: string, versionId: string, options?: ModelListPatternAnyEntityInfosOptionalParams): Promise<ModelListPatternAnyEntityInfosResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
ModelListPatternAnyEntityInfosOptionalParams

The optional parameters

Returns

Promise<Models.ModelListPatternAnyEntityInfosResponse>

listPatternAnyEntityInfos(string, string, ModelListPatternAnyEntityInfosOptionalParams, ServiceCallback<PatternAnyEntityExtractor[]>)

function listPatternAnyEntityInfos(appId: string, versionId: string, options: ModelListPatternAnyEntityInfosOptionalParams, callback: ServiceCallback<PatternAnyEntityExtractor[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
ModelListPatternAnyEntityInfosOptionalParams

The optional parameters

callback

ServiceCallback<PatternAnyEntityExtractor[]>

The callback

listPatternAnyEntityInfos(string, string, ServiceCallback<PatternAnyEntityExtractor[]>)

function listPatternAnyEntityInfos(appId: string, versionId: string, callback: ServiceCallback<PatternAnyEntityExtractor[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

callback

ServiceCallback<PatternAnyEntityExtractor[]>

The callback

listPatternAnyEntityRoles(string, string, string, RequestOptionsBase)

function listPatternAnyEntityRoles(appId: string, versionId: string, entityId: string, options?: RequestOptionsBase): Promise<ModelListPatternAnyEntityRolesResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity Id

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelListPatternAnyEntityRolesResponse>

listPatternAnyEntityRoles(string, string, string, RequestOptionsBase, ServiceCallback<EntityRole[]>)

function listPatternAnyEntityRoles(appId: string, versionId: string, entityId: string, options: RequestOptionsBase, callback: ServiceCallback<EntityRole[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity Id

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EntityRole[]>

The callback

listPatternAnyEntityRoles(string, string, string, ServiceCallback<EntityRole[]>)

function listPatternAnyEntityRoles(appId: string, versionId: string, entityId: string, callback: ServiceCallback<EntityRole[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity Id

callback

ServiceCallback<EntityRole[]>

The callback

listPrebuiltEntities(string, string, RequestOptionsBase)

Gets all the available prebuilt entities in a version of the application.

function listPrebuiltEntities(appId: string, versionId: string, options?: RequestOptionsBase): Promise<ModelListPrebuiltEntitiesResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelListPrebuiltEntitiesResponse>

listPrebuiltEntities(string, string, RequestOptionsBase, ServiceCallback<AvailablePrebuiltEntityModel[]>)

function listPrebuiltEntities(appId: string, versionId: string, options: RequestOptionsBase, callback: ServiceCallback<AvailablePrebuiltEntityModel[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
RequestOptionsBase

The optional parameters

listPrebuiltEntities(string, string, ServiceCallback<AvailablePrebuiltEntityModel[]>)

function listPrebuiltEntities(appId: string, versionId: string, callback: ServiceCallback<AvailablePrebuiltEntityModel[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

listPrebuiltEntityRoles(string, string, string, RequestOptionsBase)

function listPrebuiltEntityRoles(appId: string, versionId: string, entityId: string, options?: RequestOptionsBase): Promise<ModelListPrebuiltEntityRolesResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity Id

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelListPrebuiltEntityRolesResponse>

listPrebuiltEntityRoles(string, string, string, RequestOptionsBase, ServiceCallback<EntityRole[]>)

function listPrebuiltEntityRoles(appId: string, versionId: string, entityId: string, options: RequestOptionsBase, callback: ServiceCallback<EntityRole[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity Id

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EntityRole[]>

The callback

listPrebuiltEntityRoles(string, string, string, ServiceCallback<EntityRole[]>)

function listPrebuiltEntityRoles(appId: string, versionId: string, entityId: string, callback: ServiceCallback<EntityRole[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity Id

callback

ServiceCallback<EntityRole[]>

The callback

listPrebuilts(string, string, ModelListPrebuiltsOptionalParams)

Gets information about all the prebuilt entities in a version of the application.

function listPrebuilts(appId: string, versionId: string, options?: ModelListPrebuiltsOptionalParams): Promise<ModelListPrebuiltsResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
ModelListPrebuiltsOptionalParams

The optional parameters

Returns

Promise<Models.ModelListPrebuiltsResponse>

listPrebuilts(string, string, ModelListPrebuiltsOptionalParams, ServiceCallback<PrebuiltEntityExtractor[]>)

function listPrebuilts(appId: string, versionId: string, options: ModelListPrebuiltsOptionalParams, callback: ServiceCallback<PrebuiltEntityExtractor[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
ModelListPrebuiltsOptionalParams

The optional parameters

callback

ServiceCallback<PrebuiltEntityExtractor[]>

The callback

listPrebuilts(string, string, ServiceCallback<PrebuiltEntityExtractor[]>)

function listPrebuilts(appId: string, versionId: string, callback: ServiceCallback<PrebuiltEntityExtractor[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

callback

ServiceCallback<PrebuiltEntityExtractor[]>

The callback

listRegexEntityInfos(string, string, ModelListRegexEntityInfosOptionalParams)

function listRegexEntityInfos(appId: string, versionId: string, options?: ModelListRegexEntityInfosOptionalParams): Promise<ModelListRegexEntityInfosResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
ModelListRegexEntityInfosOptionalParams

The optional parameters

Returns

Promise<Models.ModelListRegexEntityInfosResponse>

listRegexEntityInfos(string, string, ModelListRegexEntityInfosOptionalParams, ServiceCallback<RegexEntityExtractor[]>)

function listRegexEntityInfos(appId: string, versionId: string, options: ModelListRegexEntityInfosOptionalParams, callback: ServiceCallback<RegexEntityExtractor[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

options
ModelListRegexEntityInfosOptionalParams

The optional parameters

callback

ServiceCallback<RegexEntityExtractor[]>

The callback

listRegexEntityInfos(string, string, ServiceCallback<RegexEntityExtractor[]>)

function listRegexEntityInfos(appId: string, versionId: string, callback: ServiceCallback<RegexEntityExtractor[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

callback

ServiceCallback<RegexEntityExtractor[]>

The callback

listRegexEntityRoles(string, string, string, RequestOptionsBase)

function listRegexEntityRoles(appId: string, versionId: string, entityId: string, options?: RequestOptionsBase): Promise<ModelListRegexEntityRolesResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity Id

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelListRegexEntityRolesResponse>

listRegexEntityRoles(string, string, string, RequestOptionsBase, ServiceCallback<EntityRole[]>)

function listRegexEntityRoles(appId: string, versionId: string, entityId: string, options: RequestOptionsBase, callback: ServiceCallback<EntityRole[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity Id

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<EntityRole[]>

The callback

listRegexEntityRoles(string, string, string, ServiceCallback<EntityRole[]>)

function listRegexEntityRoles(appId: string, versionId: string, entityId: string, callback: ServiceCallback<EntityRole[]>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

entity Id

callback

ServiceCallback<EntityRole[]>

The callback

patchClosedList(string, string, string, ClosedListModelPatchObject, RequestOptionsBase)

Adds a batch of sublists to an existing list entity in a version of the application.

function patchClosedList(appId: string, versionId: string, clEntityId: string, closedListModelPatchObject: ClosedListModelPatchObject, options?: RequestOptionsBase): Promise<ModelPatchClosedListResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list entity model ID.

closedListModelPatchObject
ClosedListModelPatchObject

A words list batch.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelPatchClosedListResponse>

patchClosedList(string, string, string, ClosedListModelPatchObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function patchClosedList(appId: string, versionId: string, clEntityId: string, closedListModelPatchObject: ClosedListModelPatchObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list entity model ID.

closedListModelPatchObject
ClosedListModelPatchObject

A words list batch.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

patchClosedList(string, string, string, ClosedListModelPatchObject, ServiceCallback<OperationStatus>)

function patchClosedList(appId: string, versionId: string, clEntityId: string, closedListModelPatchObject: ClosedListModelPatchObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list entity model ID.

closedListModelPatchObject
ClosedListModelPatchObject

A words list batch.

callback

ServiceCallback<OperationStatus>

The callback

replaceEntityFeatures(string, string, string, ModelFeatureInformation[], RequestOptionsBase)

Updates the information of the features used by the entity in a version of the application.

function replaceEntityFeatures(appId: string, versionId: string, entityId: string, featureRelationsUpdateObject: ModelFeatureInformation[], options?: RequestOptionsBase): Promise<ModelReplaceEntityFeaturesResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor ID.

featureRelationsUpdateObject

ModelFeatureInformation[]

A list of feature information objects containing the new feature relations.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelReplaceEntityFeaturesResponse>

replaceEntityFeatures(string, string, string, ModelFeatureInformation[], RequestOptionsBase, ServiceCallback<OperationStatus>)

function replaceEntityFeatures(appId: string, versionId: string, entityId: string, featureRelationsUpdateObject: ModelFeatureInformation[], options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor ID.

featureRelationsUpdateObject

ModelFeatureInformation[]

A list of feature information objects containing the new feature relations.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

replaceEntityFeatures(string, string, string, ModelFeatureInformation[], ServiceCallback<OperationStatus>)

function replaceEntityFeatures(appId: string, versionId: string, entityId: string, featureRelationsUpdateObject: ModelFeatureInformation[], callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor ID.

featureRelationsUpdateObject

ModelFeatureInformation[]

A list of feature information objects containing the new feature relations.

callback

ServiceCallback<OperationStatus>

The callback

replaceIntentFeatures(string, string, string, ModelFeatureInformation[], RequestOptionsBase)

Updates the information of the features used by the intent in a version of the application.

function replaceIntentFeatures(appId: string, versionId: string, intentId: string, featureRelationsUpdateObject: ModelFeatureInformation[], options?: RequestOptionsBase): Promise<ModelReplaceIntentFeaturesResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

featureRelationsUpdateObject

ModelFeatureInformation[]

A list of feature information objects containing the new feature relations.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelReplaceIntentFeaturesResponse>

replaceIntentFeatures(string, string, string, ModelFeatureInformation[], RequestOptionsBase, ServiceCallback<OperationStatus>)

function replaceIntentFeatures(appId: string, versionId: string, intentId: string, featureRelationsUpdateObject: ModelFeatureInformation[], options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

featureRelationsUpdateObject

ModelFeatureInformation[]

A list of feature information objects containing the new feature relations.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

replaceIntentFeatures(string, string, string, ModelFeatureInformation[], ServiceCallback<OperationStatus>)

function replaceIntentFeatures(appId: string, versionId: string, intentId: string, featureRelationsUpdateObject: ModelFeatureInformation[], callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

featureRelationsUpdateObject

ModelFeatureInformation[]

A list of feature information objects containing the new feature relations.

callback

ServiceCallback<OperationStatus>

The callback

updateClosedList(string, string, string, ClosedListModelUpdateObject, RequestOptionsBase)

Updates the list entity in a version of the application.

function updateClosedList(appId: string, versionId: string, clEntityId: string, closedListModelUpdateObject: ClosedListModelUpdateObject, options?: RequestOptionsBase): Promise<ModelUpdateClosedListResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list model ID.

closedListModelUpdateObject
ClosedListModelUpdateObject

The new list entity name and words list.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelUpdateClosedListResponse>

updateClosedList(string, string, string, ClosedListModelUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updateClosedList(appId: string, versionId: string, clEntityId: string, closedListModelUpdateObject: ClosedListModelUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list model ID.

closedListModelUpdateObject
ClosedListModelUpdateObject

The new list entity name and words list.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updateClosedList(string, string, string, ClosedListModelUpdateObject, ServiceCallback<OperationStatus>)

function updateClosedList(appId: string, versionId: string, clEntityId: string, closedListModelUpdateObject: ClosedListModelUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list model ID.

closedListModelUpdateObject
ClosedListModelUpdateObject

The new list entity name and words list.

callback

ServiceCallback<OperationStatus>

The callback

updateClosedListEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase)

function updateClosedListEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, options?: RequestOptionsBase): Promise<ModelUpdateClosedListEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelUpdateClosedListEntityRoleResponse>

updateClosedListEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updateClosedListEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updateClosedListEntityRole(string, string, string, string, EntityRoleUpdateObject, ServiceCallback<OperationStatus>)

function updateClosedListEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

callback

ServiceCallback<OperationStatus>

The callback

updateCompositeEntity(string, string, string, CompositeEntityModel, RequestOptionsBase)

Updates a composite entity in a version of the application.

function updateCompositeEntity(appId: string, versionId: string, cEntityId: string, compositeModelUpdateObject: CompositeEntityModel, options?: RequestOptionsBase): Promise<ModelUpdateCompositeEntityResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

compositeModelUpdateObject
CompositeEntityModel

A model object containing the new entity extractor name and children.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelUpdateCompositeEntityResponse>

updateCompositeEntity(string, string, string, CompositeEntityModel, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updateCompositeEntity(appId: string, versionId: string, cEntityId: string, compositeModelUpdateObject: CompositeEntityModel, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

compositeModelUpdateObject
CompositeEntityModel

A model object containing the new entity extractor name and children.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updateCompositeEntity(string, string, string, CompositeEntityModel, ServiceCallback<OperationStatus>)

function updateCompositeEntity(appId: string, versionId: string, cEntityId: string, compositeModelUpdateObject: CompositeEntityModel, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

compositeModelUpdateObject
CompositeEntityModel

A model object containing the new entity extractor name and children.

callback

ServiceCallback<OperationStatus>

The callback

updateCompositeEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase)

function updateCompositeEntityRole(appId: string, versionId: string, cEntityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, options?: RequestOptionsBase): Promise<ModelUpdateCompositeEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelUpdateCompositeEntityRoleResponse>

updateCompositeEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updateCompositeEntityRole(appId: string, versionId: string, cEntityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updateCompositeEntityRole(string, string, string, string, EntityRoleUpdateObject, ServiceCallback<OperationStatus>)

function updateCompositeEntityRole(appId: string, versionId: string, cEntityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

cEntityId

string

The composite entity extractor ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

callback

ServiceCallback<OperationStatus>

The callback

updateCustomPrebuiltEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase)

function updateCustomPrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, options?: RequestOptionsBase): Promise<ModelUpdateCustomPrebuiltEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelUpdateCustomPrebuiltEntityRoleResponse>

updateCustomPrebuiltEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updateCustomPrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updateCustomPrebuiltEntityRole(string, string, string, string, EntityRoleUpdateObject, ServiceCallback<OperationStatus>)

function updateCustomPrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

callback

ServiceCallback<OperationStatus>

The callback

updateEntityChild(string, string, string, EntityModelUpdateObject, RequestOptionsBase)

Updates the name of an entity extractor or the name and instanceOf model of a child entity extractor.

function updateEntityChild(appId: string, versionId: string, entityId: string, entityModelUpdateObject: EntityModelUpdateObject, options?: RequestOptionsBase): Promise<ModelUpdateEntityChildResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor or the child entity extractor ID.

entityModelUpdateObject
EntityModelUpdateObject

A model object containing the name new entity extractor or the name and instance of model of a child entity extractor

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelUpdateEntityChildResponse>

updateEntityChild(string, string, string, EntityModelUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updateEntityChild(appId: string, versionId: string, entityId: string, entityModelUpdateObject: EntityModelUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor or the child entity extractor ID.

entityModelUpdateObject
EntityModelUpdateObject

A model object containing the name new entity extractor or the name and instance of model of a child entity extractor

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updateEntityChild(string, string, string, EntityModelUpdateObject, ServiceCallback<OperationStatus>)

function updateEntityChild(appId: string, versionId: string, entityId: string, entityModelUpdateObject: EntityModelUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity extractor or the child entity extractor ID.

entityModelUpdateObject
EntityModelUpdateObject

A model object containing the name new entity extractor or the name and instance of model of a child entity extractor

callback

ServiceCallback<OperationStatus>

The callback

updateEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase)

function updateEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, options?: RequestOptionsBase): Promise<ModelUpdateEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelUpdateEntityRoleResponse>

updateEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updateEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updateEntityRole(string, string, string, string, EntityRoleUpdateObject, ServiceCallback<OperationStatus>)

function updateEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

callback

ServiceCallback<OperationStatus>

The callback

updateExplicitListItem(string, string, string, number, ExplicitListItemUpdateObject, RequestOptionsBase)

function updateExplicitListItem(appId: string, versionId: string, entityId: string, itemId: number, item: ExplicitListItemUpdateObject, options?: RequestOptionsBase): Promise<ModelUpdateExplicitListItemResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The Pattern.Any entity extractor ID.

itemId

number

The explicit list item ID.

item
ExplicitListItemUpdateObject

The new explicit list item.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelUpdateExplicitListItemResponse>

updateExplicitListItem(string, string, string, number, ExplicitListItemUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updateExplicitListItem(appId: string, versionId: string, entityId: string, itemId: number, item: ExplicitListItemUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The Pattern.Any entity extractor ID.

itemId

number

The explicit list item ID.

item
ExplicitListItemUpdateObject

The new explicit list item.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updateExplicitListItem(string, string, string, number, ExplicitListItemUpdateObject, ServiceCallback<OperationStatus>)

function updateExplicitListItem(appId: string, versionId: string, entityId: string, itemId: number, item: ExplicitListItemUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The Pattern.Any entity extractor ID.

itemId

number

The explicit list item ID.

item
ExplicitListItemUpdateObject

The new explicit list item.

callback

ServiceCallback<OperationStatus>

The callback

updateHierarchicalEntity(string, string, string, ModelUpdateObject, RequestOptionsBase)

Updates the name of a hierarchical entity model in a version of the application.

function updateHierarchicalEntity(appId: string, versionId: string, hEntityId: string, modelUpdateObject: ModelUpdateObject, options?: RequestOptionsBase): Promise<ModelUpdateHierarchicalEntityResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

modelUpdateObject
ModelUpdateObject

Model containing names of the hierarchical entity.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelUpdateHierarchicalEntityResponse>

updateHierarchicalEntity(string, string, string, ModelUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updateHierarchicalEntity(appId: string, versionId: string, hEntityId: string, modelUpdateObject: ModelUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

modelUpdateObject
ModelUpdateObject

Model containing names of the hierarchical entity.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updateHierarchicalEntity(string, string, string, ModelUpdateObject, ServiceCallback<OperationStatus>)

function updateHierarchicalEntity(appId: string, versionId: string, hEntityId: string, modelUpdateObject: ModelUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

modelUpdateObject
ModelUpdateObject

Model containing names of the hierarchical entity.

callback

ServiceCallback<OperationStatus>

The callback

updateHierarchicalEntityChild(string, string, string, string, HierarchicalChildModelUpdateObject, RequestOptionsBase)

Renames a single child in an existing hierarchical entity model in a version of the application.

function updateHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hChildId: string, hierarchicalChildModelUpdateObject: HierarchicalChildModelUpdateObject, options?: RequestOptionsBase): Promise<ModelUpdateHierarchicalEntityChildResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

hChildId

string

The hierarchical entity extractor child ID.

hierarchicalChildModelUpdateObject
HierarchicalChildModelUpdateObject

Model object containing new name of the hierarchical entity child.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelUpdateHierarchicalEntityChildResponse>

updateHierarchicalEntityChild(string, string, string, string, HierarchicalChildModelUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updateHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hChildId: string, hierarchicalChildModelUpdateObject: HierarchicalChildModelUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

hChildId

string

The hierarchical entity extractor child ID.

hierarchicalChildModelUpdateObject
HierarchicalChildModelUpdateObject

Model object containing new name of the hierarchical entity child.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updateHierarchicalEntityChild(string, string, string, string, HierarchicalChildModelUpdateObject, ServiceCallback<OperationStatus>)

function updateHierarchicalEntityChild(appId: string, versionId: string, hEntityId: string, hChildId: string, hierarchicalChildModelUpdateObject: HierarchicalChildModelUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

hChildId

string

The hierarchical entity extractor child ID.

hierarchicalChildModelUpdateObject
HierarchicalChildModelUpdateObject

Model object containing new name of the hierarchical entity child.

callback

ServiceCallback<OperationStatus>

The callback

updateHierarchicalEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase)

function updateHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, options?: RequestOptionsBase): Promise<ModelUpdateHierarchicalEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelUpdateHierarchicalEntityRoleResponse>

updateHierarchicalEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updateHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updateHierarchicalEntityRole(string, string, string, string, EntityRoleUpdateObject, ServiceCallback<OperationStatus>)

function updateHierarchicalEntityRole(appId: string, versionId: string, hEntityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

hEntityId

string

The hierarchical entity extractor ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

callback

ServiceCallback<OperationStatus>

The callback

updateIntent(string, string, string, ModelUpdateObject, RequestOptionsBase)

Updates the name of an intent in a version of the application.

function updateIntent(appId: string, versionId: string, intentId: string, modelUpdateObject: ModelUpdateObject, options?: RequestOptionsBase): Promise<ModelUpdateIntentResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

modelUpdateObject
ModelUpdateObject

A model object containing the new intent name.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelUpdateIntentResponse>

updateIntent(string, string, string, ModelUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updateIntent(appId: string, versionId: string, intentId: string, modelUpdateObject: ModelUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

modelUpdateObject
ModelUpdateObject

A model object containing the new intent name.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updateIntent(string, string, string, ModelUpdateObject, ServiceCallback<OperationStatus>)

function updateIntent(appId: string, versionId: string, intentId: string, modelUpdateObject: ModelUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

intentId

string

The intent classifier ID.

modelUpdateObject
ModelUpdateObject

A model object containing the new intent name.

callback

ServiceCallback<OperationStatus>

The callback

updatePatternAnyEntityModel(string, string, string, PatternAnyModelUpdateObject, RequestOptionsBase)

function updatePatternAnyEntityModel(appId: string, versionId: string, entityId: string, patternAnyUpdateObject: PatternAnyModelUpdateObject, options?: RequestOptionsBase): Promise<ModelUpdatePatternAnyEntityModelResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The Pattern.Any entity extractor ID.

patternAnyUpdateObject
PatternAnyModelUpdateObject

An object containing the explicit list of the Pattern.Any entity.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelUpdatePatternAnyEntityModelResponse>

updatePatternAnyEntityModel(string, string, string, PatternAnyModelUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updatePatternAnyEntityModel(appId: string, versionId: string, entityId: string, patternAnyUpdateObject: PatternAnyModelUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The Pattern.Any entity extractor ID.

patternAnyUpdateObject
PatternAnyModelUpdateObject

An object containing the explicit list of the Pattern.Any entity.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updatePatternAnyEntityModel(string, string, string, PatternAnyModelUpdateObject, ServiceCallback<OperationStatus>)

function updatePatternAnyEntityModel(appId: string, versionId: string, entityId: string, patternAnyUpdateObject: PatternAnyModelUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The Pattern.Any entity extractor ID.

patternAnyUpdateObject
PatternAnyModelUpdateObject

An object containing the explicit list of the Pattern.Any entity.

callback

ServiceCallback<OperationStatus>

The callback

updatePatternAnyEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase)

function updatePatternAnyEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, options?: RequestOptionsBase): Promise<ModelUpdatePatternAnyEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelUpdatePatternAnyEntityRoleResponse>

updatePatternAnyEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updatePatternAnyEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updatePatternAnyEntityRole(string, string, string, string, EntityRoleUpdateObject, ServiceCallback<OperationStatus>)

function updatePatternAnyEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

callback

ServiceCallback<OperationStatus>

The callback

updatePrebuiltEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase)

function updatePrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, options?: RequestOptionsBase): Promise<ModelUpdatePrebuiltEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelUpdatePrebuiltEntityRoleResponse>

updatePrebuiltEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updatePrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updatePrebuiltEntityRole(string, string, string, string, EntityRoleUpdateObject, ServiceCallback<OperationStatus>)

function updatePrebuiltEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

callback

ServiceCallback<OperationStatus>

The callback

updateRegexEntityModel(string, string, string, RegexModelUpdateObject, RequestOptionsBase)

function updateRegexEntityModel(appId: string, versionId: string, regexEntityId: string, regexEntityUpdateObject: RegexModelUpdateObject, options?: RequestOptionsBase): Promise<ModelUpdateRegexEntityModelResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

regexEntityId

string

The regular expression entity extractor ID.

regexEntityUpdateObject
RegexModelUpdateObject

An object containing the new entity name and regex pattern.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelUpdateRegexEntityModelResponse>

updateRegexEntityModel(string, string, string, RegexModelUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updateRegexEntityModel(appId: string, versionId: string, regexEntityId: string, regexEntityUpdateObject: RegexModelUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

regexEntityId

string

The regular expression entity extractor ID.

regexEntityUpdateObject
RegexModelUpdateObject

An object containing the new entity name and regex pattern.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updateRegexEntityModel(string, string, string, RegexModelUpdateObject, ServiceCallback<OperationStatus>)

function updateRegexEntityModel(appId: string, versionId: string, regexEntityId: string, regexEntityUpdateObject: RegexModelUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

regexEntityId

string

The regular expression entity extractor ID.

regexEntityUpdateObject
RegexModelUpdateObject

An object containing the new entity name and regex pattern.

callback

ServiceCallback<OperationStatus>

The callback

updateRegexEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase)

function updateRegexEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, options?: RequestOptionsBase): Promise<ModelUpdateRegexEntityRoleResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelUpdateRegexEntityRoleResponse>

updateRegexEntityRole(string, string, string, string, EntityRoleUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updateRegexEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updateRegexEntityRole(string, string, string, string, EntityRoleUpdateObject, ServiceCallback<OperationStatus>)

function updateRegexEntityRole(appId: string, versionId: string, entityId: string, roleId: string, entityRoleUpdateObject: EntityRoleUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

entityId

string

The entity ID.

roleId

string

The entity role ID.

entityRoleUpdateObject
EntityRoleUpdateObject

The new entity role.

callback

ServiceCallback<OperationStatus>

The callback

updateSubList(string, string, string, number, WordListBaseUpdateObject, RequestOptionsBase)

Updates one of the list entity's sublists in a version of the application.

function updateSubList(appId: string, versionId: string, clEntityId: string, subListId: number, wordListBaseUpdateObject: WordListBaseUpdateObject, options?: RequestOptionsBase): Promise<ModelUpdateSubListResponse>

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list entity extractor ID.

subListId

number

The sublist ID.

wordListBaseUpdateObject
WordListBaseUpdateObject

A sublist update object containing the new canonical form and the list of words.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ModelUpdateSubListResponse>

updateSubList(string, string, string, number, WordListBaseUpdateObject, RequestOptionsBase, ServiceCallback<OperationStatus>)

function updateSubList(appId: string, versionId: string, clEntityId: string, subListId: number, wordListBaseUpdateObject: WordListBaseUpdateObject, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list entity extractor ID.

subListId

number

The sublist ID.

wordListBaseUpdateObject
WordListBaseUpdateObject

A sublist update object containing the new canonical form and the list of words.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<OperationStatus>

The callback

updateSubList(string, string, string, number, WordListBaseUpdateObject, ServiceCallback<OperationStatus>)

function updateSubList(appId: string, versionId: string, clEntityId: string, subListId: number, wordListBaseUpdateObject: WordListBaseUpdateObject, callback: ServiceCallback<OperationStatus>)

Parameters

appId

string

The application ID.

versionId

string

The version ID.

clEntityId

string

The list entity extractor ID.

subListId

number

The sublist ID.

wordListBaseUpdateObject
WordListBaseUpdateObject

A sublist update object containing the new canonical form and the list of words.

callback

ServiceCallback<OperationStatus>

The callback