общедоступный статический абстрактный класс BertCluAnnotator.BertCluAnnotatorOptions.Builder
Построитель для BertCluAnnotator.BertCluAnnotatorOptions
.
Публичные конструкторы
Строитель () |
Публичные методы
абстрактный BertCluAnnotator.BertCluAnnotatorOptions | строить () |
абстрактный BertCluAnnotator.BertCluAnnotatorOptions.Builder | setBaseOptions ( BaseOptions baseOptions) Задает общие параметры для настройки API-интерфейсов задач, таких как ускорители. |
абстрактный BertCluAnnotator.BertCluAnnotatorOptions.Builder | setCategoricalSlotThreshold (float categoricalSlotThreshold) |
абстрактный BertCluAnnotator.BertCluAnnotatorOptions.Builder | setDomainThreshold (плавающее значение DomainThreshold) |
абстрактный BertCluAnnotator.BertCluAnnotatorOptions.Builder | setIntentThreshold (плавающее значение IntentThreshold) |
абстрактный BertCluAnnotator.BertCluAnnotatorOptions.Builder | setMaxHistoryTurns (int maxHistoryTurns) |
абстрактный BertCluAnnotator.BertCluAnnotatorOptions.Builder | setMentionedSlotThreshold (плавающее число упомянутого SlotThreshold) |
Унаследованные методы
Публичные конструкторы
общественный строитель ()
Публичные методы
публичный абстрактный BertCluAnnotator.BertCluAnnotatorOptions.Builder setBaseOptions ( BaseOptions baseOptions)
Задает общие параметры для настройки API-интерфейсов задач, таких как ускорители.
Параметры
базовые параметры |
---|
общедоступный абстрактный BertCluAnnotator.BertCluAnnotatorOptions.Builder setCategoricalSlotThreshold (float categoricalSlotThreshold)
Параметры
категориальныйSlotThreshold |
---|
общедоступный абстрактный BertCluAnnotator.BertCluAnnotatorOptions.Builder setDomainThreshold (float domainThreshold)
Параметры
доменПорог |
---|
общедоступный абстрактный BertCluAnnotator.BertCluAnnotatorOptions.Builder setIntentThreshold (float IntentThreshold)
Параметры
IntThreshold |
---|
общедоступный абстрактный BertCluAnnotator.BertCluAnnotatorOptions.Builder setMaxHistoryTurns (int maxHistoryTurns)
Параметры
maxHistoryTurns |
---|
общедоступный абстрактный BertCluAnnotator.BertCluAnnotatorOptions.Builder setMentionedSlotThreshold (float упомянутыйSlotThreshold)
Параметры
упомянутоSlotThreshold |
---|