File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
src/superannotate/lib/app/interface Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -2657,7 +2657,7 @@ def attach_items(
26572657 :return: uploaded, failed and duplicated item names
26582658 :rtype: tuple of list of strs
26592659
2660- Example:
2660+ Example for Vector, Video, Document, PointCloud projects :
26612661 ::
26622662
26632663 client = SAClient()
@@ -2666,6 +2666,23 @@ def attach_items(
26662666 attachments=[{"name": "item", "url": "https://..."}]
26672667 )
26682668
2669+ Example for GenAI projects:
2670+ ::
2671+
2672+ client = SAClient()
2673+ client.attach_items(
2674+ project="Medical Annotations",
2675+ attachments=[
2676+ {
2677+ "_item_name": "item",
2678+ "_folder": "QA1",
2679+ "_item_category": "karyology",
2680+ "component_id_0": "val",
2681+ ...
2682+ }
2683+ ]
2684+ )
2685+
26692686 Example of attaching items from custom integration:
26702687 ::
26712688
You can’t perform that action at this time.
0 commit comments