def _validate_minimum_provided_fields(cls, values):
        """Validate that at exactly one location is provided."""
        s3 = values.get("s3")
        hf = values.get("hf")
        url = values.get("url")
        if sum([1 for x in [s3, hf, url] if x]) != 1:
            raise ValueError("Exactly one of url, s3, hf must be provided to load the model")
        return values
Validate that at exactly one location is provided.
src/marqo/inference/native_inference/embedding_models/languagebind_model_properties.py