LuisRuntimeManager Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.runtime.LuisRuntimeManager

public class LuisRuntimeManager

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

Method Summary

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

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

LuisRuntimeAPI authenticate(EndpointAPI endpointAPI, String luisAuthoringKey)

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

LuisRuntimeAPI authenticate(RestClient restClient)

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

LuisRuntimeAPI authenticate(String baseUrl, final String luisAuthoringKey)

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

LuisRuntimeAPI authenticate(String baseUrl, ServiceClientCredentials credentials)

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

Method Details

authenticate

public static LuisRuntimeAPI authenticate(EndpointAPI endpointAPI, ServiceClientCredentials credentials)

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

Parameters:

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

Returns:

the Language Understanding (LUIS) Runtime API client

authenticate

public static LuisRuntimeAPI authenticate(EndpointAPI endpointAPI, String luisAuthoringKey)

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

Parameters:

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

Returns:

the Language Understanding Runtime API client

authenticate

public static LuisRuntimeAPI authenticate(RestClient restClient)

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

Parameters:

restClient - the REST client to connect to Azure.

Returns:

the Language Understanding (LUIS) Runtime API client

authenticate

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

Initializes an instance of Language Understanding (LUIS) Runtime 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) Runtime API client

authenticate

public static LuisRuntimeAPI authenticate(String baseUrl, ServiceClientCredentials credentials)

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

Parameters:

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

Returns:

the Language Understanding (LUIS) Runtime API client

Applies to