Class TextExpansionInferenceOptions
java.lang.Object
co.elastic.clients.elasticsearch.ml.TextExpansionInferenceOptions
- All Implemented Interfaces:
InferenceConfigCreateVariant,JsonpSerializable
@JsonpDeserializable
public class TextExpansionInferenceOptions
extends Object
implements InferenceConfigCreateVariant, JsonpSerializable
Text expansion inference options
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TextExpansionInferenceOptions>Json deserializer forTextExpansionInferenceOptions -
Method Summary
Modifier and TypeMethodDescriptionInferenceConfigCreate variant kind.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 voidsetupTextExpansionInferenceOptionsDeserializer(ObjectDeserializer<TextExpansionInferenceOptions.Builder> op) final TokenizationConfigThe tokenization optionstoString()final VocabularyAPI name:vocabularyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.ml.InferenceConfigCreateVariant
_toInferenceConfigCreate
-
Field Details
-
_DESERIALIZER
Json deserializer forTextExpansionInferenceOptions
-
-
Method Details
-
of
-
_inferenceConfigCreateKind
InferenceConfigCreate variant kind.- Specified by:
_inferenceConfigCreateKindin 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTextExpansionInferenceOptionsDeserializer
protected static void setupTextExpansionInferenceOptionsDeserializer(ObjectDeserializer<TextExpansionInferenceOptions.Builder> op)
-