Dialogflow v3 API - Class NluSettings (2.20.0)

public sealed class NluSettings : IMessage<NluSettings>, IEquatable<NluSettings>, IDeepCloneable<NluSettings>, IBufferMessage, IMessage

Reference documentation and code samples for the Dialogflow v3 API class NluSettings.

Settings related to NLU.

Inheritance

object > NluSettings

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

NluSettings()

public NluSettings()

NluSettings(NluSettings)

public NluSettings(NluSettings other)
Parameter
Name Description
other NluSettings

Properties

ClassificationThreshold

public float ClassificationThreshold { get; set; }

To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.

Property Value
Type Description
float

ModelTrainingMode

public NluSettings.Types.ModelTrainingMode ModelTrainingMode { get; set; }

Indicates NLU model training mode.

Property Value
Type Description
NluSettingsTypesModelTrainingMode

ModelType

public NluSettings.Types.ModelType ModelType { get; set; }

Indicates the type of NLU model.

Property Value
Type Description
NluSettingsTypesModelType