你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Features class

表示特征的类。

构造函数

Features(LUISAuthoringClientContext)

创建功能。

方法

addEntityFeature(string, string, string, ModelFeatureInformation, RequestOptionsBase)

添加要由应用程序版本中的实体使用的新功能关系。

addEntityFeature(string, string, string, ModelFeatureInformation, RequestOptionsBase, ServiceCallback<OperationStatus>)
addEntityFeature(string, string, string, ModelFeatureInformation, ServiceCallback<OperationStatus>)
addIntentFeature(string, string, string, ModelFeatureInformation, RequestOptionsBase)

在应用程序的某个版本中添加意向要使用的新功能关系。

addIntentFeature(string, string, string, ModelFeatureInformation, RequestOptionsBase, ServiceCallback<OperationStatus>)
addIntentFeature(string, string, string, ModelFeatureInformation, ServiceCallback<OperationStatus>)
addPhraseList(string, string, PhraselistCreateObject, RequestOptionsBase)

在应用程序的某个版本中创建新的短语列表功能。

addPhraseList(string, string, PhraselistCreateObject, RequestOptionsBase, ServiceCallback<number>)
addPhraseList(string, string, PhraselistCreateObject, ServiceCallback<number>)
deletePhraseList(string, string, number, RequestOptionsBase)

从应用程序的某个版本中删除短语列表功能。

deletePhraseList(string, string, number, RequestOptionsBase, ServiceCallback<OperationStatus>)
deletePhraseList(string, string, number, ServiceCallback<OperationStatus>)
getPhraseList(string, string, number, RequestOptionsBase)

获取应用程序的某个版本中的短语列表功能信息。

getPhraseList(string, string, number, RequestOptionsBase, ServiceCallback<PhraseListFeatureInfo>)
getPhraseList(string, string, number, ServiceCallback<PhraseListFeatureInfo>)
list(string, string, FeaturesListOptionalParams)

获取应用程序版本中的所有提取短语列表和模式功能。

list(string, string, FeaturesListOptionalParams, ServiceCallback<FeaturesResponseObject>)
list(string, string, ServiceCallback<FeaturesResponseObject>)
listPhraseLists(string, string, FeaturesListPhraseListsOptionalParams)

获取应用程序的某个版本中的所有短语列表功能。

listPhraseLists(string, string, FeaturesListPhraseListsOptionalParams, ServiceCallback<PhraseListFeatureInfo[]>)
listPhraseLists(string, string, ServiceCallback<PhraseListFeatureInfo[]>)
updatePhraseList(string, string, number, FeaturesUpdatePhraseListOptionalParams)

汇报应用程序的某个版本中短语列表功能的短语、状态和名称。

updatePhraseList(string, string, number, FeaturesUpdatePhraseListOptionalParams, ServiceCallback<OperationStatus>)
updatePhraseList(string, string, number, ServiceCallback<OperationStatus>)

构造函数详细信息

Features(LUISAuthoringClientContext)

创建功能。

new Features(client: LUISAuthoringClientContext)

参数

client
LUISAuthoringClientContext

对服务客户端的引用。

方法详细信息

addEntityFeature(string, string, string, ModelFeatureInformation, RequestOptionsBase)

添加要由应用程序版本中的实体使用的新功能关系。

function addEntityFeature(appId: string, versionId: string, entityId: string, featureRelationCreateObject: ModelFeatureInformation, options?: RequestOptionsBase): Promise<FeaturesAddEntityFeatureResponse>

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

entityId

string

实体提取程序 ID。

featureRelationCreateObject
ModelFeatureInformation

特征关系信息对象。

options
RequestOptionsBase

可选参数

返回

Promise<Models.FeaturesAddEntityFeatureResponse>

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

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

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

entityId

string

实体提取程序 ID。

featureRelationCreateObject
ModelFeatureInformation

特征关系信息对象。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<OperationStatus>

回调

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

function addEntityFeature(appId: string, versionId: string, entityId: string, featureRelationCreateObject: ModelFeatureInformation, callback: ServiceCallback<OperationStatus>)

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

entityId

string

实体提取程序 ID。

featureRelationCreateObject
ModelFeatureInformation

特征关系信息对象。

callback

ServiceCallback<OperationStatus>

回调

addIntentFeature(string, string, string, ModelFeatureInformation, RequestOptionsBase)

在应用程序的某个版本中添加意向要使用的新功能关系。

function addIntentFeature(appId: string, versionId: string, intentId: string, featureRelationCreateObject: ModelFeatureInformation, options?: RequestOptionsBase): Promise<FeaturesAddIntentFeatureResponse>

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

intentId

string

意向分类器 ID。

featureRelationCreateObject
ModelFeatureInformation

特征关系信息对象。

options
RequestOptionsBase

可选参数

返回

Promise<Models.FeaturesAddIntentFeatureResponse>

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

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

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

intentId

string

意向分类器 ID。

featureRelationCreateObject
ModelFeatureInformation

特征关系信息对象。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<OperationStatus>

回调

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

function addIntentFeature(appId: string, versionId: string, intentId: string, featureRelationCreateObject: ModelFeatureInformation, callback: ServiceCallback<OperationStatus>)

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

intentId

string

意向分类器 ID。

featureRelationCreateObject
ModelFeatureInformation

特征关系信息对象。

callback

ServiceCallback<OperationStatus>

回调

addPhraseList(string, string, PhraselistCreateObject, RequestOptionsBase)

在应用程序的某个版本中创建新的短语列表功能。

function addPhraseList(appId: string, versionId: string, phraselistCreateObject: PhraselistCreateObject, options?: RequestOptionsBase): Promise<FeaturesAddPhraseListResponse>

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

phraselistCreateObject
PhraselistCreateObject

包含 Name、逗号分隔短语和 isExchangeable 布尔值的 Phraselist 对象。 isExchangeable 的默认值为 true。

options
RequestOptionsBase

可选参数

返回

Promise<Models.FeaturesAddPhraseListResponse>

addPhraseList(string, string, PhraselistCreateObject, RequestOptionsBase, ServiceCallback<number>)

function addPhraseList(appId: string, versionId: string, phraselistCreateObject: PhraselistCreateObject, options: RequestOptionsBase, callback: ServiceCallback<number>)

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

phraselistCreateObject
PhraselistCreateObject

包含 Name、逗号分隔短语和 isExchangeable 布尔值的 Phraselist 对象。 isExchangeable 的默认值为 true。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<number>

回调

addPhraseList(string, string, PhraselistCreateObject, ServiceCallback<number>)

function addPhraseList(appId: string, versionId: string, phraselistCreateObject: PhraselistCreateObject, callback: ServiceCallback<number>)

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

phraselistCreateObject
PhraselistCreateObject

包含 Name、逗号分隔短语和 isExchangeable 布尔值的 Phraselist 对象。 isExchangeable 的默认值为 true。

callback

ServiceCallback<number>

回调

deletePhraseList(string, string, number, RequestOptionsBase)

从应用程序的某个版本中删除短语列表功能。

function deletePhraseList(appId: string, versionId: string, phraselistId: number, options?: RequestOptionsBase): Promise<FeaturesDeletePhraseListResponse>

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

phraselistId

number

要删除的功能的 ID。

options
RequestOptionsBase

可选参数

返回

Promise<Models.FeaturesDeletePhraseListResponse>

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

function deletePhraseList(appId: string, versionId: string, phraselistId: number, options: RequestOptionsBase, callback: ServiceCallback<OperationStatus>)

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

phraselistId

number

要删除的功能的 ID。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<OperationStatus>

回调

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

function deletePhraseList(appId: string, versionId: string, phraselistId: number, callback: ServiceCallback<OperationStatus>)

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

phraselistId

number

要删除的功能的 ID。

callback

ServiceCallback<OperationStatus>

回调

getPhraseList(string, string, number, RequestOptionsBase)

获取应用程序的某个版本中的短语列表功能信息。

function getPhraseList(appId: string, versionId: string, phraselistId: number, options?: RequestOptionsBase): Promise<FeaturesGetPhraseListResponse>

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

phraselistId

number

要检索的功能的 ID。

options
RequestOptionsBase

可选参数

返回

Promise<Models.FeaturesGetPhraseListResponse>

getPhraseList(string, string, number, RequestOptionsBase, ServiceCallback<PhraseListFeatureInfo>)

function getPhraseList(appId: string, versionId: string, phraselistId: number, options: RequestOptionsBase, callback: ServiceCallback<PhraseListFeatureInfo>)

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

phraselistId

number

要检索的功能的 ID。

options
RequestOptionsBase

可选参数

getPhraseList(string, string, number, ServiceCallback<PhraseListFeatureInfo>)

function getPhraseList(appId: string, versionId: string, phraselistId: number, callback: ServiceCallback<PhraseListFeatureInfo>)

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

phraselistId

number

要检索的功能的 ID。

list(string, string, FeaturesListOptionalParams)

获取应用程序版本中的所有提取短语列表和模式功能。

function list(appId: string, versionId: string, options?: FeaturesListOptionalParams): Promise<FeaturesListResponse>

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

options
FeaturesListOptionalParams

可选参数

返回

Promise<Models.FeaturesListResponse>

list(string, string, FeaturesListOptionalParams, ServiceCallback<FeaturesResponseObject>)

function list(appId: string, versionId: string, options: FeaturesListOptionalParams, callback: ServiceCallback<FeaturesResponseObject>)

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

options
FeaturesListOptionalParams

可选参数

list(string, string, ServiceCallback<FeaturesResponseObject>)

function list(appId: string, versionId: string, callback: ServiceCallback<FeaturesResponseObject>)

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

listPhraseLists(string, string, FeaturesListPhraseListsOptionalParams)

获取应用程序的某个版本中的所有短语列表功能。

function listPhraseLists(appId: string, versionId: string, options?: FeaturesListPhraseListsOptionalParams): Promise<FeaturesListPhraseListsResponse>

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

返回

Promise<Models.FeaturesListPhraseListsResponse>

listPhraseLists(string, string, FeaturesListPhraseListsOptionalParams, ServiceCallback<PhraseListFeatureInfo[]>)

function listPhraseLists(appId: string, versionId: string, options: FeaturesListPhraseListsOptionalParams, callback: ServiceCallback<PhraseListFeatureInfo[]>)

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

listPhraseLists(string, string, ServiceCallback<PhraseListFeatureInfo[]>)

function listPhraseLists(appId: string, versionId: string, callback: ServiceCallback<PhraseListFeatureInfo[]>)

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

updatePhraseList(string, string, number, FeaturesUpdatePhraseListOptionalParams)

汇报应用程序的某个版本中短语列表功能的短语、状态和名称。

function updatePhraseList(appId: string, versionId: string, phraselistId: number, options?: FeaturesUpdatePhraseListOptionalParams): Promise<FeaturesUpdatePhraseListResponse>

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

phraselistId

number

要更新的功能的 ID。

返回

Promise<Models.FeaturesUpdatePhraseListResponse>

updatePhraseList(string, string, number, FeaturesUpdatePhraseListOptionalParams, ServiceCallback<OperationStatus>)

function updatePhraseList(appId: string, versionId: string, phraselistId: number, options: FeaturesUpdatePhraseListOptionalParams, callback: ServiceCallback<OperationStatus>)

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

phraselistId

number

要更新的功能的 ID。

callback

ServiceCallback<OperationStatus>

回调

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

function updatePhraseList(appId: string, versionId: string, phraselistId: number, callback: ServiceCallback<OperationStatus>)

参数

appId

string

应用程序 ID。

versionId

string

版本 ID。

phraselistId

number

要更新的功能的 ID。

callback

ServiceCallback<OperationStatus>

回调