Skip to content
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
2 changes: 1 addition & 1 deletion src/ragas/dataset_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/ragas/testset/synthesizers/testset_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading