code: def _convert_data_to_new_format(self, dataset) -> List[dict]:
      new_dataset = []
      for entry in dataset:
          new_dataset.append(
              {
                  "messages": [
                      {
                          "role": "user",
                          "content": f"Classify the following text: {entry['prompt']}",
                      },
                      {
                          "role": "assistant",
                          "content": entry["completion"],
                      },
                  ]
              }
          )
      return new_dataset
  
imports: import logging
  import os
  import time
  from typing import List, Optional, Union
  import numpy
  from argilla._constants import OPENAI_END_TOKEN, OPENAI_LEGACY_MODELS, OPENAI_SEPARATOR, OPENAI_WHITESPACE
  from argilla.client.models import TextClassificationRecord, TokenClassificationRecord
  from argilla.datasets import TextClassificationSettings, TokenClassificationSettings
  from argilla.training.base import ArgillaTrainerSkeleton
  from argilla.training.utils import filter_allowed_args
  from argilla.utils.dependency import require_dependencies
label_desc: Use image node_id 2 for calling the ArgillaOpenAITrainer obj's underlying member method code with example usage: obj._convert_data_to_new_format(dataset) and returns: new_dataset