Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow 5000 rows #80

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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 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 <[email protected]>", "Akshat Gupta <[email protected]>", "Vivek Aditya <[email protected]>", "Akhil Bisht <[email protected]>"]
readme = "README.md"
Expand Down