Class InferenceConfigCreateBuilders
java.lang.Object
co.elastic.clients.elasticsearch.ml.InferenceConfigCreateBuilders
Builders for
InferenceConfigCreate variants.-
Method Summary
Modifier and TypeMethodDescriptionCreates a builder for theclassificationInferenceConfigCreatevariant.static InferenceConfigCreateclassification(Function<ClassificationInferenceOptions.Builder, ObjectBuilder<ClassificationInferenceOptions>> fn) Creates a InferenceConfigCreate of theclassificationInferenceConfigCreatevariant.fillMask()Creates a builder for thefill_maskInferenceConfigCreatevariant.static InferenceConfigCreateCreates a InferenceConfigCreate of thefill_maskInferenceConfigCreatevariant.static LearningToRankConfig.BuilderCreates a builder for thelearning_to_rankInferenceConfigCreatevariant.static InferenceConfigCreateCreates a InferenceConfigCreate of thelearning_to_rankInferenceConfigCreatevariant.static NerInferenceOptions.Builderner()Creates a builder for thenerInferenceConfigCreatevariant.static InferenceConfigCreateCreates a InferenceConfigCreate of thenerInferenceConfigCreatevariant.Creates a builder for thepass_throughInferenceConfigCreatevariant.static InferenceConfigCreatepassThrough(Function<PassThroughInferenceOptions.Builder, ObjectBuilder<PassThroughInferenceOptions>> fn) Creates a InferenceConfigCreate of thepass_throughInferenceConfigCreatevariant.Creates a builder for thequestion_answeringInferenceConfigCreatevariant.static InferenceConfigCreatequestionAnswering(Function<QuestionAnsweringInferenceOptions.Builder, ObjectBuilder<QuestionAnsweringInferenceOptions>> fn) Creates a InferenceConfigCreate of thequestion_answeringInferenceConfigCreatevariant.Creates a builder for theregressionInferenceConfigCreatevariant.static InferenceConfigCreateregression(Function<RegressionInferenceOptions.Builder, ObjectBuilder<RegressionInferenceOptions>> fn) Creates a InferenceConfigCreate of theregressionInferenceConfigCreatevariant.Creates a builder for thetext_classificationInferenceConfigCreatevariant.static InferenceConfigCreatetextClassification(Function<TextClassificationInferenceOptions.Builder, ObjectBuilder<TextClassificationInferenceOptions>> fn) Creates a InferenceConfigCreate of thetext_classificationInferenceConfigCreatevariant.Creates a builder for thetext_embeddingInferenceConfigCreatevariant.static InferenceConfigCreatetextEmbedding(Function<TextEmbeddingInferenceOptions.Builder, ObjectBuilder<TextEmbeddingInferenceOptions>> fn) Creates a InferenceConfigCreate of thetext_embeddingInferenceConfigCreatevariant.Creates a builder for thetext_expansionInferenceConfigCreatevariant.static InferenceConfigCreatetextExpansion(Function<TextExpansionInferenceOptions.Builder, ObjectBuilder<TextExpansionInferenceOptions>> fn) Creates a InferenceConfigCreate of thetext_expansionInferenceConfigCreatevariant.Creates a builder for thezero_shot_classificationInferenceConfigCreatevariant.static InferenceConfigCreatezeroShotClassification(Function<ZeroShotClassificationInferenceOptions.Builder, ObjectBuilder<ZeroShotClassificationInferenceOptions>> fn) Creates a InferenceConfigCreate of thezero_shot_classificationInferenceConfigCreatevariant.
-
Method Details
-
regression
Creates a builder for theregressionInferenceConfigCreatevariant. -
regression
public static InferenceConfigCreate regression(Function<RegressionInferenceOptions.Builder, ObjectBuilder<RegressionInferenceOptions>> fn) Creates a InferenceConfigCreate of theregressionInferenceConfigCreatevariant. -
classification
Creates a builder for theclassificationInferenceConfigCreatevariant. -
classification
public static InferenceConfigCreate classification(Function<ClassificationInferenceOptions.Builder, ObjectBuilder<ClassificationInferenceOptions>> fn) Creates a InferenceConfigCreate of theclassificationInferenceConfigCreatevariant. -
textClassification
Creates a builder for thetext_classificationInferenceConfigCreatevariant. -
textClassification
public static InferenceConfigCreate textClassification(Function<TextClassificationInferenceOptions.Builder, ObjectBuilder<TextClassificationInferenceOptions>> fn) Creates a InferenceConfigCreate of thetext_classificationInferenceConfigCreatevariant. -
zeroShotClassification
Creates a builder for thezero_shot_classificationInferenceConfigCreatevariant. -
zeroShotClassification
public static InferenceConfigCreate zeroShotClassification(Function<ZeroShotClassificationInferenceOptions.Builder, ObjectBuilder<ZeroShotClassificationInferenceOptions>> fn) Creates a InferenceConfigCreate of thezero_shot_classificationInferenceConfigCreatevariant. -
fillMask
Creates a builder for thefill_maskInferenceConfigCreatevariant. -
fillMask
public static InferenceConfigCreate fillMask(Function<FillMaskInferenceOptions.Builder, ObjectBuilder<FillMaskInferenceOptions>> fn) Creates a InferenceConfigCreate of thefill_maskInferenceConfigCreatevariant. -
learningToRank
Creates a builder for thelearning_to_rankInferenceConfigCreatevariant. -
learningToRank
public static InferenceConfigCreate learningToRank(Function<LearningToRankConfig.Builder, ObjectBuilder<LearningToRankConfig>> fn) Creates a InferenceConfigCreate of thelearning_to_rankInferenceConfigCreatevariant. -
ner
Creates a builder for thenerInferenceConfigCreatevariant. -
ner
public static InferenceConfigCreate ner(Function<NerInferenceOptions.Builder, ObjectBuilder<NerInferenceOptions>> fn) Creates a InferenceConfigCreate of thenerInferenceConfigCreatevariant. -
passThrough
Creates a builder for thepass_throughInferenceConfigCreatevariant. -
passThrough
public static InferenceConfigCreate passThrough(Function<PassThroughInferenceOptions.Builder, ObjectBuilder<PassThroughInferenceOptions>> fn) Creates a InferenceConfigCreate of thepass_throughInferenceConfigCreatevariant. -
textEmbedding
Creates a builder for thetext_embeddingInferenceConfigCreatevariant. -
textEmbedding
public static InferenceConfigCreate textEmbedding(Function<TextEmbeddingInferenceOptions.Builder, ObjectBuilder<TextEmbeddingInferenceOptions>> fn) Creates a InferenceConfigCreate of thetext_embeddingInferenceConfigCreatevariant. -
textExpansion
Creates a builder for thetext_expansionInferenceConfigCreatevariant. -
textExpansion
public static InferenceConfigCreate textExpansion(Function<TextExpansionInferenceOptions.Builder, ObjectBuilder<TextExpansionInferenceOptions>> fn) Creates a InferenceConfigCreate of thetext_expansionInferenceConfigCreatevariant. -
questionAnswering
Creates a builder for thequestion_answeringInferenceConfigCreatevariant. -
questionAnswering
public static InferenceConfigCreate questionAnswering(Function<QuestionAnsweringInferenceOptions.Builder, ObjectBuilder<QuestionAnsweringInferenceOptions>> fn) Creates a InferenceConfigCreate of thequestion_answeringInferenceConfigCreatevariant.
-