class_docstr: A spaCy Language wrapper for NLP NER monitoring in argilla
class_docstr_tok: ["A","spaCy","Language","wrapper","for","NLP","NER","monitoring","in","argilla"]
code: def __call__(self, *args, **kwargs):
      metadata = kwargs.pop("metadata", None)
      doc = self.__wrapped__(*args, **kwargs)
      try:
          if self.is_record_accepted():
              self.send_records([(doc, metadata)])
      finally:
          return doc
  
file_path: argilla/src/argilla/monitoring/_spacy.py
imports: from datetime import datetime
  from typing import Any, Dict, Optional, Tuple
  from argilla import TokenClassificationRecord
  from argilla.client.api import Api
  from argilla.monitoring.base import BaseMonitor
  from argilla.monitoring.types import MissingType
label_desc: Use image node_id 4 for calling the SpacyNERMonitor obj's underlying member method code with example usage: obj.__call__() and returns: doc