Builder for BertCluAnnotator.BertCluAnnotatorOptions
.
Builder()
|
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)
|
Sets the general options to configure Task APIs, such as accelerators.
baseOptions |
---|
categoricalSlotThreshold |
---|
domainThreshold |
---|
intentThreshold |
---|
maxHistoryTurns |
---|
mentionedSlotThreshold |
---|