BertCluAnnotator.BertCluAnnotatorOptions.Builder

public static abstract class BertCluAnnotator.BertCluAnnotatorOptions.Builder

Public Constructors

Public Methods

abstract BertCluAnnotator.BertCluAnnotatorOptions
build()
abstract BertCluAnnotator.BertCluAnnotatorOptions.Builder
setBaseOptions(BaseOptions baseOptions)
Sets the general options to configure Task APIs, such as accelerators.
abstract BertCluAnnotator.BertCluAnnotatorOptions.Builder
setCategoricalSlotThreshold(float categoricalSlotThreshold)
abstract BertCluAnnotator.BertCluAnnotatorOptions.Builder
setDomainThreshold(float domainThreshold)
abstract BertCluAnnotator.BertCluAnnotatorOptions.Builder
setIntentThreshold(float intentThreshold)
abstract BertCluAnnotator.BertCluAnnotatorOptions.Builder
setMaxHistoryTurns(int maxHistoryTurns)
abstract BertCluAnnotator.BertCluAnnotatorOptions.Builder
setNoncategoricalSlotThreshold(float noncategoricalSlotThreshold)

Inherited Methods

Public Constructors

public Builder ()

Public Methods

public abstract BertCluAnnotator.BertCluAnnotatorOptions build ()

public abstract BertCluAnnotator.BertCluAnnotatorOptions.Builder setBaseOptions (BaseOptions baseOptions)

Sets the general options to configure Task APIs, such as accelerators.

Parameters
baseOptions

public abstract BertCluAnnotator.BertCluAnnotatorOptions.Builder setCategoricalSlotThreshold (float categoricalSlotThreshold)

Parameters
categoricalSlotThreshold

public abstract BertCluAnnotator.BertCluAnnotatorOptions.Builder setDomainThreshold (float domainThreshold)

Parameters
domainThreshold

public abstract BertCluAnnotator.BertCluAnnotatorOptions.Builder setIntentThreshold (float intentThreshold)

Parameters
intentThreshold

public abstract BertCluAnnotator.BertCluAnnotatorOptions.Builder setMaxHistoryTurns (int maxHistoryTurns)

Parameters
maxHistoryTurns

public abstract BertCluAnnotator.BertCluAnnotatorOptions.Builder setNoncategoricalSlotThreshold (float noncategoricalSlotThreshold)

Parameters
noncategoricalSlotThreshold