Class NerInferenceOptions
java.lang.Object
co.elastic.clients.elasticsearch.ml.NerInferenceOptions
- All Implemented Interfaces:
- InferenceConfigCreateVariant,- JsonpSerializable
@JsonpDeserializable
public class NerInferenceOptions
extends Object
implements InferenceConfigCreateVariant, JsonpSerializable
Named entity recognition options
- See Also:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<NerInferenceOptions>Json deserializer forNerInferenceOptions
- 
Method SummaryModifier and TypeMethodDescriptionInferenceConfigCreate variant kind.The token classification labels.static NerInferenceOptionsfinal 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 voidfinal TokenizationConfigThe tokenization optionstoString()final VocabularyAPI name:vocabularyMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.ml.InferenceConfigCreateVariant_toInferenceConfigCreate
- 
Field Details- 
_DESERIALIZERJson deserializer forNerInferenceOptions
 
- 
- 
Method Details- 
ofpublic static NerInferenceOptions of(Function<NerInferenceOptions.Builder, ObjectBuilder<NerInferenceOptions>> fn) 
- 
_inferenceConfigCreateKindInferenceConfigCreate variant kind.- Specified by:
- _inferenceConfigCreateKindin interface- InferenceConfigCreateVariant
 
- 
tokenizationThe tokenization optionsAPI name: tokenization
- 
resultsFieldThe field that is added to incoming documents to contain the inference prediction. Defaults to predicted_value.API name: results_field
- 
classificationLabelsThe token classification labels. Must be IOB formatted tagsAPI name: classification_labels
- 
vocabularyAPI name:vocabulary
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupNerInferenceOptionsDeserializerprotected static void setupNerInferenceOptionsDeserializer(ObjectDeserializer<NerInferenceOptions.Builder> op) 
 
-