Package ai.extend.types
Class SplitClassification
- java.lang.Object
-
- ai.extend.types.SplitClassification
-
public final class SplitClassification extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSplitClassification._FinalStagestatic classSplitClassification.Builderstatic interfaceSplitClassification.DescriptionStagestatic interfaceSplitClassification.IdStagestatic interfaceSplitClassification.TypeStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SplitClassification.IdStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.lang.StringgetDescription()java.lang.StringgetId()java.util.Optional<java.lang.String>getIdentifierKey()java.lang.StringgetType()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
- Returns:
- Unique identifier for the classification. We recommend lowercase, underscore-separated format.
-
getType
public java.lang.String getType()
- Returns:
- Type identifier for the classification.
-
getDescription
public java.lang.String getDescription()
- Returns:
- A detailed description of the classification.
-
getIdentifierKey
public java.util.Optional<java.lang.String> getIdentifierKey()
- Returns:
- A natural-language rule describing how to extract a unique identifier for subdocuments of this type. For example,
"Extract the invoice number from the document header".When provided, the splitter will extract the specified identifier for each subdocument of this type and include it in the output as the
identifierfield. This enables merging of related subdocuments that share the same extracted identifier.Availability: Supported on
splitting_light>= 1.3.0 andsplitting_performance>= 1.5.0. If provided on older versions, this field is accepted but ignored.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static SplitClassification.IdStage builder()
-
-