Skip to content

Commit

Permalink
unpin ragas (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 authored Apr 23, 2024
1 parent da4729f commit 70df967
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion integrations/ragas/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = ["haystack-ai", "ragas==0.1.1"]
dependencies = ["haystack-ai", "ragas"]

[project.urls]
Source = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/ragas"
Expand Down Expand Up @@ -152,6 +152,7 @@ module = [
"haystack.*",
"pytest.*",
"ragas.*",
"datasets.*",
"numpy",
"grpc",
"haystack_integrations.*",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import json
from typing import Any, Callable, Dict, List, Optional, Union

from datasets import Dataset # type: ignore
from datasets import Dataset
from haystack import DeserializationError, component, default_from_dict, default_to_dict

from ragas import evaluate # type: ignore
from ragas.evaluation import Result # type: ignore
from ragas.metrics.base import Metric # type: ignore
from ragas.evaluation import Result
from ragas.metrics.base import Metric

from .metrics import (
METRIC_DESCRIPTORS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
ContextUtilization, # type: ignore
Faithfulness, # type: ignore
)
from ragas.metrics.base import Metric # type: ignore
from ragas.metrics.base import Metric


class RagasBaseEnum(Enum):
Expand Down

0 comments on commit 70df967

Please sign in to comment.