Skip to content

Commit

Permalink
allow 5000 rows
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshat Gupta committed Jun 25, 2024
1 parent 78fe9ac commit a443f53
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion athina/datasets/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion examples/dataset_creation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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}\")"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <shiv@athina.ai>", "Akshat Gupta <akshat@athina.ai>", "Vivek Aditya <vivek@athina.ai>", "Akhil Bisht <akhil@athina.ai>"]
readme = "README.md"
Expand Down

0 comments on commit a443f53

Please sign in to comment.