langchain/retrievers/self_query/weaviate.py/WeaviateTranslator/visit_comparison
class WeaviateTranslator:    def visit_comparison(self, comparison: Comparison) -> Dict:
        return {
            "path": [comparison.attribute],
            "operator": self._format_func(comparison.comparator),
            "valueText": comparison.value,
        }