code: def entity_consistency(*args, **kwargs):
      message = "This function is not used anymore.\nYou should use the top_k_mentions function instead"
      warnings.warn(
          message=message,
          category=DeprecationWarning,
      )
      return MetricSummary.new_summary(
          data={},
          visualization=lambda: helpers.empty_visualization(),
      )
  
imports: import warnings
  from enum import Enum
  from typing import Optional, Set, Union
  import deprecated
  from argilla.client import singleton
  from argilla.metrics import helpers
  from argilla.metrics.models import MetricSummary
label_desc: Use image node_id 10 for calling a global function with example usage: entity_consistency() and returns: MetricSummary