diff --git a/src/ragas/dataset_schema.py b/src/ragas/dataset_schema.py index 662dc181e..afdba2c46 100644 --- a/src/ragas/dataset_schema.py +++ b/src/ragas/dataset_schema.py @@ -531,7 +531,7 @@ def upload(self, base_url: str = RAGAS_API_URL, verbose: bool = True) -> str: # check status codes evaluation_endpoint = ( - f"{RAGAS_APP_URL}/alignment/evaluation/{root_trace.run_id}" + f"{RAGAS_APP_URL}/dashboard/alignment/evaluation/{root_trace.run_id}" ) if response.status_code == 409: # this evalution already exists diff --git a/src/ragas/testset/synthesizers/testset_schema.py b/src/ragas/testset/synthesizers/testset_schema.py index cca8a29e0..c05ae649b 100644 --- a/src/ragas/testset/synthesizers/testset_schema.py +++ b/src/ragas/testset/synthesizers/testset_schema.py @@ -143,7 +143,7 @@ def upload(self, base_url: str = RAGAS_API_URL, verbose: bool = True) -> str: data_json_string=packet.model_dump_json(), base_url=base_url, ) - testset_endpoint = f"{RAGAS_APP_URL}/alignment/testset/{self.run_id}" + testset_endpoint = f"{RAGAS_APP_URL}/dashboard/alignment/testset/{self.run_id}" if response.status_code == 409: # this testset already exists if verbose: