lớp trừu tượng tĩnh công khai BertCluAnnotator.BertCluAnnotatorOptions.Builder
Trình tạo cho BertCluAnnotator.BertCluAnnotatorOptions
.
Nhà xây dựng công cộng
Phương pháp công khai
tóm tắt BertCluAnnotator.BertCluAnnotatorOptions | xây dựng () |
tóm tắt BertCluAnnotator.BertCluAnnotatorOptions.Builder | setBaseOptions ( BaseOptions baseOptions) Đặt các tùy chọn chung để định cấu hình API tác vụ, chẳng hạn như trình tăng tốc. |
tóm tắt BertCluAnnotator.BertCluAnnotatorOptions.Builder | setCategoricalSlotThreshold (float phân loạiSlotThreshold) |
tóm tắt BertCluAnnotator.BertCluAnnotatorOptions.Builder | setDomainThreshold (threshold miền nổi) |
tóm tắt BertCluAnnotator.BertCluAnnotatorOptions.Builder | setIntentThreshold (threshold float) |
tóm tắt BertCluAnnotator.BertCluAnnotatorOptions.Builder | setMaxHistoryTurns (int maxHistoryTurns) |
tóm tắt BertCluAnnotator.BertCluAnnotatorOptions.Builder | setMentionedSlotThreshold (float được đề cậpSlotThreshold) |
Phương pháp kế thừa
Nhà xây dựng công cộng
Trình xây dựng công cộng ()
Phương pháp công khai
tóm tắt công khai BertCluAnnotator.BertCluAnnotatorOptions.Builder setBaseOptions ( BaseOptions baseOptions)
Đặt các tùy chọn chung để định cấu hình API tác vụ, chẳng hạn như trình tăng tốc.
Thông số
tùy chọn cơ sở |
---|
bản tóm tắt công khai BertCluAnnotator.BertCluAnnotatorOptions.Builder setCategoricalSlotThreshold (float categoricalSlotThreshold)
Thông số
phân loạiKhe cắmNgưỡng |
---|
bản tóm tắt công khai BertCluAnnotator.BertCluAnnotatorOptions.Builder setDomainThreshold (float domainThreshold)
Thông số
ngưỡng miền |
---|
bản tóm tắt công khai BertCluAnnotator.BertCluAnnotatorOptions.Builder setIntentThreshold (float IntentThreshold)
Thông số
ý địnhThưỡng |
---|
tóm tắt công khai BertCluAnnotator.BertCluAnnotatorOptions.Builder setMaxHistoryTurns (int maxHistoryTurns)
Thông số
maxHistoryTurn |
---|
tóm tắt công khai BertCluAnnotator.BertCluAnnotatorOptions.Builder setMentionedSlotThreshold (float được đề cậpSlotThreshold)
Thông số
đã đề cậpSlotThreshold |
---|