def compute_agreement_metrics(
        self,
        metric_names: Union[str, List[str]] = None,
        question_name: Union[str, LabelQuestion, MultiLabelQuestion, RatingQuestion, RankingQuestion] = None,
        field_name: Union[str, List[str]] = 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.
            field_name: Name of the fields related to the question we want to analyse the agreement.

        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_v1.client.feedback.metrics.agreement_metrics import AgreementMetric

        return AgreementMetric(self, question_name, field_name).compute(metric_names)
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.
            field_name: Name of the fields related to the question we want to analyse the agreement.

        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.
        
argilla-v1/src/argilla_v1/client/feedback/dataset/mixins.py