langchain/retrievers/self_query/pinecone.py/PineconeTranslator/visit_structured_query
class PineconeTranslator:    def visit_structured_query(
        self, structured_query: StructuredQuery
    ) -> Tuple[str, dict]:
        if structured_query.filter is None:
            kwargs = {}
        else:
            kwargs = {"filter": structured_query.filter.accept(self)}
        return structured_query.query, kwargs