Class PassThroughInferenceOptions
java.lang.Object
co.elastic.clients.elasticsearch.ml.PassThroughInferenceOptions
- All Implemented Interfaces:
InferenceConfigCreateVariant
,JsonpSerializable
@JsonpDeserializable
public class PassThroughInferenceOptions
extends Object
implements InferenceConfigCreateVariant, JsonpSerializable
Pass through configuration options
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<PassThroughInferenceOptions>
Json deserializer forPassThroughInferenceOptions
-
Method Summary
Modifier and TypeMethodDescriptionInferenceConfigCreate variant kind.static PassThroughInferenceOptions
final String
The field that is added to incoming documents to contain the inference prediction.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
setupPassThroughInferenceOptionsDeserializer
(ObjectDeserializer<PassThroughInferenceOptions.Builder> op) final TokenizationConfig
The tokenization optionstoString()
final Vocabulary
API name:vocabulary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch.ml.InferenceConfigCreateVariant
_toInferenceConfigCreate
-
Field Details
-
_DESERIALIZER
Json deserializer forPassThroughInferenceOptions
-
-
Method Details
-
of
-
_inferenceConfigCreateKind
InferenceConfigCreate variant kind.- Specified by:
_inferenceConfigCreateKind
in interfaceInferenceConfigCreateVariant
-
tokenization
The tokenization optionsAPI name:
tokenization
-
resultsField
The field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.API name:
results_field
-
vocabulary
API name:vocabulary
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupPassThroughInferenceOptionsDeserializer
protected static void setupPassThroughInferenceOptionsDeserializer(ObjectDeserializer<PassThroughInferenceOptions.Builder> op)
-