Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove context_relevancy from library #1111

Merged
merged 2 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions docs/concepts/metrics/context_relevancy.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/concepts/metrics/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Just like in any machine learning system, the performance of individual componen
- [Answer relevancy](answer_relevance.md)
- [Context recall](context_recall.md)
- [Context precision](context_precision.md)
- [Context relevancy](context_relevancy.md)
- [Context entity recall](context_entities_recall.md)
- [Summarization Score](summarization_score.md)

Expand All @@ -33,7 +32,6 @@ Evaluating the end-to-end performance of a pipeline is also crucial, as it direc
faithfulness
answer_relevance
context_precision
context_relevancy
context_recall
context_entities_recall
semantic_similarity
Expand Down
3 changes: 0 additions & 3 deletions src/ragas/metrics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
context_utilization,
)
from ragas.metrics._context_recall import ContextRecall, context_recall
from ragas.metrics._context_relevancy import ContextRelevancy, context_relevancy
from ragas.metrics._faithfulness import Faithfulness, faithfulness
from ragas.metrics._summarization import SummarizationScore, summarization_score
from ragas.metrics.critique import AspectCritique
Expand All @@ -31,8 +30,6 @@
"ContextRecall",
"context_recall",
"AspectCritique",
"context_relevancy",
"ContextRelevancy",
"AnswerRelevancy",
"answer_relevancy",
"ContextEntityRecall",
Expand Down
97 changes: 0 additions & 97 deletions src/ragas/metrics/_context_relevancy.py

This file was deleted.

2 changes: 0 additions & 2 deletions src/ragas/metrics/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from ragas.metrics._context_entities_recall import context_entity_recall
from ragas.metrics._context_precision import context_precision, context_utilization
from ragas.metrics._context_recall import context_recall
from ragas.metrics._context_relevancy import context_relevancy
from ragas.metrics._faithfulness import faithfulness
from ragas.metrics.base import Metric
from ragas.validation import validate_evaluation_modes
Expand All @@ -18,7 +17,6 @@
context_precision,
context_utilization,
context_recall,
context_relevancy,
answer_relevancy,
context_entity_recall,
]
Expand Down
1 change: 0 additions & 1 deletion tests/unit/test_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ def test_import_module():
"answer_similarity",
"context_recall",
"context_precision",
"context_relevancy",
"faithfulness",
]

Expand Down
Loading