public static abstract class
BertCluAnnotator.BertCluAnnotatorOptions.Builder
Builder for BertCluAnnotator.BertCluAnnotatorOptions
.
Public Constructors
Builder()
|
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 |
setMentionedSlotThreshold(float mentionedSlotThreshold)
|
Inherited Methods
Public Constructors
public Builder ()
Public Methods
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 setMentionedSlotThreshold (float mentionedSlotThreshold)
Parameters
mentionedSlotThreshold |
---|