code: def formatting_func_chat_completion(sample: dict):
      from uuid import uuid4
  
      if sample["response"]:
          chat = str(uuid4())
          user_message = user_message_prompt.format(
              context_str=sample["context"],
              query_str=sample["user-message"],
          )
          return [
              (chat, "0", "system", system_prompt),
              (chat, "1", "user", user_message),
              (chat, "2", "assistant", sample["response"][0]["value"]),
          ]
      else:
          return None
  
file_path: argilla/tests/integration/client/feedback/helpers.py
imports: from collections import Counter
  from typing import Any, Dict, Iterator
  from argilla.client.models import Framework
  from argilla.feedback import TrainingTask
label_desc: Use image node_id 5 for calling a global function with example usage: formatting_func_chat_completion(sample) and returns: list, None