שתף באמצעות


LuisApplication Class

  • java.lang.Object
    • com.microsoft.bot.ai.luis.LuisApplication

public class LuisApplication

Luis Application representation with information necessary to query the specific Luis Application. Data describing a LUIS application.

Constructor Summary

Constructor Description
LuisApplication()

Initializes a new instance of the Luis Application class.

LuisApplication(String applicationEndpoint)

Initializes a new instance of the Luis Application class.

LuisApplication(String applicationId, String endpointKey, String endpoint)

Initializes a new instance of the Luis Application class.

Method Summary

Modifier and Type Method and Description
java.lang.String getApplicationId()

Gets LUIS application ID.

java.lang.String getEndpoint()

Gets the LUIS endpoint where application is hosted.

java.lang.String getEndpointKey()

Gets the LUIS subscription or endpoint key.

void setApplicationId(String applicationId)

Sets Luis application ID to query.

void setEndpoint(String endpoint)

Sets LUIS endpoint like https://westus.api.cognitive.microsoft.com.

void setEndpointKey(String endpointKey)

Sets the LUIS subscription or endpoint key.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

LuisApplication

public LuisApplication()

Initializes a new instance of the Luis Application class.

LuisApplication

public LuisApplication(String applicationEndpoint)

Initializes a new instance of the Luis Application class.

Parameters:

applicationEndpoint - LUIS application query endpoint containing subscription key and application id as part of the url.

LuisApplication

public LuisApplication(String applicationId, String endpointKey, String endpoint)

Initializes a new instance of the Luis Application class.

Parameters:

applicationId - Luis Application ID to query
endpointKey - LUIS subscription or endpoint key.
endpoint - LUIS endpoint to use like https://westus.api.cognitive.microsoft.com

Method Details

getApplicationId

public String getApplicationId()

Gets LUIS application ID.

Returns:

LUIS application ID.

getEndpoint

public String getEndpoint()

Gets the LUIS endpoint where application is hosted.

Returns:

LUIS endpoint where application is hosted.

getEndpointKey

public String getEndpointKey()

Gets the LUIS subscription or endpoint key.

Returns:

LUIS subscription or endpoint key.

setApplicationId

public void setApplicationId(String applicationId)

Sets Luis application ID to query.

Parameters:

applicationId - Luis application ID to query.

setEndpoint

public void setEndpoint(String endpoint)

Sets LUIS endpoint like https://westus.api.cognitive.microsoft.com.

Parameters:

endpoint - LUIS endpoint where application is hosted.

setEndpointKey

public void setEndpointKey(String endpointKey)

Sets the LUIS subscription or endpoint key.

Parameters:

endpointKey - LUIS subscription or endpoint key.

Applies to