Update luis_application.py
@@ -13,12 +13,13 @@ class LuisApplication:
"""
def __init__(self, application_id: str, endpoint_key: str, endpoint: str):
- """Initializes a new instance of the <see cref="LuisApplication"/> class.
+ """Initializes a new instance of the :class:`LuisApplication` class.
+
:param application_id: LUIS application ID.
:type application_id: str
:param endpoint_key: LUIS subscription or endpoint key.
:type endpoint_key: str
- :param endpoint: LUIS endpoint to use like https://westus.api.cognitive.microsoft.com.
+ :param endpoint: LUIS endpoint to use, like https://westus.api.cognitive.microsoft.com.
:type endpoint: str
:raises ValueError:
:raises ValueError:
@@ -46,7 +47,8 @@ class LuisApplication:
@classmethod
def from_application_endpoint(cls, application_endpoint: str):
- """Initializes a new instance of the <see cref="LuisApplication"/> class.
+ """Initializes a new instance of the :class:`LuisApplication` class.
+
:param application_endpoint: LUIS application endpoint.
:type application_endpoint: str
:return:
