Skip to content

Commit 387c452

Browse files
authored
chore: remove context_relevancy from library (#1111)
1 parent bc4f342 commit 387c452

File tree

6 files changed

+0
-143
lines changed

6 files changed

+0
-143
lines changed

docs/concepts/metrics/context_relevancy.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

docs/concepts/metrics/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Just like in any machine learning system, the performance of individual componen
1313
- [Answer relevancy](answer_relevance.md)
1414
- [Context recall](context_recall.md)
1515
- [Context precision](context_precision.md)
16-
- [Context relevancy](context_relevancy.md)
1716
- [Context entity recall](context_entities_recall.md)
1817
- [Summarization Score](summarization_score.md)
1918

@@ -33,7 +32,6 @@ Evaluating the end-to-end performance of a pipeline is also crucial, as it direc
3332
faithfulness
3433
answer_relevance
3534
context_precision
36-
context_relevancy
3735
context_recall
3836
context_entities_recall
3937
semantic_similarity

src/ragas/metrics/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
context_utilization,
1313
)
1414
from ragas.metrics._context_recall import ContextRecall, context_recall
15-
from ragas.metrics._context_relevancy import ContextRelevancy, context_relevancy
1615
from ragas.metrics._faithfulness import Faithfulness, faithfulness
1716
from ragas.metrics._summarization import SummarizationScore, summarization_score
1817
from ragas.metrics.critique import AspectCritique
@@ -31,8 +30,6 @@
3130
"ContextRecall",
3231
"context_recall",
3332
"AspectCritique",
34-
"context_relevancy",
35-
"ContextRelevancy",
3633
"AnswerRelevancy",
3734
"answer_relevancy",
3835
"ContextEntityRecall",

src/ragas/metrics/_context_relevancy.py

Lines changed: 0 additions & 97 deletions
This file was deleted.

src/ragas/metrics/utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from ragas.metrics._context_entities_recall import context_entity_recall
77
from ragas.metrics._context_precision import context_precision, context_utilization
88
from ragas.metrics._context_recall import context_recall
9-
from ragas.metrics._context_relevancy import context_relevancy
109
from ragas.metrics._faithfulness import faithfulness
1110
from ragas.metrics.base import Metric
1211
from ragas.validation import validate_evaluation_modes
@@ -18,7 +17,6 @@
1817
context_precision,
1918
context_utilization,
2019
context_recall,
21-
context_relevancy,
2220
answer_relevancy,
2321
context_entity_recall,
2422
]

tests/unit/test_import.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ def test_import_module():
88
"answer_similarity",
99
"context_recall",
1010
"context_precision",
11-
"context_relevancy",
1211
"faithfulness",
1312
]
1413

0 commit comments

Comments
 (0)