Class NerInferenceUpdateOptions
java.lang.Object
co.elastic.clients.elasticsearch.ml.NerInferenceUpdateOptions
- All Implemented Interfaces:
NlpInferenceConfigUpdateVariant
,JsonpSerializable
@JsonpDeserializable public class NerInferenceUpdateOptions extends java.lang.Object implements NlpInferenceConfigUpdateVariant, JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NerInferenceUpdateOptions.Builder
Builder forNerInferenceUpdateOptions
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<NerInferenceUpdateOptions>
_DESERIALIZER
Json deserializer forNerInferenceUpdateOptions
-
Method Summary
Modifier and Type Method Description NlpInferenceConfigUpdate.Kind
_nlpInferenceConfigUpdateKind()
NlpInferenceConfigUpdate variant kind.static NerInferenceUpdateOptions
of(java.util.function.Function<NerInferenceUpdateOptions.Builder,ObjectBuilder<NerInferenceUpdateOptions>> fn)
java.lang.String
resultsField()
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
setupNerInferenceUpdateOptionsDeserializer(ObjectDeserializer<NerInferenceUpdateOptions.Builder> op)
NlpTokenizationUpdateOptions
tokenization()
The tokenization options to update when inferringjava.lang.String
toString()
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.NlpInferenceConfigUpdateVariant
_toNlpInferenceConfigUpdate
-
Field Details
-
_DESERIALIZER
Json deserializer forNerInferenceUpdateOptions
-
-
Method Details
-
of
public static NerInferenceUpdateOptions of(java.util.function.Function<NerInferenceUpdateOptions.Builder,ObjectBuilder<NerInferenceUpdateOptions>> fn) -
_nlpInferenceConfigUpdateKind
NlpInferenceConfigUpdate variant kind.- Specified by:
_nlpInferenceConfigUpdateKind
in interfaceNlpInferenceConfigUpdateVariant
-
tokenization
The tokenization options to update when inferringAPI name:
tokenization
-
resultsField
@Nullable public final java.lang.String 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupNerInferenceUpdateOptionsDeserializer
protected static void setupNerInferenceUpdateOptionsDeserializer(ObjectDeserializer<NerInferenceUpdateOptions.Builder> op)
-