def test_invalid_chunk_config_type(self):
        """Test that providing an invalid type for chunk_config raises a ValidationError."""
        with self.assertRaises(ValidationError):
            TextPreprocessingConfig(
                should_chunk=True,
                chunk_config="invalid_type"  # Should be an instance of TextChunkConfig
            )
Test that providing an invalid type for chunk_config raises a ValidationError.
tests/unit_tests/marqo/core/inference/api/test_preprocessing_config.py