File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 1515 'audiotranscription' ,
1616 'pointannotation' ,
1717 'cuboidannotation' ,
18- 'segmentannotation'
18+ 'segmentannotation' ,
19+ 'namedentityrecognition'
1920]
2021SCALE_ENDPOINT = 'https://api.scale.com/v1/'
2122DEFAULT_LIMIT = 100
Original file line number Diff line number Diff line change @@ -209,6 +209,17 @@ def test_audiotranscription_fail2():
209209 attachment = 'some_non_url' )
210210
211211
212+ def test_namedentityrecognition_ok ():
213+ return client .create_namedentityrecognition_task (
214+ callback_url = 'http://www.example.com/callback' ,
215+ instruction = 'Do the objects in these images have the same pattern?' ,
216+ text = 'Example text to label with NER tool' ,
217+ labels = [{
218+ 'name' : 'Label_A' ,
219+ 'description' : 'the first label' ,
220+ }])
221+
222+
212223def test_unicode_ok ():
213224 task = client .create_categorization_task (
214225 callback_url = 'http://www.example.com/callback' ,
You can’t perform that action at this time.
0 commit comments