class_docstr: Mixin to add functionality to compute the metrics directly from a `FeedbackDataset`.
docstr: Compute agreement or reliability of annotation metrics.
  
  This metrics can be used to determine the level of agreement across our annotation team,
  or whether the guidelines are clear enough for example.
  
  Args:
      metric_names: Metric name or list of metric names of the metrics, dependent on the question type.
      question_name: Question for which we want to compute the metrics.
  
  Note:
      Currently, TextQuestion is not supported.
  
  Returns:
      metrics_result: Agreement metrics result or a list of metrics results if a list of metric
          names is provided.
docstr_tok: ["Compute","agreement","or","reliability","of","annotation","metrics",".","This","metrics","can","be","used","to","determine","the","level","of","agreement","across","our","annotation","team",",","or","whether","the","guidelines","are","clear","enough","for","example",".","Args",":","metric_names",":","Metric","name","or","list","of","metric","names","of","the","metrics",",","dependent","on","the","question","type",".","question_name",":","Question","for","which","we","want","to","compute","the","metrics",".","Note",":","Currently",",","TextQuestion","is","not","supported",".","Returns",":","metrics_result",":","Agreement","metrics","result","or","a","list","of","metrics","results","if","a","list","of","metric","names","is","provided","."]
code: def compute_agreement_metrics(
      self,
      metric_names: Union[str, List[str]] = None,
      question_name: Union[
          str,
          LabelQuestion,
          MultiLabelQuestion,
          RatingQuestion,
          RankingQuestion,
      ] = None,
  ) -> Union["AgreementMetricResult", List["AgreementMetricResult"]]:
      """Compute agreement or reliability of annotation metrics.
  
      This metrics can be used to determine the level of agreement across our annotation team,
      or whether the guidelines are clear enough for example.
  
      Args:
          metric_names: Metric name or list of metric names of the metrics, dependent on the question type.
          question_name: Question for which we want to compute the metrics.
  
      Note:
          Currently, TextQuestion is not supported.
  
      Returns:
          metrics_result: Agreement metrics result or a list of metrics results if a list of metric
              names is provided.
      """
      from argilla.client.feedback.metrics.agreement_metrics import (
          AgreementMetric,
      )
  
      return AgreementMetric(self, question_name).compute(metric_names)
  
file_path: argilla/src/argilla/client/feedback/dataset/mixins.py
imports: import warnings
  from typing import TYPE_CHECKING, Dict, List, Optional, Union
  from argilla.client.feedback.dataset.base import FeedbackDatasetBase
  from argilla.client.feedback.schemas.questions import LabelQuestion, MultiLabelQuestion, RankingQuestion, RatingQuestion, TextQuestion
  from argilla.client.feedback.unification import LabelQuestionStrategy, MultiLabelQuestionStrategy, RankingQuestionStrategy, RatingQuestionStrategy, TextQuestionStrategy
label_desc: Use image node_id 2 for calling the MetricsMixin obj's underlying member method code with example usage: obj.compute_agreement_metrics(metric_names, question_name) and returns: AgreementMetric