Struct gapi_grpc::google::cloud::dialogflow::cx::v3beta1::NluSettings[][src]

pub struct NluSettings {
    pub model_type: i32,
    pub classification_threshold: f32,
    pub model_training_mode: i32,
}

Settings related to NLU.

Fields

model_type: i32

Indicates the type of NLU model.

classification_threshold: f32

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.

model_training_mode: i32

Indicates NLU model training mode.

Implementations

impl NluSettings[src]

pub fn model_type(&self) -> ModelType[src]

Returns the enum value of model_type, or the default if the field is set to an invalid enum value.

pub fn set_model_type(&mut self, value: ModelType)[src]

Sets model_type to the provided enum value.

pub fn model_training_mode(&self) -> ModelTrainingMode[src]

Returns the enum value of model_training_mode, or the default if the field is set to an invalid enum value.

pub fn set_model_training_mode(&mut self, value: ModelTrainingMode)[src]

Sets model_training_mode to the provided enum value.

Trait Implementations

impl Clone for NluSettings[src]

impl Debug for NluSettings[src]

impl Default for NluSettings[src]

impl Message for NluSettings[src]

impl PartialEq<NluSettings> for NluSettings[src]

impl StructuralPartialEq for NluSettings[src]

Auto Trait Implementations

impl RefUnwindSafe for NluSettings

impl Send for NluSettings

impl Sync for NluSettings

impl Unpin for NluSettings

impl UnwindSafe for NluSettings

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]