Class NluSettings (1.7.0)

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

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
NameDescription
otherNluSettings

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
TypeDescription
Single

ModelTrainingMode

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

Indicates NLU model training mode.

Property Value
TypeDescription
NluSettings.Types.ModelTrainingMode

ModelType

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

Indicates the type of NLU model.

Property Value
TypeDescription
NluSettings.Types.ModelType