Module org.elasticsearch.xcore
Interface InferenceConfigUpdate
- All Superinterfaces:
NamedWriteable,VersionedNamedWriteable,Writeable
- All Known Implementing Classes:
ClassificationConfigUpdate,EmptyConfigUpdate,FillMaskConfigUpdate,NerConfigUpdate,NlpConfigUpdate,PassThroughConfigUpdate,QuestionAnsweringConfigUpdate,RegressionConfigUpdate,ResultsFieldUpdate,TextClassificationConfigUpdate,TextEmbeddingConfigUpdate,TextExpansionConfigUpdate,TextSimilarityConfigUpdate,TokenizationConfigUpdate,ZeroShotClassificationConfigUpdate
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInferenceConfigUpdate.Builder<T extends InferenceConfigUpdate.Builder<T,U>, U extends InferenceConfigUpdate> Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckFieldUniqueness(String... fieldNames) default StringgetName()default booleanisEmpty()Is this an empty update.booleanisSupported(InferenceConfig config) InferenceConfigUpdate.Builder<? extends InferenceConfigUpdate.Builder<?, ?>, ? extends InferenceConfigUpdate> Methods inherited from interface org.elasticsearch.common.io.stream.VersionedNamedWriteable
getMinimalSupportedVersion, getWriteableName, supportsVersion
-
Field Details
-
RESERVED_ML_FIELD_NAMES
-
-
Method Details
-
isSupported
-
isEmpty
default boolean isEmpty()Is this an empty update.- Returns:
- True if empty
-
getResultsField
String getResultsField() -
newBuilder
InferenceConfigUpdate.Builder<? extends InferenceConfigUpdate.Builder<?,?>, newBuilder()? extends InferenceConfigUpdate> -
getName
-
checkFieldUniqueness
-