LanguageUnderstandingModel class

Language understanding model

Methods

fromAppId(string)

Creates an language understanding model using the application id of Language Understanding service.

fromEndpoint(URL)

Creates an language understanding model using the specified endpoint.

fromSubscription(string, string, string)

Creates a language understanding model using hostname, subscription key and application id of Language Understanding service.

Method Details

fromAppId(string)

Creates an language understanding model using the application id of Language Understanding service.

static function fromAppId(appId: string): LanguageUnderstandingModel

Parameters

appId

string

A String that represents the application id of Language Understanding service.

Returns

The language understanding model being created.

fromEndpoint(URL)

Creates an language understanding model using the specified endpoint.

static function fromEndpoint(uri: URL): LanguageUnderstandingModel

Parameters

uri

URL

A String that represents the endpoint of the language understanding model.

Returns

The language understanding model being created.

fromSubscription(string, string, string)

Creates a language understanding model using hostname, subscription key and application id of Language Understanding service.

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

Parameters

subscriptionKey

string

A String that represents the subscription key of Language Understanding service.

appId

string

A String that represents the application id of Language Understanding service.

region

string

A String that represents the region of the Language Understanding service (see the region page).

Returns

The language understanding model being created.