code: def extended_fields(self) -> Dict[str, Any]:
      return {
          "annotated_as": self.annotated_as,
          "predicted_as": self.predicted_as,
          "annotated_by": self.annotated_by,
          "predicted_by": self.predicted_by,
          "score": self.scores,
      }
  
file_path: argilla/src/argilla/server/services/tasks/text2text/models.py
imports: from typing import Any, Dict, List, Optional
  from argilla.server.commons.models import PredictionStatus, TaskType
  from argilla.server.pydantic_v1 import BaseModel, Field
  from argilla.server.services.search.model import ServiceBaseRecordsQuery, ServiceScoreRange
  from argilla.server.services.tasks.commons import ServiceBaseAnnotation, ServiceBaseRecord
label_desc: Use image node_id 6 for calling the ServiceText2TextRecord obj's underlying member method code with example usage: obj.extended_fields() and returns: dict