def get_top_k_params_for_group_id(self, group_id: GroupId) -> TopKParams:
        """
        A MultipleTopKDerivedScalarsRequestSpec object contains the information necessary to
        generate multiple TopKParams objects, one for each group ID. This function returns the
        TopKParams for a specific group ID.
        """
        dst_list = self.dst_list_by_group_id[group_id]
        exclude_bottom_k = group_id.exclude_bottom_k

        # Convert the instance to a dictionary
        data = self.dict()

        # Remove the fields that are not needed in TopKDerivedScalarsRequestSpec
        data.pop("dst_list_by_group_id")
        data.pop("spec_type")

        # Add the fields specific to TopKDerivedScalarsRequestSpec
        data["dst_list"] = dst_list
        data["exclude_bottom_k"] = exclude_bottom_k

        return TopKParams(**data)

        A MultipleTopKDerivedScalarsRequestSpec object contains the information necessary to
        generate multiple TopKParams objects, one for each group ID. This function returns the
        TopKParams for a specific group ID.
        
neuron_explainer/activation_server/requests_and_responses.py