Packages

package rag

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. class ContextSplitAssembler extends AnnotatorModel[ContextSplitAssembler] with HasSimpleAnnotate[ContextSplitAssembler]

    Converts and assembles VECTOR_SIMILARITY_RANKINGS type annotations into DOCUMENT type.

    Converts and assembles VECTOR_SIMILARITY_RANKINGS type annotations into DOCUMENT type. The input annotations are expected to be of type VECTOR_SIMILARITY_RANKINGS and the output annotation type is DOCUMENT. It concatenates the results of the input annotations into a single result, separated by a join string. When explodeSplits is set to true, the splits are exploded into separate annotations. joinString parameter is used to add the delimiter between results of annotations when combining them into a single result.

  2. case class MetadataCriteria(field: String, fieldType: String, operator: String, value: Option[String], matchMode: Option[String], matchValues: Option[List[String]], dateFormats: Option[List[String]], converterFallback: Option[String]) extends Serializable with Product

    MetadataCriteria is a case class that represents the criteria to filter the metadata of a Annotation.

    MetadataCriteria is a case class that represents the criteria to filter the metadata of a Annotation.

    field

    The field of the metadata to filter.

    fieldType

    The type of the field to filter. Options: string, int, float, date.

    operator

    The operator to apply to the filter. Options: equals, not_equals, greater_than, greater_than_or_equals, less_than, less_than_or_equals, contains, not_contains, regex.

    value

    The value to filter.

    matchMode

    The match mode to apply to the filter. Options: any, all, none.

    matchValues

    The values to match.

    dateFormats

    The date formats to apply to the filter.

    converterFallback

    The converter fallback when hitting cast exception. Options: filter, not_filter, error.

  3. class VectorDBPostProcessor extends AnnotatorModel[VectorDBPostProcessor] with HasSimpleAnnotate[VectorDBPostProcessor] with CheckLicense with HasFeatures

    VectorDBPostProcessor is used to filter and sort the annotations from the com.johnsnowlabs.nlp.annotators.resolution.VectorDBModel.

Value Members

  1. object CONVERTER_FALLBACK_OPTIONS
    Attributes
    protected
  2. object CRITERIA_OPERATORS
    Attributes
    protected
  3. object ContextSplitAssembler extends DefaultParamsReadable[ContextSplitAssembler] with Serializable
  4. object FIELD_TYPE_OPTIONS
    Attributes
    protected
  5. object MetadataCriteria extends Serializable

    Companion object for MetadataCriteria.

  6. object SORTBY_FILTERBY_OPTIONS
    Attributes
    protected
  7. object VectorDBPostProcessor extends ParamsAndFeaturesReadable[VectorDBPostProcessor] with Serializable

Ungrouped