Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents language understanding model used for intent recognition.
Members
LanguageUnderstandingModel
Syntax: public inline explicit LanguageUnderstandingModel ( SPXLUMODELHANDLE hlumodel );
Internal constructor. Creates a new instance using the provided handle.
Parameters
hlumodel
Language understanding model handle.
~LanguageUnderstandingModel
Syntax: public inline virtual ~LanguageUnderstandingModel ( );
Virtual destructor.
operator SPXLUMODELHANDLE
Syntax: public inline explicit operator SPXLUMODELHANDLE ( ) const;
Internal. Explicit conversion operator.
Returns
A handle.
GetModelId
Syntax: public inline virtual std::string GetModelId ( ) const;
Returns id for this model.
Returns
An string representing the id of this model.
GetModelType
Syntax: public inline LanguageUnderstandingModelType GetModelType ( ) const;
Gets the model type.
Returns
An enum representing the type of the model.
FromEndpoint
Syntax: public inline static std::shared_ptr< LanguageUnderstandingModel > FromEndpoint ( const std::string & uri );
Creates a language understanding (LUIS) model using the specified endpoint url.
Parameters
uri
The endpoint url of a language understanding model.
Returns
A shared pointer to language understanding model.
FromAppId
Syntax: public inline static std::shared_ptr< LanguageUnderstandingModel > FromAppId ( const std::string & appId );
Creates a language understanding model using the specified app id.
Parameters
appId
A string that represents the application id of Language Understanding service.
Returns
A shared pointer to language understanding model.
FromSubscription
Syntax: public inline static std::shared_ptr< LanguageUnderstandingModel > FromSubscription ( const std::string & subscriptionKey , const std::string & appId , const std::string & region );
Creates a language understanding model using the specified hostname, subscription key and application id.
Parameters
subscriptionKey
A string that represents the subscription key of Language Understanding service.appId
A string that represents the application id of Language Understanding service.region
A String that represents the region of the Language Understanding service (see the region page).
Returns
A shared pointer to language understanding model.
m_type
Syntax: protected LanguageUnderstandingModelType m_type;
LanguageUnderstandingModel
Syntax: protected inline LanguageUnderstandingModel ( LanguageUnderstandingModelType type );
Protected constructor for base classes to set type.
Parameters
type
Language understanding model type.
LanguageUnderstandingModelType
Syntax: enum LanguageUnderstandingModelType;
Values | Descriptions |
---|---|
PatternMatchingModel | |
LanguageUnderstandingModel | |
ConversationalLanguageUnderstandingModel |