def from_dict(cls, obj: dict) -> EmbeddingInformation:
        """Create an instance of EmbeddingInformation from a dict"""
        if obj is None:
            return None

        if not isinstance(obj, dict):
            return EmbeddingInformation.parse_obj(obj)

        # raise errors for additional fields in the input
        for _key in obj.keys():
            if _key not in cls.__properties:
                raise ValueError("Error due to additional fields (not defined in EmbeddingInformation) in the input: " + str(obj))

        _obj = EmbeddingInformation.parse_obj({
            "distance_to_nearest_neighbor_in_set": NumericDistributionPerSet.from_dict(obj.get("distanceToNearestNeighborInSet")) if obj.get("distanceToNearestNeighborInSet") is not None else None,
            "distance_to_cover_input": NumericDistributionPerSet.from_dict(obj.get("distanceToCoverInput")) if obj.get("distanceToCoverInput") is not None else None,
            "scatter_plot_data": ScatterPlotData.from_dict(obj.get("scatterPlotData")) if obj.get("scatterPlotData") is not None else None
        })
        return _obj
Create an instance of EmbeddingInformation from a dict
lightly/openapi_generated/swagger_client/models/embedding_information.py