Specialized translator for the Chroma vector database. It extends the BasicTranslator class and translates internal query language elements to valid filters. The class defines a subset of allowed logical operators and comparators that can be used in the translation process.

Type Parameters

Hierarchy

Constructors

Properties

VisitComparisonOutput: VisitorComparisonResult
VisitOperationOutput: VisitorOperationResult
VisitStructuredQueryOutput: VisitorStructuredQueryResult
allowedComparators: Comparator[]
allowedOperators: Operator[]

Methods

  • Formats a given function (either an operator or a comparator) into a string.

    Parameters

    Returns string

    Formatted string representation of the function.

Generated using TypeDoc