共用方式為


LUISAuthoringManager Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.authoring.LUISAuthoringManager

public class LUISAuthoringManager

Entry point to Azure Cognitive Services Language Understanding (LUIS) Authoring manager.

Method Summary

Modifier and Type Method and Description
LUISAuthoringClient authenticate(EndpointAPI endpointAPI, ServiceClientCredentials credentials)

Initializes an instance of Language Understanding (LUIS) Authoring API client.

LUISAuthoringClient authenticate(EndpointAPI endpointAPI, String luisAuthoringKey)

Initializes an instance of Language Understanding (LUIS) Authoring API client.

LUISAuthoringClient authenticate(RestClient restClient)

Initializes an instance of Language Understanding (LUIS) Authoring API client.

LUISAuthoringClient authenticate(String baseUrl, final String luisAuthoringKey)

Initializes an instance of Language Understanding (LUIS) Authoring API client.

LUISAuthoringClient authenticate(String baseUrl, ServiceClientCredentials credentials)

Initializes an instance of Language Understanding (LUIS) Authoring API client.

Method Details

authenticate

public static LUISAuthoringClient authenticate(EndpointAPI endpointAPI, ServiceClientCredentials credentials)

Initializes an instance of Language Understanding (LUIS) Authoring API client.

Parameters:

endpointAPI - the endpoint API
credentials - the management credentials for Azure

Returns:

the Language Understanding (LUIS) Authoring API client

authenticate

public static LUISAuthoringClient authenticate(EndpointAPI endpointAPI, String luisAuthoringKey)

Initializes an instance of Language Understanding (LUIS) Authoring API client.

Parameters:

endpointAPI - the endpoint API
luisAuthoringKey - the Language Understanding (LUIS) Authoring API key (see https://www.luis.ai)

Returns:

the Language Understanding Authoring API client

authenticate

public static LUISAuthoringClient authenticate(RestClient restClient)

Initializes an instance of Language Understanding (LUIS) Authoring API client.

Parameters:

restClient - the REST client to connect to Azure.

Returns:

the Language Understanding (LUIS) Authoring API client

authenticate

public static LUISAuthoringClient authenticate(String baseUrl, final String luisAuthoringKey)

Initializes an instance of Language Understanding (LUIS) Authoring API client.

Parameters:

baseUrl - the base URL of the service
luisAuthoringKey - the Language Understanding (LUIS) Authoring API key (see https://www.luis.ai)

Returns:

the Language Understanding (LUIS) Authoring API client

authenticate

public static LUISAuthoringClient authenticate(String baseUrl, ServiceClientCredentials credentials)

Initializes an instance of Language Understanding (LUIS) Authoring API client.

Parameters:

baseUrl - the base URL of the service
credentials - the management credentials for Azure

Returns:

the Language Understanding (LUIS) Authoring API client

Applies to