def apply(self, dataset: str):
        """Apply the rule to a dataset and save matching ids of the records.

        Args:
            dataset: The name of the dataset.
        """
        records = load(name=dataset, query=self._query, include_vectors=False)

        self._matching_ids = {record.id: None for record in records}
Apply the rule to a dataset and save matching ids of the records.

        Args:
            dataset: The name of the dataset.
        
argilla-v1/src/argilla_v1/labeling/text_classification/rule.py