def save_json(self, path: str) -> None:
        """
        Save the dataset to a JSON file.

        Args:
            path (str): The file path to save the JSON.

        """
        with open(path, "w") as f:
            json.dump(self.model_dump(), f, indent=4)

        Save the dataset to a JSON file.

        Args:
            path (str): The file path to save the JSON.

        
llama-index-finetuning/llama_index/finetuning/embeddings/common.py