Labelbox / labelbox-python

The data factory for next gen AI
https://labelbox.com
Apache License 2.0
111 stars 58 forks source link

Add more test for adding batch to live chat model eval projects #1701

Closed vbrodsky closed 2 months ago

vbrodsky commented 2 months ago

Description

I have updated a test and added a new test to show that adding new batch to a live model chat evaluation project does not fail as expected

FYI the reason my initial test passed, i.e. project.create_batch() threw an exception, was because I used incorrect data row type for my test. So exception was for that reason, not because api explicitly disallowed created new batches for live model evaluation projects as it should.

FYI Project create_batch() uses two apis, depending whether we are adding less than or more than 1K rows:

Fixes # (issue)

Type of change

Please delete options that are not relevant.

All Submissions

New Feature Submissions

Changes to Core Features