LanguageUnderstandingModel class

語言理解模型

方法

fromAppId(string)

使用Language Understanding服務的應用程式識別碼建立語言理解模型。

fromEndpoint(URL)

使用指定的端點建立語言理解模型。

fromSubscription(string, string, string)

使用主機名稱、訂用帳戶金鑰和Language Understanding服務的應用程式識別碼來建立語言理解模型。

方法詳細資料

fromAppId(string)

使用Language Understanding服務的應用程式識別碼建立語言理解模型。

static function fromAppId(appId: string): LanguageUnderstandingModel

參數

appId

string

String,表示Language Understanding服務的應用程式識別碼。

傳回

正在建立的語言理解模型。

fromEndpoint(URL)

使用指定的端點建立語言理解模型。

static function fromEndpoint(uri: URL): LanguageUnderstandingModel

參數

uri

URL

String,表示語言理解模型的端點。

傳回

正在建立的語言理解模型。

fromSubscription(string, string, string)

使用主機名稱、訂用帳戶金鑰和Language Understanding服務的應用程式識別碼來建立語言理解模型。

static function fromSubscription(subscriptionKey: string, appId: string, region: string): LanguageUnderstandingModel

參數

subscriptionKey

string

String,表示Language Understanding服務的訂用帳戶金鑰。

appId

string

String,表示Language Understanding服務的應用程式識別碼。

region

string

String,代表Language Understanding服務的區域, (請參閱區域頁面) 。

傳回

正在建立的語言理解模型。