Skip to content

Commit

Permalink
update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
sdiazlor committed Jul 18, 2024
1 parent 7203867 commit 0992a8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions argilla/src/argilla/client/feedback/dataset/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def compute_agreement_metrics(
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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class AgreementMetric(MetricBase):
Example:
>>> import argilla as rg
>>> from argilla.client.feedback.metrics import AgreementMetric
>>> metric = AgreementMetric(dataset=dataset, question_name=question, filter_by={"response_status": "submitted"})
>>> metric = AgreementMetric(dataset=dataset, question_name=question, field_name=field, filter_by={"response_status": "submitted"})
>>> metrics_report = metric.compute("alpha")
"""
Expand Down

0 comments on commit 0992a8d

Please sign in to comment.