Class InferenceConfigUpdateBuilders
java.lang.Object
co.elastic.clients.elasticsearch.ml.InferenceConfigUpdateBuilders
Builders for
InferenceConfigUpdate variants.-
Method Summary
Modifier and TypeMethodDescriptionCreates a builder for theclassificationInferenceConfigUpdatevariant.static InferenceConfigUpdateclassification(Function<ClassificationInferenceOptions.Builder, ObjectBuilder<ClassificationInferenceOptions>> fn) Creates a InferenceConfigUpdate of theclassificationInferenceConfigUpdatevariant.fillMask()Creates a builder for thefill_maskInferenceConfigUpdatevariant.static InferenceConfigUpdatefillMask(Function<FillMaskInferenceUpdateOptions.Builder, ObjectBuilder<FillMaskInferenceUpdateOptions>> fn) Creates a InferenceConfigUpdate of thefill_maskInferenceConfigUpdatevariant.ner()Creates a builder for thenerInferenceConfigUpdatevariant.static InferenceConfigUpdateCreates a InferenceConfigUpdate of thenerInferenceConfigUpdatevariant.Creates a builder for thepass_throughInferenceConfigUpdatevariant.static InferenceConfigUpdatepassThrough(Function<PassThroughInferenceUpdateOptions.Builder, ObjectBuilder<PassThroughInferenceUpdateOptions>> fn) Creates a InferenceConfigUpdate of thepass_throughInferenceConfigUpdatevariant.Creates a builder for thequestion_answeringInferenceConfigUpdatevariant.static InferenceConfigUpdatequestionAnswering(Function<QuestionAnsweringInferenceUpdateOptions.Builder, ObjectBuilder<QuestionAnsweringInferenceUpdateOptions>> fn) Creates a InferenceConfigUpdate of thequestion_answeringInferenceConfigUpdatevariant.Creates a builder for theregressionInferenceConfigUpdatevariant.static InferenceConfigUpdateregression(Function<RegressionInferenceOptions.Builder, ObjectBuilder<RegressionInferenceOptions>> fn) Creates a InferenceConfigUpdate of theregressionInferenceConfigUpdatevariant.Creates a builder for thetext_classificationInferenceConfigUpdatevariant.static InferenceConfigUpdatetextClassification(Function<TextClassificationInferenceUpdateOptions.Builder, ObjectBuilder<TextClassificationInferenceUpdateOptions>> fn) Creates a InferenceConfigUpdate of thetext_classificationInferenceConfigUpdatevariant.Creates a builder for thetext_embeddingInferenceConfigUpdatevariant.static InferenceConfigUpdatetextEmbedding(Function<TextEmbeddingInferenceUpdateOptions.Builder, ObjectBuilder<TextEmbeddingInferenceUpdateOptions>> fn) Creates a InferenceConfigUpdate of thetext_embeddingInferenceConfigUpdatevariant.Creates a builder for thetext_expansionInferenceConfigUpdatevariant.static InferenceConfigUpdatetextExpansion(Function<TextExpansionInferenceUpdateOptions.Builder, ObjectBuilder<TextExpansionInferenceUpdateOptions>> fn) Creates a InferenceConfigUpdate of thetext_expansionInferenceConfigUpdatevariant.Creates a builder for thezero_shot_classificationInferenceConfigUpdatevariant.static InferenceConfigUpdatezeroShotClassification(Function<ZeroShotClassificationInferenceUpdateOptions.Builder, ObjectBuilder<ZeroShotClassificationInferenceUpdateOptions>> fn) Creates a InferenceConfigUpdate of thezero_shot_classificationInferenceConfigUpdatevariant.
-
Method Details
-
regression
Creates a builder for theregressionInferenceConfigUpdatevariant. -
regression
public static InferenceConfigUpdate regression(Function<RegressionInferenceOptions.Builder, ObjectBuilder<RegressionInferenceOptions>> fn) Creates a InferenceConfigUpdate of theregressionInferenceConfigUpdatevariant. -
classification
Creates a builder for theclassificationInferenceConfigUpdatevariant. -
classification
public static InferenceConfigUpdate classification(Function<ClassificationInferenceOptions.Builder, ObjectBuilder<ClassificationInferenceOptions>> fn) Creates a InferenceConfigUpdate of theclassificationInferenceConfigUpdatevariant. -
textClassification
Creates a builder for thetext_classificationInferenceConfigUpdatevariant. -
textClassification
public static InferenceConfigUpdate textClassification(Function<TextClassificationInferenceUpdateOptions.Builder, ObjectBuilder<TextClassificationInferenceUpdateOptions>> fn) Creates a InferenceConfigUpdate of thetext_classificationInferenceConfigUpdatevariant. -
zeroShotClassification
Creates a builder for thezero_shot_classificationInferenceConfigUpdatevariant. -
zeroShotClassification
public static InferenceConfigUpdate zeroShotClassification(Function<ZeroShotClassificationInferenceUpdateOptions.Builder, ObjectBuilder<ZeroShotClassificationInferenceUpdateOptions>> fn) Creates a InferenceConfigUpdate of thezero_shot_classificationInferenceConfigUpdatevariant. -
fillMask
Creates a builder for thefill_maskInferenceConfigUpdatevariant. -
fillMask
public static InferenceConfigUpdate fillMask(Function<FillMaskInferenceUpdateOptions.Builder, ObjectBuilder<FillMaskInferenceUpdateOptions>> fn) Creates a InferenceConfigUpdate of thefill_maskInferenceConfigUpdatevariant. -
ner
Creates a builder for thenerInferenceConfigUpdatevariant. -
ner
public static InferenceConfigUpdate ner(Function<NerInferenceUpdateOptions.Builder, ObjectBuilder<NerInferenceUpdateOptions>> fn) Creates a InferenceConfigUpdate of thenerInferenceConfigUpdatevariant. -
passThrough
Creates a builder for thepass_throughInferenceConfigUpdatevariant. -
passThrough
public static InferenceConfigUpdate passThrough(Function<PassThroughInferenceUpdateOptions.Builder, ObjectBuilder<PassThroughInferenceUpdateOptions>> fn) Creates a InferenceConfigUpdate of thepass_throughInferenceConfigUpdatevariant. -
textEmbedding
Creates a builder for thetext_embeddingInferenceConfigUpdatevariant. -
textEmbedding
public static InferenceConfigUpdate textEmbedding(Function<TextEmbeddingInferenceUpdateOptions.Builder, ObjectBuilder<TextEmbeddingInferenceUpdateOptions>> fn) Creates a InferenceConfigUpdate of thetext_embeddingInferenceConfigUpdatevariant. -
textExpansion
Creates a builder for thetext_expansionInferenceConfigUpdatevariant. -
textExpansion
public static InferenceConfigUpdate textExpansion(Function<TextExpansionInferenceUpdateOptions.Builder, ObjectBuilder<TextExpansionInferenceUpdateOptions>> fn) Creates a InferenceConfigUpdate of thetext_expansionInferenceConfigUpdatevariant. -
questionAnswering
Creates a builder for thequestion_answeringInferenceConfigUpdatevariant. -
questionAnswering
public static InferenceConfigUpdate questionAnswering(Function<QuestionAnsweringInferenceUpdateOptions.Builder, ObjectBuilder<QuestionAnsweringInferenceUpdateOptions>> fn) Creates a InferenceConfigUpdate of thequestion_answeringInferenceConfigUpdatevariant.
-