Skip to content

Commit 68753e8

Browse files
authored
[SN-90] Update exports notebook to include new methods DOCS-310 (#1330)
1 parent 653b29e commit 68753e8

File tree

2 files changed

+514
-22
lines changed

2 files changed

+514
-22
lines changed

examples/annotation_import/conversational.ipynb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,9 @@
362362
"ontology_builder = lb.OntologyBuilder(\n",
363363
" tools=[\n",
364364
" lb.Tool(tool=lb.Tool.Type.NER,name=\"ner\"),\n",
365-
" ],\n",
366-
" classifications=[\n",
367-
" lb.Classification(\n",
365+
" ], \n",
366+
" classifications=[ \n",
367+
" lb.Classification( \n",
368368
" class_type=lb.Classification.Type.TEXT,\n",
369369
" scope=lb.Classification.Scope.INDEX,\n",
370370
" name=\"text_convo\"),\n",
@@ -587,11 +587,11 @@
587587
{
588588
"metadata": {},
589589
"source": [
590-
"# Upload label for this data row in project\n",
590+
"# Upload label for this data row in project \n",
591591
"upload_job = lb.LabelImport.create_from_objects(\n",
592-
" client = client,\n",
593-
" project_id = project.uid,\n",
594-
" name=\"label_import_job\"+str(uuid.uuid4()),\n",
592+
" client = client, \n",
593+
" project_id = project.uid, \n",
594+
" name=\"label_import_job\"+str(uuid.uuid4()), \n",
595595
" labels=label)\n",
596596
"\n",
597597
"upload_job.wait_until_done()\n",

0 commit comments

Comments
 (0)