def to_dict(self) -> Dict[str, List[Dict]]:
        """Converts the responses to a dictionary.
        Returns:
            A dictionary of responses.
        """
        response_dict = defaultdict(list)
        for response in self.__responses:
            response_dict[response.question_name].append({"value": response.value, "user_id": str(response.user_id)})
        return dict(response_dict)
Converts the responses to a dictionary.
        Returns:
            A dictionary of responses.
        
argilla/src/argilla/records/_resource.py