Class PassThroughInferenceUpdateOptions
java.lang.Object
co.elastic.clients.elasticsearch.ml.PassThroughInferenceUpdateOptions
- All Implemented Interfaces:
InferenceConfigUpdateVariant,JsonpSerializable
@JsonpDeserializable
public class PassThroughInferenceUpdateOptions
extends Object
implements InferenceConfigUpdateVariant, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PassThroughInferenceUpdateOptions>Json deserializer forPassThroughInferenceUpdateOptions -
Method Summary
Modifier and TypeMethodDescriptionInferenceConfigUpdate variant kind.of(Function<PassThroughInferenceUpdateOptions.Builder, ObjectBuilder<PassThroughInferenceUpdateOptions>> fn) final StringThe field that is added to incoming documents to contain the inference prediction.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupPassThroughInferenceUpdateOptionsDeserializer(ObjectDeserializer<PassThroughInferenceUpdateOptions.Builder> op) The tokenization options to update when inferringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.ml.InferenceConfigUpdateVariant
_toInferenceConfigUpdate
-
Field Details
-
_DESERIALIZER
Json deserializer forPassThroughInferenceUpdateOptions
-
-
Method Details
-
of
-
_inferenceConfigUpdateKind
InferenceConfigUpdate variant kind.- Specified by:
_inferenceConfigUpdateKindin interfaceInferenceConfigUpdateVariant
-
tokenization
The tokenization options to update when inferringAPI name:
tokenization -
resultsField
The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.API name:
results_field -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupPassThroughInferenceUpdateOptionsDeserializer
protected static void setupPassThroughInferenceUpdateOptionsDeserializer(ObjectDeserializer<PassThroughInferenceUpdateOptions.Builder> op)
-