Specialized translator class that extends the BasicTranslator. It is designed to work with PineconeStore, a type of vector store in LangChain. The class is initialized with a set of allowed operators and comparators, which are used in the translation process to construct queries and compare results.

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