class Intent::ConversationalLanguageUnderstandingModel

class Intent::ConversationalLanguageUnderstandingModel
  : public Intent::LanguageUnderstandingModel

Represents a Conversational Language Understanding used for intent recognition.

Members

languageResourceKey

Syntax: public std::string languageResourceKey;

This is the Azure language resource key to be used with this model.

endpoint

Syntax: public std::string endpoint;

Conversational Language Understanding deployment endpoint to contact.

projectName

Syntax: public std::string projectName;

Conversational Language Understanding project name.

deploymentName

Syntax: public std::string deploymentName;

Conversational Language Understanding deployment name.

GetModelId

Syntax: public inline virtual std::string GetModelId ( ) const;

Returns id for this model. Defaults to projectName-deploymentName.

Returns

A string representing the id of this model.

SetModelId

Syntax: public inline void SetModelId ( std::string value );

Sets the id for this model. Defaults to projectName-deploymentName.

Parameters

  • value A string representing the id of this model.

FromResource

Syntax: public inline static std::shared_ptr< ConversationalLanguageUnderstandingModel > FromResource ( const std::string & languageResourceKey , const std::string & endpoint , const std::string & projectName , const std::string & deploymentName );

Creates a Conversational Language Understanding (CLU) model using the specified model ID.

Parameters

  • languageResourceKey The Azure Language resource key.

  • endpoint The Azure Language resource endpoint.

  • projectName The Conversational Language Understanding project name.

  • deploymentName The Conversational Language Understanding deployment name.

Returns

A shared pointer to the Conversational Language Understanding model.