code: def mocked_monitor(dataset, monkeypatch, zero_shot_classifier):
      monitor = argilla.monitor(
          zero_shot_classifier,
          dataset=dataset,
          sample_rate=1.0,
          log_interval=0.5,
      )
  
      return monitor
  
imports: from time import sleep
  from typing import List, Union
  import argilla
  import pytest
  from argilla.client.models import TextClassificationRecord
  from tests.integration.utils import delete_ignoring_errors
label_desc: Use image node_id 11 for calling a global function with example usage: mocked_monitor(dataset, monkeypatch, zero_shot_classifier) and returns: monitor