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

應用程式識別碼。

versionId

string

版本識別碼。

entityId

string

實體擷取器識別碼。

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

應用程式識別碼。

versionId

string

版本識別碼。

entityId

string

實體擷取器識別碼。

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

應用程式識別碼。

versionId

string

版本識別碼。

entityId

string

實體擷取器識別碼。

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

應用程式識別碼。

versionId

string

版本識別碼。

intentId

string

意圖分類器識別碼。

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

應用程式識別碼。

versionId

string

版本識別碼。

intentId

string

意圖分類器識別碼。

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

應用程式識別碼。

versionId

string

版本識別碼。

intentId

string

意圖分類器識別碼。

featureRelationCreateObject
ModelFeatureInformation

功能關聯資訊物件。

callback

ServiceCallback<OperationStatus>

回呼

addPhraseList(string, string, PhraselistCreateObject, RequestOptionsBase)

在應用程式的版本中建立新的片語清單功能。

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

參數

appId

string

應用程式識別碼。

versionId

string

版本識別碼。

phraselistCreateObject
PhraselistCreateObject

Phraselist 物件,其中包含 Name、逗號分隔的 Phrases 和 isExchangeable 布林值。 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

應用程式識別碼。

versionId

string

版本識別碼。

phraselistCreateObject
PhraselistCreateObject

Phraselist 物件,其中包含 Name、逗號分隔的 Phrases 和 isExchangeable 布林值。 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

應用程式識別碼。

versionId

string

版本識別碼。

phraselistCreateObject
PhraselistCreateObject

Phraselist 物件,其中包含 Name、逗號分隔的 Phrases 和 isExchangeable 布林值。 isExchangeable 的預設值為 true。

callback

ServiceCallback<number>

回呼

deletePhraseList(string, string, number, RequestOptionsBase)

從應用程式的版本刪除片語清單功能。

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

參數

appId

string

應用程式識別碼。

versionId

string

版本識別碼。

phraselistId

number

要刪除之功能的識別碼。

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

應用程式識別碼。

versionId

string

版本識別碼。

phraselistId

number

要刪除之功能的識別碼。

options
RequestOptionsBase

選擇性參數

callback

ServiceCallback<OperationStatus>

回呼

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

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

參數

appId

string

應用程式識別碼。

versionId

string

版本識別碼。

phraselistId

number

要刪除之功能的識別碼。

callback

ServiceCallback<OperationStatus>

回呼

getPhraseList(string, string, number, RequestOptionsBase)

取得應用程式中的片語清單功能資訊。

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

參數

appId

string

應用程式識別碼。

versionId

string

版本識別碼。

phraselistId

number

要擷取之功能的識別碼。

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

應用程式識別碼。

versionId

string

版本識別碼。

phraselistId

number

要擷取之功能的識別碼。

options
RequestOptionsBase

選擇性參數

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

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

參數

appId

string

應用程式識別碼。

versionId

string

版本識別碼。

phraselistId

number

要擷取之功能的識別碼。

list(string, string, FeaturesListOptionalParams)

取得應用程式版本中的所有擷取片語和模式功能。

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

參數

appId

string

應用程式識別碼。

versionId

string

版本識別碼。

options
FeaturesListOptionalParams

選擇性參數

傳回

Promise < Models.FeaturesListResponse>

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

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

參數

appId

string

應用程式識別碼。

versionId

string

版本識別碼。

options
FeaturesListOptionalParams

選擇性參數

list(string, string, ServiceCallback<FeaturesResponseObject>)

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

參數

appId

string

應用程式識別碼。

versionId

string

版本識別碼。

listPhraseLists(string, string, FeaturesListPhraseListsOptionalParams)

取得應用程式版本中的所有片語清單功能。

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

參數

appId

string

應用程式識別碼。

versionId

string

版本識別碼。

options
FeaturesListPhraseListsOptionalParams

選擇性參數

傳回

Promise < Models.FeaturesListPhraseListsResponse>

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

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

參數

appId

string

應用程式識別碼。

versionId

string

版本識別碼。

options
FeaturesListPhraseListsOptionalParams

選擇性參數

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

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

參數

appId

string

應用程式識別碼。

versionId

string

版本識別碼。

updatePhraseList(string, string, number, FeaturesUpdatePhraseListOptionalParams)

更新片語、應用程式版本中的片語清單功能狀態和名稱。

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

參數

appId

string

應用程式識別碼。

versionId

string

版本識別碼。

phraselistId

number

要更新之功能的識別碼。

options
FeaturesUpdatePhraseListOptionalParams

選擇性參數

傳回

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

應用程式識別碼。

versionId

string

版本識別碼。

phraselistId

number

要更新之功能的識別碼。

options
FeaturesUpdatePhraseListOptionalParams

選擇性參數

callback

ServiceCallback<OperationStatus>

回呼

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

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

參數

appId

string

應用程式識別碼。

versionId

string

版本識別碼。

phraselistId

number

要更新之功能的識別碼。

callback

ServiceCallback<OperationStatus>

回呼