From a443f5362d2e8a14a92ec44d204364da62c8067a Mon Sep 17 00:00:00 2001 From: Akshat Gupta Date: Tue, 25 Jun 2024 21:34:12 +0530 Subject: [PATCH] allow 5000 rows --- athina/datasets/dataset.py | 2 +- examples/dataset_creation.ipynb | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/athina/datasets/dataset.py b/athina/datasets/dataset.py index f53bc1a..8002f7a 100644 --- a/athina/datasets/dataset.py +++ b/athina/datasets/dataset.py @@ -80,7 +80,7 @@ def add_rows(dataset_id: str, rows: List[DatasetRow]): - rows (List[DatasetRow]): The rows to add to the dataset. Raises: - - Exception: If the API returns an error or the limit of 1000 rows is exceeded. + - Exception: If the API returns an error or the limit of 5000 rows is exceeded. """ batch_size = 100 for i in range(0, len(rows), batch_size): diff --git a/examples/dataset_creation.ipynb b/examples/dataset_creation.ipynb index 447ec46..e0fbc1b 100644 --- a/examples/dataset_creation.ipynb +++ b/examples/dataset_creation.ipynb @@ -78,7 +78,7 @@ " ]\n", " )\n", "except Exception as e:\n", - " print(f\"Failed to add rows more than 1000: {e}\")" + " print(f\"Failed to add rows more than 5000: {e}\")" ] } ], diff --git a/pyproject.toml b/pyproject.toml index f8fc9b2..e167e5a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "athina" -version = "1.4.19" +version = "1.4.20" description = "Python SDK to configure and run evaluations for your LLM-based application" authors = ["Shiv Sakhuja ", "Akshat Gupta ", "Vivek Aditya ", "Akhil Bisht "] readme = "README.md"