Class V1PipelineSegmenterProcessorSegmenter

java.lang.Object
com.clinia.model.registry.V1PipelineSegmenterProcessorSegmenter

public class V1PipelineSegmenterProcessorSegmenter extends Object
V1PipelineSegmenterProcessorSegmenter
  • Constructor Details

    • V1PipelineSegmenterProcessorSegmenter

      public V1PipelineSegmenterProcessorSegmenter()
  • Method Details

    • setInputProperty

      public V1PipelineSegmenterProcessorSegmenter setInputProperty(String inputProperty)
    • getInputProperty

      @Nonnull public String getInputProperty()
      The input property path to segment.
    • setPropertyKey

      public V1PipelineSegmenterProcessorSegmenter setPropertyKey(String propertyKey)
    • getPropertyKey

      @Nonnull public String getPropertyKey()
      The key of the property to store the segments. The property key will be accessible as a sub property of the input property. It must follow pattern: `^[a-zA-Z0-9-][\\w-]{0,61}$`. Therefore for a input property `content` and a property key `passages`, the segments will be accessible as `content.passages`.
    • setMaxTokens

      public V1PipelineSegmenterProcessorSegmenter setMaxTokens(Integer maxTokens)
    • getMaxTokens

      @Nonnull public Integer getMaxTokens()
      The maximum number of tokens per segment.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object