def _get_seed_from_string(self, content: str) -> int:
        """Creates a deterministic seed from the input string."""
        hash_object = hashlib.md5(content.encode('utf-8'))
        hash_digest = hash_object.hexdigest()
        return int(hash_digest[:8], 16)
Creates a deterministic seed from the input string.
src/marqo/inference/native_inference/embedding_models/random_model.py