Class that extends the BaseTranslator class and provides concrete implementations for the abstract methods. Also declares three types: VisitOperationOutput, VisitComparisonOutput, and VisitStructuredQueryOutput, which are used as the return types for the visitOperation, visitComparison, and visitStructuredQuery methods respectively.

Type Parameters

  • T extends VectorStore = VectorStore

Hierarchy (view full)

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.