@keystrokehq/scale_ai 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-studio-assignments.cjs +19 -0
- package/dist/actions/add-studio-assignments.cjs.map +1 -0
- package/dist/actions/add-studio-assignments.d.cts +9 -0
- package/dist/actions/add-studio-assignments.d.cts.map +1 -0
- package/dist/actions/add-studio-assignments.d.mts +9 -0
- package/dist/actions/add-studio-assignments.d.mts.map +1 -0
- package/dist/actions/add-studio-assignments.mjs +16 -0
- package/dist/actions/add-studio-assignments.mjs.map +1 -0
- package/dist/actions/add-task-tags.cjs +29 -0
- package/dist/actions/add-task-tags.cjs.map +1 -0
- package/dist/actions/add-task-tags.d.cts +9 -0
- package/dist/actions/add-task-tags.d.cts.map +1 -0
- package/dist/actions/add-task-tags.d.mts +9 -0
- package/dist/actions/add-task-tags.d.mts.map +1 -0
- package/dist/actions/add-task-tags.mjs +26 -0
- package/dist/actions/add-task-tags.mjs.map +1 -0
- package/dist/actions/create-batch.cjs +29 -0
- package/dist/actions/create-batch.cjs.map +1 -0
- package/dist/actions/create-batch.d.cts +9 -0
- package/dist/actions/create-batch.d.cts.map +1 -0
- package/dist/actions/create-batch.d.mts +9 -0
- package/dist/actions/create-batch.d.mts.map +1 -0
- package/dist/actions/create-batch.mjs +26 -0
- package/dist/actions/create-batch.mjs.map +1 -0
- package/dist/actions/create-document-transcription-task.cjs +111 -0
- package/dist/actions/create-document-transcription-task.cjs.map +1 -0
- package/dist/actions/create-document-transcription-task.d.cts +9 -0
- package/dist/actions/create-document-transcription-task.d.cts.map +1 -0
- package/dist/actions/create-document-transcription-task.d.mts +9 -0
- package/dist/actions/create-document-transcription-task.d.mts.map +1 -0
- package/dist/actions/create-document-transcription-task.mjs +110 -0
- package/dist/actions/create-document-transcription-task.mjs.map +1 -0
- package/dist/actions/create-image-annotation-task.cjs +188 -0
- package/dist/actions/create-image-annotation-task.cjs.map +1 -0
- package/dist/actions/create-image-annotation-task.d.cts +9 -0
- package/dist/actions/create-image-annotation-task.d.cts.map +1 -0
- package/dist/actions/create-image-annotation-task.d.mts +9 -0
- package/dist/actions/create-image-annotation-task.d.mts.map +1 -0
- package/dist/actions/create-image-annotation-task.mjs +187 -0
- package/dist/actions/create-image-annotation-task.mjs.map +1 -0
- package/dist/actions/create-lidar-annotation-task.cjs +52 -0
- package/dist/actions/create-lidar-annotation-task.cjs.map +1 -0
- package/dist/actions/create-lidar-annotation-task.d.cts +9 -0
- package/dist/actions/create-lidar-annotation-task.d.cts.map +1 -0
- package/dist/actions/create-lidar-annotation-task.d.mts +9 -0
- package/dist/actions/create-lidar-annotation-task.d.mts.map +1 -0
- package/dist/actions/create-lidar-annotation-task.mjs +51 -0
- package/dist/actions/create-lidar-annotation-task.mjs.map +1 -0
- package/dist/actions/create-lidar-segmentation-task.cjs +52 -0
- package/dist/actions/create-lidar-segmentation-task.cjs.map +1 -0
- package/dist/actions/create-lidar-segmentation-task.d.cts +9 -0
- package/dist/actions/create-lidar-segmentation-task.d.cts.map +1 -0
- package/dist/actions/create-lidar-segmentation-task.d.mts +9 -0
- package/dist/actions/create-lidar-segmentation-task.d.mts.map +1 -0
- package/dist/actions/create-lidar-segmentation-task.mjs +51 -0
- package/dist/actions/create-lidar-segmentation-task.mjs.map +1 -0
- package/dist/actions/create-named-entity-recognition-task.cjs +59 -0
- package/dist/actions/create-named-entity-recognition-task.cjs.map +1 -0
- package/dist/actions/create-named-entity-recognition-task.d.cts +9 -0
- package/dist/actions/create-named-entity-recognition-task.d.cts.map +1 -0
- package/dist/actions/create-named-entity-recognition-task.d.mts +9 -0
- package/dist/actions/create-named-entity-recognition-task.d.mts.map +1 -0
- package/dist/actions/create-named-entity-recognition-task.mjs +58 -0
- package/dist/actions/create-named-entity-recognition-task.mjs.map +1 -0
- package/dist/actions/create-segmentation-annotation-task.cjs +72 -0
- package/dist/actions/create-segmentation-annotation-task.cjs.map +1 -0
- package/dist/actions/create-segmentation-annotation-task.d.cts +9 -0
- package/dist/actions/create-segmentation-annotation-task.d.cts.map +1 -0
- package/dist/actions/create-segmentation-annotation-task.d.mts +9 -0
- package/dist/actions/create-segmentation-annotation-task.d.mts.map +1 -0
- package/dist/actions/create-segmentation-annotation-task.mjs +71 -0
- package/dist/actions/create-segmentation-annotation-task.mjs.map +1 -0
- package/dist/actions/create-text-collection-task.cjs +69 -0
- package/dist/actions/create-text-collection-task.cjs.map +1 -0
- package/dist/actions/create-text-collection-task.d.cts +9 -0
- package/dist/actions/create-text-collection-task.d.cts.map +1 -0
- package/dist/actions/create-text-collection-task.d.mts +9 -0
- package/dist/actions/create-text-collection-task.d.mts.map +1 -0
- package/dist/actions/create-text-collection-task.mjs +68 -0
- package/dist/actions/create-text-collection-task.mjs.map +1 -0
- package/dist/actions/create-video-annotation-task.cjs +120 -0
- package/dist/actions/create-video-annotation-task.cjs.map +1 -0
- package/dist/actions/create-video-annotation-task.d.cts +9 -0
- package/dist/actions/create-video-annotation-task.d.cts.map +1 -0
- package/dist/actions/create-video-annotation-task.d.mts +9 -0
- package/dist/actions/create-video-annotation-task.d.mts.map +1 -0
- package/dist/actions/create-video-annotation-task.mjs +119 -0
- package/dist/actions/create-video-annotation-task.mjs.map +1 -0
- package/dist/actions/create-video-playback-annotation-task.cjs +152 -0
- package/dist/actions/create-video-playback-annotation-task.cjs.map +1 -0
- package/dist/actions/create-video-playback-annotation-task.d.cts +9 -0
- package/dist/actions/create-video-playback-annotation-task.d.cts.map +1 -0
- package/dist/actions/create-video-playback-annotation-task.d.mts +9 -0
- package/dist/actions/create-video-playback-annotation-task.d.mts.map +1 -0
- package/dist/actions/create-video-playback-annotation-task.mjs +151 -0
- package/dist/actions/create-video-playback-annotation-task.mjs.map +1 -0
- package/dist/actions/delete-task-tags.cjs +28 -0
- package/dist/actions/delete-task-tags.cjs.map +1 -0
- package/dist/actions/delete-task-tags.d.cts +9 -0
- package/dist/actions/delete-task-tags.d.cts.map +1 -0
- package/dist/actions/delete-task-tags.d.mts +9 -0
- package/dist/actions/delete-task-tags.d.mts.map +1 -0
- package/dist/actions/delete-task-tags.mjs +25 -0
- package/dist/actions/delete-task-tags.mjs.map +1 -0
- package/dist/actions/delete-task-unique-id.cjs +26 -0
- package/dist/actions/delete-task-unique-id.cjs.map +1 -0
- package/dist/actions/delete-task-unique-id.d.cts +9 -0
- package/dist/actions/delete-task-unique-id.d.cts.map +1 -0
- package/dist/actions/delete-task-unique-id.d.mts +9 -0
- package/dist/actions/delete-task-unique-id.d.mts.map +1 -0
- package/dist/actions/delete-task-unique-id.mjs +25 -0
- package/dist/actions/delete-task-unique-id.mjs.map +1 -0
- package/dist/actions/finalize-batch.cjs +23 -0
- package/dist/actions/finalize-batch.cjs.map +1 -0
- package/dist/actions/finalize-batch.d.cts +9 -0
- package/dist/actions/finalize-batch.d.cts.map +1 -0
- package/dist/actions/finalize-batch.d.mts +9 -0
- package/dist/actions/finalize-batch.d.mts.map +1 -0
- package/dist/actions/finalize-batch.mjs +20 -0
- package/dist/actions/finalize-batch.mjs.map +1 -0
- package/dist/actions/get-assets.cjs +33 -0
- package/dist/actions/get-assets.cjs.map +1 -0
- package/dist/actions/get-assets.d.cts +9 -0
- package/dist/actions/get-assets.d.cts.map +1 -0
- package/dist/actions/get-assets.d.mts +9 -0
- package/dist/actions/get-assets.d.mts.map +1 -0
- package/dist/actions/get-assets.mjs +32 -0
- package/dist/actions/get-assets.mjs.map +1 -0
- package/dist/actions/get-batch-status.cjs +22 -0
- package/dist/actions/get-batch-status.cjs.map +1 -0
- package/dist/actions/get-batch-status.d.cts +9 -0
- package/dist/actions/get-batch-status.d.cts.map +1 -0
- package/dist/actions/get-batch-status.d.mts +9 -0
- package/dist/actions/get-batch-status.d.mts.map +1 -0
- package/dist/actions/get-batch-status.mjs +19 -0
- package/dist/actions/get-batch-status.mjs.map +1 -0
- package/dist/actions/get-batch.cjs +23 -0
- package/dist/actions/get-batch.cjs.map +1 -0
- package/dist/actions/get-batch.d.cts +9 -0
- package/dist/actions/get-batch.d.cts.map +1 -0
- package/dist/actions/get-batch.d.mts +9 -0
- package/dist/actions/get-batch.d.mts.map +1 -0
- package/dist/actions/get-batch.mjs +20 -0
- package/dist/actions/get-batch.mjs.map +1 -0
- package/dist/actions/get-fixless-audits.cjs +45 -0
- package/dist/actions/get-fixless-audits.cjs.map +1 -0
- package/dist/actions/get-fixless-audits.d.cts +9 -0
- package/dist/actions/get-fixless-audits.d.cts.map +1 -0
- package/dist/actions/get-fixless-audits.d.mts +9 -0
- package/dist/actions/get-fixless-audits.d.mts.map +1 -0
- package/dist/actions/get-fixless-audits.mjs +44 -0
- package/dist/actions/get-fixless-audits.mjs.map +1 -0
- package/dist/actions/get-project.cjs +26 -0
- package/dist/actions/get-project.cjs.map +1 -0
- package/dist/actions/get-project.d.cts +9 -0
- package/dist/actions/get-project.d.cts.map +1 -0
- package/dist/actions/get-project.d.mts +9 -0
- package/dist/actions/get-project.d.mts.map +1 -0
- package/dist/actions/get-project.mjs +25 -0
- package/dist/actions/get-project.mjs.map +1 -0
- package/dist/actions/get-quality-labelers.cjs +34 -0
- package/dist/actions/get-quality-labelers.cjs.map +1 -0
- package/dist/actions/get-quality-labelers.d.cts +9 -0
- package/dist/actions/get-quality-labelers.d.cts.map +1 -0
- package/dist/actions/get-quality-labelers.d.mts +9 -0
- package/dist/actions/get-quality-labelers.d.mts.map +1 -0
- package/dist/actions/get-quality-labelers.mjs +33 -0
- package/dist/actions/get-quality-labelers.mjs.map +1 -0
- package/dist/actions/get-studio-assignments.cjs +23 -0
- package/dist/actions/get-studio-assignments.cjs.map +1 -0
- package/dist/actions/get-studio-assignments.d.cts +9 -0
- package/dist/actions/get-studio-assignments.d.cts.map +1 -0
- package/dist/actions/get-studio-assignments.d.mts +9 -0
- package/dist/actions/get-studio-assignments.d.mts.map +1 -0
- package/dist/actions/get-studio-assignments.mjs +22 -0
- package/dist/actions/get-studio-assignments.mjs.map +1 -0
- package/dist/actions/get-studio-batches.cjs +25 -0
- package/dist/actions/get-studio-batches.cjs.map +1 -0
- package/dist/actions/get-studio-batches.d.cts +9 -0
- package/dist/actions/get-studio-batches.d.cts.map +1 -0
- package/dist/actions/get-studio-batches.d.mts +9 -0
- package/dist/actions/get-studio-batches.d.mts.map +1 -0
- package/dist/actions/get-studio-batches.mjs +24 -0
- package/dist/actions/get-studio-batches.mjs.map +1 -0
- package/dist/actions/get-teams.cjs +26 -0
- package/dist/actions/get-teams.cjs.map +1 -0
- package/dist/actions/get-teams.d.cts +9 -0
- package/dist/actions/get-teams.d.cts.map +1 -0
- package/dist/actions/get-teams.d.mts +9 -0
- package/dist/actions/get-teams.d.mts.map +1 -0
- package/dist/actions/get-teams.mjs +25 -0
- package/dist/actions/get-teams.mjs.map +1 -0
- package/dist/actions/get-v1-task-response-url.cjs +24 -0
- package/dist/actions/get-v1-task-response-url.cjs.map +1 -0
- package/dist/actions/get-v1-task-response-url.d.cts +9 -0
- package/dist/actions/get-v1-task-response-url.d.cts.map +1 -0
- package/dist/actions/get-v1-task-response-url.d.mts +9 -0
- package/dist/actions/get-v1-task-response-url.d.mts.map +1 -0
- package/dist/actions/get-v1-task-response-url.mjs +21 -0
- package/dist/actions/get-v1-task-response-url.mjs.map +1 -0
- package/dist/actions/get-v1-task.cjs +28 -0
- package/dist/actions/get-v1-task.cjs.map +1 -0
- package/dist/actions/get-v1-task.d.cts +9 -0
- package/dist/actions/get-v1-task.d.cts.map +1 -0
- package/dist/actions/get-v1-task.d.mts +9 -0
- package/dist/actions/get-v1-task.d.mts.map +1 -0
- package/dist/actions/get-v1-task.mjs +25 -0
- package/dist/actions/get-v1-task.mjs.map +1 -0
- package/dist/actions/import-file.cjs +27 -0
- package/dist/actions/import-file.cjs.map +1 -0
- package/dist/actions/import-file.d.cts +9 -0
- package/dist/actions/import-file.d.cts.map +1 -0
- package/dist/actions/import-file.d.mts +9 -0
- package/dist/actions/import-file.d.mts.map +1 -0
- package/dist/actions/import-file.mjs +24 -0
- package/dist/actions/import-file.mjs.map +1 -0
- package/dist/actions/index.cjs +81 -0
- package/dist/actions/index.d.cts +41 -0
- package/dist/actions/index.d.mts +41 -0
- package/dist/actions/index.mjs +41 -0
- package/dist/actions/invite-team-member.cjs +29 -0
- package/dist/actions/invite-team-member.cjs.map +1 -0
- package/dist/actions/invite-team-member.d.cts +9 -0
- package/dist/actions/invite-team-member.d.cts.map +1 -0
- package/dist/actions/invite-team-member.d.mts +9 -0
- package/dist/actions/invite-team-member.d.mts.map +1 -0
- package/dist/actions/invite-team-member.mjs +28 -0
- package/dist/actions/invite-team-member.mjs.map +1 -0
- package/dist/actions/list-batches.cjs +37 -0
- package/dist/actions/list-batches.cjs.map +1 -0
- package/dist/actions/list-batches.d.cts +9 -0
- package/dist/actions/list-batches.d.cts.map +1 -0
- package/dist/actions/list-batches.d.mts +9 -0
- package/dist/actions/list-batches.d.mts.map +1 -0
- package/dist/actions/list-batches.mjs +36 -0
- package/dist/actions/list-batches.mjs.map +1 -0
- package/dist/actions/list-projects.cjs +37 -0
- package/dist/actions/list-projects.cjs.map +1 -0
- package/dist/actions/list-projects.d.cts +9 -0
- package/dist/actions/list-projects.d.cts.map +1 -0
- package/dist/actions/list-projects.d.mts +9 -0
- package/dist/actions/list-projects.d.mts.map +1 -0
- package/dist/actions/list-projects.mjs +36 -0
- package/dist/actions/list-projects.mjs.map +1 -0
- package/dist/actions/list-tasks.cjs +53 -0
- package/dist/actions/list-tasks.cjs.map +1 -0
- package/dist/actions/list-tasks.d.cts +9 -0
- package/dist/actions/list-tasks.d.cts.map +1 -0
- package/dist/actions/list-tasks.d.mts +9 -0
- package/dist/actions/list-tasks.d.mts.map +1 -0
- package/dist/actions/list-tasks.mjs +52 -0
- package/dist/actions/list-tasks.mjs.map +1 -0
- package/dist/actions/post-v1-task-send-callback.cjs +22 -0
- package/dist/actions/post-v1-task-send-callback.cjs.map +1 -0
- package/dist/actions/post-v1-task-send-callback.d.cts +9 -0
- package/dist/actions/post-v1-task-send-callback.d.cts.map +1 -0
- package/dist/actions/post-v1-task-send-callback.d.mts +9 -0
- package/dist/actions/post-v1-task-send-callback.d.mts.map +1 -0
- package/dist/actions/post-v1-task-send-callback.mjs +19 -0
- package/dist/actions/post-v1-task-send-callback.mjs.map +1 -0
- package/dist/actions/remove-studio-assignments.cjs +33 -0
- package/dist/actions/remove-studio-assignments.cjs.map +1 -0
- package/dist/actions/remove-studio-assignments.d.cts +9 -0
- package/dist/actions/remove-studio-assignments.d.cts.map +1 -0
- package/dist/actions/remove-studio-assignments.d.mts +9 -0
- package/dist/actions/remove-studio-assignments.d.mts.map +1 -0
- package/dist/actions/remove-studio-assignments.mjs +32 -0
- package/dist/actions/remove-studio-assignments.mjs.map +1 -0
- package/dist/actions/reset-batch-priorities.cjs +25 -0
- package/dist/actions/reset-batch-priorities.cjs.map +1 -0
- package/dist/actions/reset-batch-priorities.d.cts +9 -0
- package/dist/actions/reset-batch-priorities.d.cts.map +1 -0
- package/dist/actions/reset-batch-priorities.d.mts +9 -0
- package/dist/actions/reset-batch-priorities.d.mts.map +1 -0
- package/dist/actions/reset-batch-priorities.mjs +24 -0
- package/dist/actions/reset-batch-priorities.mjs.map +1 -0
- package/dist/actions/set-batch-priorities.cjs +27 -0
- package/dist/actions/set-batch-priorities.cjs.map +1 -0
- package/dist/actions/set-batch-priorities.d.cts +9 -0
- package/dist/actions/set-batch-priorities.d.cts.map +1 -0
- package/dist/actions/set-batch-priorities.d.mts +9 -0
- package/dist/actions/set-batch-priorities.d.mts.map +1 -0
- package/dist/actions/set-batch-priorities.mjs +26 -0
- package/dist/actions/set-batch-priorities.mjs.map +1 -0
- package/dist/actions/set-project-ontology.cjs +44 -0
- package/dist/actions/set-project-ontology.cjs.map +1 -0
- package/dist/actions/set-project-ontology.d.cts +9 -0
- package/dist/actions/set-project-ontology.d.cts.map +1 -0
- package/dist/actions/set-project-ontology.d.mts +9 -0
- package/dist/actions/set-project-ontology.d.mts.map +1 -0
- package/dist/actions/set-project-ontology.mjs +43 -0
- package/dist/actions/set-project-ontology.mjs.map +1 -0
- package/dist/actions/set-project-params.cjs +32 -0
- package/dist/actions/set-project-params.cjs.map +1 -0
- package/dist/actions/set-project-params.d.cts +9 -0
- package/dist/actions/set-project-params.d.cts.map +1 -0
- package/dist/actions/set-project-params.d.mts +9 -0
- package/dist/actions/set-project-params.d.mts.map +1 -0
- package/dist/actions/set-project-params.mjs +31 -0
- package/dist/actions/set-project-params.mjs.map +1 -0
- package/dist/actions/set-task-metadata.cjs +34 -0
- package/dist/actions/set-task-metadata.cjs.map +1 -0
- package/dist/actions/set-task-metadata.d.cts +9 -0
- package/dist/actions/set-task-metadata.d.cts.map +1 -0
- package/dist/actions/set-task-metadata.d.mts +9 -0
- package/dist/actions/set-task-metadata.d.mts.map +1 -0
- package/dist/actions/set-task-metadata.mjs +31 -0
- package/dist/actions/set-task-metadata.mjs.map +1 -0
- package/dist/actions/update-task-unique-id.cjs +30 -0
- package/dist/actions/update-task-unique-id.cjs.map +1 -0
- package/dist/actions/update-task-unique-id.d.cts +9 -0
- package/dist/actions/update-task-unique-id.d.cts.map +1 -0
- package/dist/actions/update-task-unique-id.d.mts +9 -0
- package/dist/actions/update-task-unique-id.d.mts.map +1 -0
- package/dist/actions/update-task-unique-id.mjs +29 -0
- package/dist/actions/update-task-unique-id.mjs.map +1 -0
- package/dist/actions/upload-file.cjs +34 -0
- package/dist/actions/upload-file.cjs.map +1 -0
- package/dist/actions/upload-file.d.cts +9 -0
- package/dist/actions/upload-file.d.cts.map +1 -0
- package/dist/actions/upload-file.d.mts +9 -0
- package/dist/actions/upload-file.d.mts.map +1 -0
- package/dist/actions/upload-file.mjs +31 -0
- package/dist/actions/upload-file.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +86 -0
- package/dist/index.d.cts +43 -0
- package/dist/index.d.mts +43 -0
- package/dist/index.mjs +44 -0
- package/package.json +49 -0
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/create-image-annotation-task.ts
|
|
4
|
+
const ScaleAiCreateImageAnnotationTaskInput = z.object({
|
|
5
|
+
tags: z.array(z.string()).describe("Up to 5 arbitrary string labels for task organization and filtering").optional(),
|
|
6
|
+
batch: z.string().describe("Name of the batch to associate this task with. Required for Scale Rapid projects. If batch is specified, project need not be specified as task will automatically be associated with the batch's project").optional(),
|
|
7
|
+
layer: z.record(z.string(), z.unknown()).describe("Read-only pre-drawn annotations").optional(),
|
|
8
|
+
links: z.record(z.string(), z.unknown()).describe("Defines connections between annotations").optional(),
|
|
9
|
+
padding: z.number().int().describe("Image padding in pixels applied to all sides").optional(),
|
|
10
|
+
project: z.string().describe("Name of the project to associate this task with").optional(),
|
|
11
|
+
metadata: z.object({}).describe("Custom key-value pairs for arbitrary data (max 10KB)").optional(),
|
|
12
|
+
paddingX: z.number().int().describe("Horizontal image padding in pixels. Overrides padding parameter").optional(),
|
|
13
|
+
paddingY: z.number().int().describe("Vertical image padding in pixels. Overrides padding parameter").optional(),
|
|
14
|
+
priority: z.union([
|
|
15
|
+
z.literal(10),
|
|
16
|
+
z.literal(20),
|
|
17
|
+
z.literal(30)
|
|
18
|
+
]).describe("Task priority level: 10 (low), 20 (medium), or 30 (high)").optional(),
|
|
19
|
+
unique_id: z.string().describe("Arbitrary identifier that must be unique across account. Prevents duplicate task creation").optional(),
|
|
20
|
+
attachment: z.string().describe("URL to the image to be annotated"),
|
|
21
|
+
geometries: z.object({
|
|
22
|
+
box: z.object({
|
|
23
|
+
min_width: z.number().int().describe("Minimum width in pixels for the geometry (applicable to box, cuboid)").optional(),
|
|
24
|
+
can_rotate: z.boolean().describe("Whether the geometry can be rotated (applicable to box)").optional(),
|
|
25
|
+
min_height: z.number().int().describe("Minimum height in pixels for the geometry (applicable to box, cuboid)").optional(),
|
|
26
|
+
max_vertices: z.number().int().describe("Maximum number of vertices (applicable to polygon, line)").optional(),
|
|
27
|
+
min_vertices: z.number().int().describe("Minimum number of vertices (applicable to polygon, line)").optional(),
|
|
28
|
+
camera_height: z.number().describe("Height of camera from ground (applicable to cuboid)").optional(),
|
|
29
|
+
integer_pixels: z.boolean().describe("Whether coordinates must be integers (applicable to box)").optional(),
|
|
30
|
+
camera_intrinsics: z.object({}).describe("Camera intrinsic parameters with fx, fy, cx, cy, skew, scalefactor (applicable to cuboid)").optional(),
|
|
31
|
+
objects_to_annotate: z.array(z.string()).describe("List of object labels that annotators can select for this geometry type").optional(),
|
|
32
|
+
camera_rotation_quaternion: z.object({}).describe("Camera rotation as quaternion with w, x, y, z (applicable to cuboid)").optional()
|
|
33
|
+
}).describe("Options for a specific geometry type.").optional(),
|
|
34
|
+
line: z.object({
|
|
35
|
+
min_width: z.number().int().describe("Minimum width in pixels for the geometry (applicable to box, cuboid)").optional(),
|
|
36
|
+
can_rotate: z.boolean().describe("Whether the geometry can be rotated (applicable to box)").optional(),
|
|
37
|
+
min_height: z.number().int().describe("Minimum height in pixels for the geometry (applicable to box, cuboid)").optional(),
|
|
38
|
+
max_vertices: z.number().int().describe("Maximum number of vertices (applicable to polygon, line)").optional(),
|
|
39
|
+
min_vertices: z.number().int().describe("Minimum number of vertices (applicable to polygon, line)").optional(),
|
|
40
|
+
camera_height: z.number().describe("Height of camera from ground (applicable to cuboid)").optional(),
|
|
41
|
+
integer_pixels: z.boolean().describe("Whether coordinates must be integers (applicable to box)").optional(),
|
|
42
|
+
camera_intrinsics: z.object({}).describe("Camera intrinsic parameters with fx, fy, cx, cy, skew, scalefactor (applicable to cuboid)").optional(),
|
|
43
|
+
objects_to_annotate: z.array(z.string()).describe("List of object labels that annotators can select for this geometry type").optional(),
|
|
44
|
+
camera_rotation_quaternion: z.object({}).describe("Camera rotation as quaternion with w, x, y, z (applicable to cuboid)").optional()
|
|
45
|
+
}).describe("Options for a specific geometry type.").optional(),
|
|
46
|
+
point: z.object({
|
|
47
|
+
min_width: z.number().int().describe("Minimum width in pixels for the geometry (applicable to box, cuboid)").optional(),
|
|
48
|
+
can_rotate: z.boolean().describe("Whether the geometry can be rotated (applicable to box)").optional(),
|
|
49
|
+
min_height: z.number().int().describe("Minimum height in pixels for the geometry (applicable to box, cuboid)").optional(),
|
|
50
|
+
max_vertices: z.number().int().describe("Maximum number of vertices (applicable to polygon, line)").optional(),
|
|
51
|
+
min_vertices: z.number().int().describe("Minimum number of vertices (applicable to polygon, line)").optional(),
|
|
52
|
+
camera_height: z.number().describe("Height of camera from ground (applicable to cuboid)").optional(),
|
|
53
|
+
integer_pixels: z.boolean().describe("Whether coordinates must be integers (applicable to box)").optional(),
|
|
54
|
+
camera_intrinsics: z.object({}).describe("Camera intrinsic parameters with fx, fy, cx, cy, skew, scalefactor (applicable to cuboid)").optional(),
|
|
55
|
+
objects_to_annotate: z.array(z.string()).describe("List of object labels that annotators can select for this geometry type").optional(),
|
|
56
|
+
camera_rotation_quaternion: z.object({}).describe("Camera rotation as quaternion with w, x, y, z (applicable to cuboid)").optional()
|
|
57
|
+
}).describe("Options for a specific geometry type.").optional(),
|
|
58
|
+
cuboid: z.object({
|
|
59
|
+
min_width: z.number().int().describe("Minimum width in pixels for the geometry (applicable to box, cuboid)").optional(),
|
|
60
|
+
can_rotate: z.boolean().describe("Whether the geometry can be rotated (applicable to box)").optional(),
|
|
61
|
+
min_height: z.number().int().describe("Minimum height in pixels for the geometry (applicable to box, cuboid)").optional(),
|
|
62
|
+
max_vertices: z.number().int().describe("Maximum number of vertices (applicable to polygon, line)").optional(),
|
|
63
|
+
min_vertices: z.number().int().describe("Minimum number of vertices (applicable to polygon, line)").optional(),
|
|
64
|
+
camera_height: z.number().describe("Height of camera from ground (applicable to cuboid)").optional(),
|
|
65
|
+
integer_pixels: z.boolean().describe("Whether coordinates must be integers (applicable to box)").optional(),
|
|
66
|
+
camera_intrinsics: z.object({}).describe("Camera intrinsic parameters with fx, fy, cx, cy, skew, scalefactor (applicable to cuboid)").optional(),
|
|
67
|
+
objects_to_annotate: z.array(z.string()).describe("List of object labels that annotators can select for this geometry type").optional(),
|
|
68
|
+
camera_rotation_quaternion: z.object({}).describe("Camera rotation as quaternion with w, x, y, z (applicable to cuboid)").optional()
|
|
69
|
+
}).describe("Options for a specific geometry type.").optional(),
|
|
70
|
+
ellipse: z.object({
|
|
71
|
+
min_width: z.number().int().describe("Minimum width in pixels for the geometry (applicable to box, cuboid)").optional(),
|
|
72
|
+
can_rotate: z.boolean().describe("Whether the geometry can be rotated (applicable to box)").optional(),
|
|
73
|
+
min_height: z.number().int().describe("Minimum height in pixels for the geometry (applicable to box, cuboid)").optional(),
|
|
74
|
+
max_vertices: z.number().int().describe("Maximum number of vertices (applicable to polygon, line)").optional(),
|
|
75
|
+
min_vertices: z.number().int().describe("Minimum number of vertices (applicable to polygon, line)").optional(),
|
|
76
|
+
camera_height: z.number().describe("Height of camera from ground (applicable to cuboid)").optional(),
|
|
77
|
+
integer_pixels: z.boolean().describe("Whether coordinates must be integers (applicable to box)").optional(),
|
|
78
|
+
camera_intrinsics: z.object({}).describe("Camera intrinsic parameters with fx, fy, cx, cy, skew, scalefactor (applicable to cuboid)").optional(),
|
|
79
|
+
objects_to_annotate: z.array(z.string()).describe("List of object labels that annotators can select for this geometry type").optional(),
|
|
80
|
+
camera_rotation_quaternion: z.object({}).describe("Camera rotation as quaternion with w, x, y, z (applicable to cuboid)").optional()
|
|
81
|
+
}).describe("Options for a specific geometry type.").optional(),
|
|
82
|
+
polygon: z.object({
|
|
83
|
+
min_width: z.number().int().describe("Minimum width in pixels for the geometry (applicable to box, cuboid)").optional(),
|
|
84
|
+
can_rotate: z.boolean().describe("Whether the geometry can be rotated (applicable to box)").optional(),
|
|
85
|
+
min_height: z.number().int().describe("Minimum height in pixels for the geometry (applicable to box, cuboid)").optional(),
|
|
86
|
+
max_vertices: z.number().int().describe("Maximum number of vertices (applicable to polygon, line)").optional(),
|
|
87
|
+
min_vertices: z.number().int().describe("Minimum number of vertices (applicable to polygon, line)").optional(),
|
|
88
|
+
camera_height: z.number().describe("Height of camera from ground (applicable to cuboid)").optional(),
|
|
89
|
+
integer_pixels: z.boolean().describe("Whether coordinates must be integers (applicable to box)").optional(),
|
|
90
|
+
camera_intrinsics: z.object({}).describe("Camera intrinsic parameters with fx, fy, cx, cy, skew, scalefactor (applicable to cuboid)").optional(),
|
|
91
|
+
objects_to_annotate: z.array(z.string()).describe("List of object labels that annotators can select for this geometry type").optional(),
|
|
92
|
+
camera_rotation_quaternion: z.object({}).describe("Camera rotation as quaternion with w, x, y, z (applicable to cuboid)").optional()
|
|
93
|
+
}).describe("Options for a specific geometry type.").optional()
|
|
94
|
+
}).describe("Specifies annotation shapes and their configurations. At least one geometry type must be provided (box, polygon, line, point, cuboid, or ellipse)"),
|
|
95
|
+
hypothesis: z.record(z.string(), z.unknown()).describe("Pre-labels from model predictions for refinement. Contains annotations array matching response schema").optional(),
|
|
96
|
+
instruction: z.string().describe("Markdown-enabled instructions for annotators explaining how to do the task. Omit for Scale Rapid unless overriding project defaults").optional(),
|
|
97
|
+
callback_url: z.string().describe("Full URL (http/https) or email address for completion notification").optional(),
|
|
98
|
+
image_metadata: z.object({
|
|
99
|
+
location: z.object({
|
|
100
|
+
lat: z.number().describe("Latitude coordinate"),
|
|
101
|
+
long: z.number().describe("Longitude coordinate")
|
|
102
|
+
}).describe("Geographic location metadata for the image.").optional(),
|
|
103
|
+
date_time: z.string().describe("Date and time when image was captured").optional(),
|
|
104
|
+
resolution: z.object({
|
|
105
|
+
resolution_unit: z.string().describe("Unit of resolution (e.g., 'dpi', 'ppi')"),
|
|
106
|
+
resolution_ratio: z.number().describe("Resolution ratio value")
|
|
107
|
+
}).describe("Resolution metadata for the image.").optional()
|
|
108
|
+
}).describe("Metadata about the image being annotated.").optional(),
|
|
109
|
+
base_annotations: z.union([
|
|
110
|
+
z.array(z.record(z.string(), z.unknown())),
|
|
111
|
+
z.record(z.string(), z.unknown()),
|
|
112
|
+
z.boolean()
|
|
113
|
+
]).optional(),
|
|
114
|
+
context_attachments: z.array(z.object({ attachment: z.string().describe("URL to the context attachment image to show as reference") }).describe("Reference attachment displayed to annotators but not labeled.")).describe("Reference images displayed to annotators but not labeled. Cannot include the task's primary attachment").optional(),
|
|
115
|
+
annotation_attributes: z.record(z.string(), z.unknown()).describe("Captures additional metadata per annotation").optional(),
|
|
116
|
+
can_add_base_annotations: z.boolean().describe("Permits adding new annotations beyond base_annotations").optional(),
|
|
117
|
+
clear_unique_id_on_error: z.boolean().describe("Unsets unique_id if task errors after submission").optional(),
|
|
118
|
+
can_edit_base_annotations: z.boolean().describe("Allows modification of base_annotations position/attributes").optional(),
|
|
119
|
+
can_delete_base_annotations: z.boolean().describe("Allows removal of base_annotations").optional(),
|
|
120
|
+
can_edit_base_annotation_labels: z.boolean().describe("Permits label changes to base_annotations").optional()
|
|
121
|
+
}).describe("Request model for creating an image annotation task.");
|
|
122
|
+
const ScaleAiCreateImageAnnotationTask_TaskParamsGeometriesSchema = z.object({
|
|
123
|
+
box: z.record(z.string(), z.unknown()).describe("Box geometry configuration").nullable().optional(),
|
|
124
|
+
line: z.record(z.string(), z.unknown()).describe("Line geometry configuration").nullable().optional(),
|
|
125
|
+
point: z.record(z.string(), z.unknown()).describe("Point geometry configuration").nullable().optional(),
|
|
126
|
+
cuboid: z.record(z.string(), z.unknown()).describe("Cuboid geometry configuration").nullable().optional(),
|
|
127
|
+
ellipse: z.record(z.string(), z.unknown()).describe("Ellipse geometry configuration").nullable().optional(),
|
|
128
|
+
polygon: z.record(z.string(), z.unknown()).describe("Polygon geometry configuration").nullable().optional()
|
|
129
|
+
}).describe("Task parameters for geometries configuration.");
|
|
130
|
+
const ScaleAiCreateImageAnnotationTask_TaskParamsSchema = z.object({
|
|
131
|
+
tags: z.array(z.string()).describe("Task tags").nullable().optional(),
|
|
132
|
+
metadata: z.object({}).describe("Task metadata").nullable().optional(),
|
|
133
|
+
attachment: z.string().describe("URL to the image being annotated").nullable().optional(),
|
|
134
|
+
geometries: ScaleAiCreateImageAnnotationTask_TaskParamsGeometriesSchema.nullable().optional(),
|
|
135
|
+
instruction: z.string().describe("Task instructions").nullable().optional(),
|
|
136
|
+
attachment_type: z.string().describe("Type of attachment").nullable().optional(),
|
|
137
|
+
annotation_attributes: z.record(z.string(), z.unknown()).describe("Additional annotation attributes").nullable().optional()
|
|
138
|
+
}).describe("Task parameters containing the submitted request parameters.");
|
|
139
|
+
const ScaleAiCreateImageAnnotationTask_AnnotationCoordinateSchema = z.object({
|
|
140
|
+
x: z.number().describe("X coordinate in pixels"),
|
|
141
|
+
y: z.number().describe("Y coordinate in pixels")
|
|
142
|
+
}).describe("Coordinate for annotation vertices.");
|
|
143
|
+
const ScaleAiCreateImageAnnotationTask_AnnotationSchema = z.object({
|
|
144
|
+
x: z.number().describe("X coordinate in pixels (for point)").nullable().optional(),
|
|
145
|
+
y: z.number().describe("Y coordinate in pixels (for point)").nullable().optional(),
|
|
146
|
+
top: z.number().int().describe("Top position in pixels (for box)").nullable().optional(),
|
|
147
|
+
left: z.number().int().describe("Left position in pixels (for box)").nullable().optional(),
|
|
148
|
+
type: z.string().describe("Geometry type: box, polygon, line, ellipse, cuboid, or point").nullable().optional(),
|
|
149
|
+
uuid: z.string().describe("Unique identifier for the annotation").nullable().optional(),
|
|
150
|
+
angle: z.number().describe("Rotation angle (for ellipse)").nullable().optional(),
|
|
151
|
+
label: z.string().describe("Selected label from objects_to_annotate").nullable().optional(),
|
|
152
|
+
width: z.number().int().describe("Width in pixels (for box)").nullable().optional(),
|
|
153
|
+
height: z.number().int().describe("Height in pixels (for box)").nullable().optional(),
|
|
154
|
+
center_x: z.number().describe("Center X coordinate (for ellipse)").nullable().optional(),
|
|
155
|
+
center_y: z.number().describe("Center Y coordinate (for ellipse)").nullable().optional(),
|
|
156
|
+
radius_x: z.number().describe("X radius (for ellipse)").nullable().optional(),
|
|
157
|
+
radius_y: z.number().describe("Y radius (for ellipse)").nullable().optional(),
|
|
158
|
+
vertices: z.array(ScaleAiCreateImageAnnotationTask_AnnotationCoordinateSchema).describe("Array of coordinate objects (for polygon, line)").nullable().optional(),
|
|
159
|
+
attributes: z.record(z.string(), z.unknown()).describe("Custom metadata matching annotation_attributes schema").nullable().optional()
|
|
160
|
+
}).describe("Individual annotation object in the response.");
|
|
161
|
+
const ScaleAiCreateImageAnnotationTask_TaskResponseSchema = z.object({ annotations: z.array(ScaleAiCreateImageAnnotationTask_AnnotationSchema).describe("Array of annotation objects created by annotators").nullable().optional() }).describe("Task response containing the actual annotations when completed.");
|
|
162
|
+
const scaleAiCreateImageAnnotationTask = action("SCALE_AI_CREATE_IMAGE_ANNOTATION_TASK", {
|
|
163
|
+
slug: "scale_ai-create-image-annotation-task",
|
|
164
|
+
name: "Create Image Annotation Task",
|
|
165
|
+
description: "Tool to create an image annotation task where annotators label images with vector geometric shapes (box, polygon, line, point, cuboid, ellipse). Use when you need to annotate objects in images with bounding boxes, polygons, or other geometric annotations.",
|
|
166
|
+
input: ScaleAiCreateImageAnnotationTaskInput,
|
|
167
|
+
output: z.object({
|
|
168
|
+
type: z.string().describe("Task type, will be 'imageannotation'").nullable().optional(),
|
|
169
|
+
params: ScaleAiCreateImageAnnotationTask_TaskParamsSchema.nullable().optional(),
|
|
170
|
+
status: z.string().describe("Task status such as 'pending', 'completed', 'error', 'canceled'").nullable().optional(),
|
|
171
|
+
is_test: z.boolean().describe("Whether task is a test task").nullable().optional(),
|
|
172
|
+
project: z.string().describe("Associated project name").nullable().optional(),
|
|
173
|
+
task_id: z.string().describe("Unique task identifier").nullable().optional(),
|
|
174
|
+
urgency: z.string().describe("Task urgency level, default is 'standard'").nullable().optional(),
|
|
175
|
+
metadata: z.object({}).describe("Echo of provided metadata parameter").nullable().optional(),
|
|
176
|
+
response: ScaleAiCreateImageAnnotationTask_TaskResponseSchema.nullable().optional(),
|
|
177
|
+
created_at: z.string().describe("Task creation timestamp in ISO 8601 format").nullable().optional(),
|
|
178
|
+
updated_at: z.string().describe("Last update timestamp in ISO 8601 format").nullable().optional(),
|
|
179
|
+
instruction: z.string().describe("Task instruction text").nullable().optional(),
|
|
180
|
+
callback_url: z.string().describe("Callback URL for task completion notification").nullable().optional(),
|
|
181
|
+
work_started: z.boolean().describe("Whether annotation work has commenced").nullable().optional()
|
|
182
|
+
}).describe("Response model for a created image annotation task.")
|
|
183
|
+
});
|
|
184
|
+
//#endregion
|
|
185
|
+
export { scaleAiCreateImageAnnotationTask };
|
|
186
|
+
|
|
187
|
+
//# sourceMappingURL=create-image-annotation-task.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-image-annotation-task.mjs","names":[],"sources":["../../src/actions/create-image-annotation-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiCreateImageAnnotationTaskInput: z.ZodTypeAny = z.object({\n tags: z.array(z.string()).describe(\"Up to 5 arbitrary string labels for task organization and filtering\").optional(),\n batch: z.string().describe(\"Name of the batch to associate this task with. Required for Scale Rapid projects. If batch is specified, project need not be specified as task will automatically be associated with the batch's project\").optional(),\n layer: z.record(z.string(), z.unknown()).describe(\"Read-only pre-drawn annotations\").optional(),\n links: z.record(z.string(), z.unknown()).describe(\"Defines connections between annotations\").optional(),\n padding: z.number().int().describe(\"Image padding in pixels applied to all sides\").optional(),\n project: z.string().describe(\"Name of the project to associate this task with\").optional(),\n metadata: z.object({}).describe(\"Custom key-value pairs for arbitrary data (max 10KB)\").optional(),\n paddingX: z.number().int().describe(\"Horizontal image padding in pixels. Overrides padding parameter\").optional(),\n paddingY: z.number().int().describe(\"Vertical image padding in pixels. Overrides padding parameter\").optional(),\n priority: z.union([z.literal(10), z.literal(20), z.literal(30)]).describe(\"Task priority level: 10 (low), 20 (medium), or 30 (high)\").optional(),\n unique_id: z.string().describe(\"Arbitrary identifier that must be unique across account. Prevents duplicate task creation\").optional(),\n attachment: z.string().describe(\"URL to the image to be annotated\"),\n geometries: z.object({\n box: z.object({\n min_width: z.number().int().describe(\"Minimum width in pixels for the geometry (applicable to box, cuboid)\").optional(),\n can_rotate: z.boolean().describe(\"Whether the geometry can be rotated (applicable to box)\").optional(),\n min_height: z.number().int().describe(\"Minimum height in pixels for the geometry (applicable to box, cuboid)\").optional(),\n max_vertices: z.number().int().describe(\"Maximum number of vertices (applicable to polygon, line)\").optional(),\n min_vertices: z.number().int().describe(\"Minimum number of vertices (applicable to polygon, line)\").optional(),\n camera_height: z.number().describe(\"Height of camera from ground (applicable to cuboid)\").optional(),\n integer_pixels: z.boolean().describe(\"Whether coordinates must be integers (applicable to box)\").optional(),\n camera_intrinsics: z.object({}).describe(\"Camera intrinsic parameters with fx, fy, cx, cy, skew, scalefactor (applicable to cuboid)\").optional(),\n objects_to_annotate: z.array(z.string()).describe(\"List of object labels that annotators can select for this geometry type\").optional(),\n camera_rotation_quaternion: z.object({}).describe(\"Camera rotation as quaternion with w, x, y, z (applicable to cuboid)\").optional(),\n}).describe(\"Options for a specific geometry type.\").optional(),\n line: z.object({\n min_width: z.number().int().describe(\"Minimum width in pixels for the geometry (applicable to box, cuboid)\").optional(),\n can_rotate: z.boolean().describe(\"Whether the geometry can be rotated (applicable to box)\").optional(),\n min_height: z.number().int().describe(\"Minimum height in pixels for the geometry (applicable to box, cuboid)\").optional(),\n max_vertices: z.number().int().describe(\"Maximum number of vertices (applicable to polygon, line)\").optional(),\n min_vertices: z.number().int().describe(\"Minimum number of vertices (applicable to polygon, line)\").optional(),\n camera_height: z.number().describe(\"Height of camera from ground (applicable to cuboid)\").optional(),\n integer_pixels: z.boolean().describe(\"Whether coordinates must be integers (applicable to box)\").optional(),\n camera_intrinsics: z.object({}).describe(\"Camera intrinsic parameters with fx, fy, cx, cy, skew, scalefactor (applicable to cuboid)\").optional(),\n objects_to_annotate: z.array(z.string()).describe(\"List of object labels that annotators can select for this geometry type\").optional(),\n camera_rotation_quaternion: z.object({}).describe(\"Camera rotation as quaternion with w, x, y, z (applicable to cuboid)\").optional(),\n}).describe(\"Options for a specific geometry type.\").optional(),\n point: z.object({\n min_width: z.number().int().describe(\"Minimum width in pixels for the geometry (applicable to box, cuboid)\").optional(),\n can_rotate: z.boolean().describe(\"Whether the geometry can be rotated (applicable to box)\").optional(),\n min_height: z.number().int().describe(\"Minimum height in pixels for the geometry (applicable to box, cuboid)\").optional(),\n max_vertices: z.number().int().describe(\"Maximum number of vertices (applicable to polygon, line)\").optional(),\n min_vertices: z.number().int().describe(\"Minimum number of vertices (applicable to polygon, line)\").optional(),\n camera_height: z.number().describe(\"Height of camera from ground (applicable to cuboid)\").optional(),\n integer_pixels: z.boolean().describe(\"Whether coordinates must be integers (applicable to box)\").optional(),\n camera_intrinsics: z.object({}).describe(\"Camera intrinsic parameters with fx, fy, cx, cy, skew, scalefactor (applicable to cuboid)\").optional(),\n objects_to_annotate: z.array(z.string()).describe(\"List of object labels that annotators can select for this geometry type\").optional(),\n camera_rotation_quaternion: z.object({}).describe(\"Camera rotation as quaternion with w, x, y, z (applicable to cuboid)\").optional(),\n}).describe(\"Options for a specific geometry type.\").optional(),\n cuboid: z.object({\n min_width: z.number().int().describe(\"Minimum width in pixels for the geometry (applicable to box, cuboid)\").optional(),\n can_rotate: z.boolean().describe(\"Whether the geometry can be rotated (applicable to box)\").optional(),\n min_height: z.number().int().describe(\"Minimum height in pixels for the geometry (applicable to box, cuboid)\").optional(),\n max_vertices: z.number().int().describe(\"Maximum number of vertices (applicable to polygon, line)\").optional(),\n min_vertices: z.number().int().describe(\"Minimum number of vertices (applicable to polygon, line)\").optional(),\n camera_height: z.number().describe(\"Height of camera from ground (applicable to cuboid)\").optional(),\n integer_pixels: z.boolean().describe(\"Whether coordinates must be integers (applicable to box)\").optional(),\n camera_intrinsics: z.object({}).describe(\"Camera intrinsic parameters with fx, fy, cx, cy, skew, scalefactor (applicable to cuboid)\").optional(),\n objects_to_annotate: z.array(z.string()).describe(\"List of object labels that annotators can select for this geometry type\").optional(),\n camera_rotation_quaternion: z.object({}).describe(\"Camera rotation as quaternion with w, x, y, z (applicable to cuboid)\").optional(),\n}).describe(\"Options for a specific geometry type.\").optional(),\n ellipse: z.object({\n min_width: z.number().int().describe(\"Minimum width in pixels for the geometry (applicable to box, cuboid)\").optional(),\n can_rotate: z.boolean().describe(\"Whether the geometry can be rotated (applicable to box)\").optional(),\n min_height: z.number().int().describe(\"Minimum height in pixels for the geometry (applicable to box, cuboid)\").optional(),\n max_vertices: z.number().int().describe(\"Maximum number of vertices (applicable to polygon, line)\").optional(),\n min_vertices: z.number().int().describe(\"Minimum number of vertices (applicable to polygon, line)\").optional(),\n camera_height: z.number().describe(\"Height of camera from ground (applicable to cuboid)\").optional(),\n integer_pixels: z.boolean().describe(\"Whether coordinates must be integers (applicable to box)\").optional(),\n camera_intrinsics: z.object({}).describe(\"Camera intrinsic parameters with fx, fy, cx, cy, skew, scalefactor (applicable to cuboid)\").optional(),\n objects_to_annotate: z.array(z.string()).describe(\"List of object labels that annotators can select for this geometry type\").optional(),\n camera_rotation_quaternion: z.object({}).describe(\"Camera rotation as quaternion with w, x, y, z (applicable to cuboid)\").optional(),\n}).describe(\"Options for a specific geometry type.\").optional(),\n polygon: z.object({\n min_width: z.number().int().describe(\"Minimum width in pixels for the geometry (applicable to box, cuboid)\").optional(),\n can_rotate: z.boolean().describe(\"Whether the geometry can be rotated (applicable to box)\").optional(),\n min_height: z.number().int().describe(\"Minimum height in pixels for the geometry (applicable to box, cuboid)\").optional(),\n max_vertices: z.number().int().describe(\"Maximum number of vertices (applicable to polygon, line)\").optional(),\n min_vertices: z.number().int().describe(\"Minimum number of vertices (applicable to polygon, line)\").optional(),\n camera_height: z.number().describe(\"Height of camera from ground (applicable to cuboid)\").optional(),\n integer_pixels: z.boolean().describe(\"Whether coordinates must be integers (applicable to box)\").optional(),\n camera_intrinsics: z.object({}).describe(\"Camera intrinsic parameters with fx, fy, cx, cy, skew, scalefactor (applicable to cuboid)\").optional(),\n objects_to_annotate: z.array(z.string()).describe(\"List of object labels that annotators can select for this geometry type\").optional(),\n camera_rotation_quaternion: z.object({}).describe(\"Camera rotation as quaternion with w, x, y, z (applicable to cuboid)\").optional(),\n}).describe(\"Options for a specific geometry type.\").optional(),\n}).describe(\"Specifies annotation shapes and their configurations. At least one geometry type must be provided (box, polygon, line, point, cuboid, or ellipse)\"),\n hypothesis: z.record(z.string(), z.unknown()).describe(\"Pre-labels from model predictions for refinement. Contains annotations array matching response schema\").optional(),\n instruction: z.string().describe(\"Markdown-enabled instructions for annotators explaining how to do the task. Omit for Scale Rapid unless overriding project defaults\").optional(),\n callback_url: z.string().describe(\"Full URL (http/https) or email address for completion notification\").optional(),\n image_metadata: z.object({\n location: z.object({\n lat: z.number().describe(\"Latitude coordinate\"),\n long: z.number().describe(\"Longitude coordinate\"),\n}).describe(\"Geographic location metadata for the image.\").optional(),\n date_time: z.string().describe(\"Date and time when image was captured\").optional(),\n resolution: z.object({\n resolution_unit: z.string().describe(\"Unit of resolution (e.g., 'dpi', 'ppi')\"),\n resolution_ratio: z.number().describe(\"Resolution ratio value\"),\n}).describe(\"Resolution metadata for the image.\").optional(),\n}).describe(\"Metadata about the image being annotated.\").optional(),\n base_annotations: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown()), z.boolean()]).optional(),\n context_attachments: z.array(z.object({\n attachment: z.string().describe(\"URL to the context attachment image to show as reference\"),\n}).describe(\"Reference attachment displayed to annotators but not labeled.\")).describe(\"Reference images displayed to annotators but not labeled. Cannot include the task's primary attachment\").optional(),\n annotation_attributes: z.record(z.string(), z.unknown()).describe(\"Captures additional metadata per annotation\").optional(),\n can_add_base_annotations: z.boolean().describe(\"Permits adding new annotations beyond base_annotations\").optional(),\n clear_unique_id_on_error: z.boolean().describe(\"Unsets unique_id if task errors after submission\").optional(),\n can_edit_base_annotations: z.boolean().describe(\"Allows modification of base_annotations position/attributes\").optional(),\n can_delete_base_annotations: z.boolean().describe(\"Allows removal of base_annotations\").optional(),\n can_edit_base_annotation_labels: z.boolean().describe(\"Permits label changes to base_annotations\").optional(),\n}).describe(\"Request model for creating an image annotation task.\");\nconst ScaleAiCreateImageAnnotationTask_TaskParamsGeometriesSchema: z.ZodTypeAny = z.object({\n box: z.record(z.string(), z.unknown()).describe(\"Box geometry configuration\").nullable().optional(),\n line: z.record(z.string(), z.unknown()).describe(\"Line geometry configuration\").nullable().optional(),\n point: z.record(z.string(), z.unknown()).describe(\"Point geometry configuration\").nullable().optional(),\n cuboid: z.record(z.string(), z.unknown()).describe(\"Cuboid geometry configuration\").nullable().optional(),\n ellipse: z.record(z.string(), z.unknown()).describe(\"Ellipse geometry configuration\").nullable().optional(),\n polygon: z.record(z.string(), z.unknown()).describe(\"Polygon geometry configuration\").nullable().optional(),\n}).describe(\"Task parameters for geometries configuration.\");\nconst ScaleAiCreateImageAnnotationTask_TaskParamsSchema: z.ZodTypeAny = z.object({\n tags: z.array(z.string()).describe(\"Task tags\").nullable().optional(),\n metadata: z.object({}).describe(\"Task metadata\").nullable().optional(),\n attachment: z.string().describe(\"URL to the image being annotated\").nullable().optional(),\n geometries: ScaleAiCreateImageAnnotationTask_TaskParamsGeometriesSchema.nullable().optional(),\n instruction: z.string().describe(\"Task instructions\").nullable().optional(),\n attachment_type: z.string().describe(\"Type of attachment\").nullable().optional(),\n annotation_attributes: z.record(z.string(), z.unknown()).describe(\"Additional annotation attributes\").nullable().optional(),\n}).describe(\"Task parameters containing the submitted request parameters.\");\nconst ScaleAiCreateImageAnnotationTask_AnnotationCoordinateSchema: z.ZodTypeAny = z.object({\n x: z.number().describe(\"X coordinate in pixels\"),\n y: z.number().describe(\"Y coordinate in pixels\"),\n}).describe(\"Coordinate for annotation vertices.\");\nconst ScaleAiCreateImageAnnotationTask_AnnotationSchema: z.ZodTypeAny = z.object({\n x: z.number().describe(\"X coordinate in pixels (for point)\").nullable().optional(),\n y: z.number().describe(\"Y coordinate in pixels (for point)\").nullable().optional(),\n top: z.number().int().describe(\"Top position in pixels (for box)\").nullable().optional(),\n left: z.number().int().describe(\"Left position in pixels (for box)\").nullable().optional(),\n type: z.string().describe(\"Geometry type: box, polygon, line, ellipse, cuboid, or point\").nullable().optional(),\n uuid: z.string().describe(\"Unique identifier for the annotation\").nullable().optional(),\n angle: z.number().describe(\"Rotation angle (for ellipse)\").nullable().optional(),\n label: z.string().describe(\"Selected label from objects_to_annotate\").nullable().optional(),\n width: z.number().int().describe(\"Width in pixels (for box)\").nullable().optional(),\n height: z.number().int().describe(\"Height in pixels (for box)\").nullable().optional(),\n center_x: z.number().describe(\"Center X coordinate (for ellipse)\").nullable().optional(),\n center_y: z.number().describe(\"Center Y coordinate (for ellipse)\").nullable().optional(),\n radius_x: z.number().describe(\"X radius (for ellipse)\").nullable().optional(),\n radius_y: z.number().describe(\"Y radius (for ellipse)\").nullable().optional(),\n vertices: z.array(ScaleAiCreateImageAnnotationTask_AnnotationCoordinateSchema).describe(\"Array of coordinate objects (for polygon, line)\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Custom metadata matching annotation_attributes schema\").nullable().optional(),\n}).describe(\"Individual annotation object in the response.\");\nconst ScaleAiCreateImageAnnotationTask_TaskResponseSchema: z.ZodTypeAny = z.object({\n annotations: z.array(ScaleAiCreateImageAnnotationTask_AnnotationSchema).describe(\"Array of annotation objects created by annotators\").nullable().optional(),\n}).describe(\"Task response containing the actual annotations when completed.\");\nexport const ScaleAiCreateImageAnnotationTaskOutput: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Task type, will be 'imageannotation'\").nullable().optional(),\n params: ScaleAiCreateImageAnnotationTask_TaskParamsSchema.nullable().optional(),\n status: z.string().describe(\"Task status such as 'pending', 'completed', 'error', 'canceled'\").nullable().optional(),\n is_test: z.boolean().describe(\"Whether task is a test task\").nullable().optional(),\n project: z.string().describe(\"Associated project name\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier\").nullable().optional(),\n urgency: z.string().describe(\"Task urgency level, default is 'standard'\").nullable().optional(),\n metadata: z.object({}).describe(\"Echo of provided metadata parameter\").nullable().optional(),\n response: ScaleAiCreateImageAnnotationTask_TaskResponseSchema.nullable().optional(),\n created_at: z.string().describe(\"Task creation timestamp in ISO 8601 format\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp in ISO 8601 format\").nullable().optional(),\n instruction: z.string().describe(\"Task instruction text\").nullable().optional(),\n callback_url: z.string().describe(\"Callback URL for task completion notification\").nullable().optional(),\n work_started: z.boolean().describe(\"Whether annotation work has commenced\").nullable().optional(),\n}).describe(\"Response model for a created image annotation task.\");\n\nexport const scaleAiCreateImageAnnotationTask = action(\"SCALE_AI_CREATE_IMAGE_ANNOTATION_TASK\", {\n slug: \"scale_ai-create-image-annotation-task\",\n name: \"Create Image Annotation Task\",\n description: \"Tool to create an image annotation task where annotators label images with vector geometric shapes (box, polygon, line, point, cuboid, ellipse). Use when you need to annotate objects in images with bounding boxes, polygons, or other geometric annotations.\",\n input: ScaleAiCreateImageAnnotationTaskInput,\n output: ScaleAiCreateImageAnnotationTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO;CAC1E,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,C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C,CAAC,SAAS;EAC3F,UAAU,oDAAoD,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-lidar-annotation-task.ts
|
|
4
|
+
const ScaleAiCreateLidarAnnotationTaskInput = zod.z.object({
|
|
5
|
+
tags: zod.z.array(zod.z.string()).describe("Task labels (max 5 per task).").optional(),
|
|
6
|
+
batch: zod.z.string().describe("Batch name; auto-associates with batch's project.").optional(),
|
|
7
|
+
labels: zod.z.array(zod.z.string()).describe("Object types to annotate. Maximum 50 objects supported."),
|
|
8
|
+
project: zod.z.string().describe("Project name for task association.").optional(),
|
|
9
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom key-value pairs (max 10KB).").optional(),
|
|
10
|
+
priority: zod.z.number().int().describe("Task priority: 10, 20, or 30.").optional(),
|
|
11
|
+
unique_id: zod.z.string().describe("Custom unique identifier for task deduplication.").optional(),
|
|
12
|
+
attachments: zod.z.array(zod.z.string()).describe("List of URLs to the Frame objects you'd like to be labeled. Frames should be time-ordered naturally."),
|
|
13
|
+
instruction: zod.z.string().describe("Markdown-enabled task instructions for annotators.").optional(),
|
|
14
|
+
callback_url: zod.z.string().describe("The full url (including the scheme http:// or https://) of the callback when the task is completed.").optional(),
|
|
15
|
+
attachment_type: zod.z.string().describe("Specifies file format: 'json' (default) or 'protobuf'."),
|
|
16
|
+
meters_per_unit: zod.z.number().int().describe("Conversion rate of point data units to meters.").optional(),
|
|
17
|
+
polygons_labels: zod.z.array(zod.z.string()).describe("Polygon types to annotate.").optional(),
|
|
18
|
+
polygons_enabled: zod.z.boolean().describe("Enables polygon annotations.").optional(),
|
|
19
|
+
frames_per_second: zod.z.number().int().describe("Frame capture frequency.").optional(),
|
|
20
|
+
max_distance_meters: zod.z.number().int().describe("Maximum labeling distance from sensor in meters.").optional(),
|
|
21
|
+
labeling_sample_rate: zod.z.number().int().describe("Sampling rate for full frame labeling. With rate k and n frames total, labeled frames are 1st, (k+1)th, (2k+1)th, etc.").optional(),
|
|
22
|
+
annotation_attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional per-annotation attributes.").optional()
|
|
23
|
+
}).describe("Request model for creating a lidar annotation task.\n\nRequired fields:\n- attachments: List of URLs to Frame objects to be labeled\n- attachment_type: File format ('json' or 'protobuf')\n- labels: Object types to annotate (max 50 objects)\n\nOptional fields include project, batch, instruction, callback_url, and various configuration parameters.");
|
|
24
|
+
const ScaleAiCreateLidarAnnotationTask_TaskParamsSchema = zod.z.object({
|
|
25
|
+
labels: zod.z.array(zod.z.string()).describe("Object types to annotate.").nullable().optional(),
|
|
26
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata.").nullable().optional(),
|
|
27
|
+
attachments: zod.z.array(zod.z.string()).describe("List of attachment URLs.").nullable().optional(),
|
|
28
|
+
instruction: zod.z.string().describe("Task instructions.").nullable().optional(),
|
|
29
|
+
callback_url: zod.z.string().describe("Callback URL.").nullable().optional(),
|
|
30
|
+
attachment_type: zod.z.string().describe("Attachment file format.").nullable().optional()
|
|
31
|
+
}).describe("Task parameters from the response.");
|
|
32
|
+
const ScaleAiCreateLidarAnnotationTaskOutput = zod.z.object({
|
|
33
|
+
type: zod.z.string().describe("Task type, returns 'lidarannotation'.").nullable().optional(),
|
|
34
|
+
params: ScaleAiCreateLidarAnnotationTask_TaskParamsSchema.nullable().optional(),
|
|
35
|
+
status: zod.z.string().describe("Initial task status, typically 'pending'.").nullable().optional(),
|
|
36
|
+
is_test: zod.z.boolean().describe("Test task indicator.").nullable().optional(),
|
|
37
|
+
task_id: zod.z.string().describe("Unique task identifier.").nullable().optional(),
|
|
38
|
+
created_at: zod.z.string().describe("Timestamp of task creation.").nullable().optional(),
|
|
39
|
+
instruction: zod.z.string().describe("Task instructions provided.").nullable().optional(),
|
|
40
|
+
callback_url: zod.z.string().describe("Configured callback endpoint.").nullable().optional()
|
|
41
|
+
}).describe("Response model for created lidar annotation task.");
|
|
42
|
+
const scaleAiCreateLidarAnnotationTask = require_action.action("SCALE_AI_CREATE_LIDAR_ANNOTATION_TASK", {
|
|
43
|
+
slug: "scale_ai-create-lidar-annotation-task",
|
|
44
|
+
name: "Create Lidar Annotation Task",
|
|
45
|
+
description: "Tool to create a lidar annotation task where annotators mark objects with 3D cuboids in 3D space. Use when you need to annotate LIDAR frame sequences with 3D object detection.",
|
|
46
|
+
input: ScaleAiCreateLidarAnnotationTaskInput,
|
|
47
|
+
output: ScaleAiCreateLidarAnnotationTaskOutput
|
|
48
|
+
});
|
|
49
|
+
//#endregion
|
|
50
|
+
exports.scaleAiCreateLidarAnnotationTask = scaleAiCreateLidarAnnotationTask;
|
|
51
|
+
|
|
52
|
+
//# sourceMappingURL=create-lidar-annotation-task.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-lidar-annotation-task.cjs","names":["z","action"],"sources":["../../src/actions/create-lidar-annotation-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiCreateLidarAnnotationTaskInput: z.ZodTypeAny = z.object({\n tags: z.array(z.string()).describe(\"Task labels (max 5 per task).\").optional(),\n batch: z.string().describe(\"Batch name; auto-associates with batch's project.\").optional(),\n labels: z.array(z.string()).describe(\"Object types to annotate. Maximum 50 objects supported.\"),\n project: z.string().describe(\"Project name for task association.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs (max 10KB).\").optional(),\n priority: z.number().int().describe(\"Task priority: 10, 20, or 30.\").optional(),\n unique_id: z.string().describe(\"Custom unique identifier for task deduplication.\").optional(),\n attachments: z.array(z.string()).describe(\"List of URLs to the Frame objects you'd like to be labeled. Frames should be time-ordered naturally.\"),\n instruction: z.string().describe(\"Markdown-enabled task instructions for annotators.\").optional(),\n callback_url: z.string().describe(\"The full url (including the scheme http:// or https://) of the callback when the task is completed.\").optional(),\n attachment_type: z.string().describe(\"Specifies file format: 'json' (default) or 'protobuf'.\"),\n meters_per_unit: z.number().int().describe(\"Conversion rate of point data units to meters.\").optional(),\n polygons_labels: z.array(z.string()).describe(\"Polygon types to annotate.\").optional(),\n polygons_enabled: z.boolean().describe(\"Enables polygon annotations.\").optional(),\n frames_per_second: z.number().int().describe(\"Frame capture frequency.\").optional(),\n max_distance_meters: z.number().int().describe(\"Maximum labeling distance from sensor in meters.\").optional(),\n labeling_sample_rate: z.number().int().describe(\"Sampling rate for full frame labeling. With rate k and n frames total, labeled frames are 1st, (k+1)th, (2k+1)th, etc.\").optional(),\n annotation_attributes: z.record(z.string(), z.unknown()).describe(\"Additional per-annotation attributes.\").optional(),\n}).describe(\"Request model for creating a lidar annotation task.\\n\\nRequired fields:\\n- attachments: List of URLs to Frame objects to be labeled\\n- attachment_type: File format ('json' or 'protobuf')\\n- labels: Object types to annotate (max 50 objects)\\n\\nOptional fields include project, batch, instruction, callback_url, and various configuration parameters.\");\nconst ScaleAiCreateLidarAnnotationTask_TaskParamsSchema: z.ZodTypeAny = z.object({\n labels: z.array(z.string()).describe(\"Object types to annotate.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata.\").nullable().optional(),\n attachments: z.array(z.string()).describe(\"List of attachment URLs.\").nullable().optional(),\n instruction: z.string().describe(\"Task instructions.\").nullable().optional(),\n callback_url: z.string().describe(\"Callback URL.\").nullable().optional(),\n attachment_type: z.string().describe(\"Attachment file format.\").nullable().optional(),\n}).describe(\"Task parameters from the response.\");\nexport const ScaleAiCreateLidarAnnotationTaskOutput: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Task type, returns 'lidarannotation'.\").nullable().optional(),\n params: ScaleAiCreateLidarAnnotationTask_TaskParamsSchema.nullable().optional(),\n status: z.string().describe(\"Initial task status, typically 'pending'.\").nullable().optional(),\n is_test: z.boolean().describe(\"Test task indicator.\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of task creation.\").nullable().optional(),\n instruction: z.string().describe(\"Task instructions provided.\").nullable().optional(),\n callback_url: z.string().describe(\"Configured callback endpoint.\").nullable().optional(),\n}).describe(\"Response model for created lidar annotation task.\");\n\nexport const scaleAiCreateLidarAnnotationTask = action(\"SCALE_AI_CREATE_LIDAR_ANNOTATION_TASK\", {\n slug: \"scale_ai-create-lidar-annotation-task\",\n name: \"Create Lidar Annotation Task\",\n description: \"Tool to create a lidar annotation task where annotators mark objects with 3D cuboids in 3D space. Use when you need to annotate LIDAR frame sequences with 3D object detection.\",\n input: ScaleAiCreateLidarAnnotationTaskInput,\n output: ScaleAiCreateLidarAnnotationTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CA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C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-lidar-annotation-task.d.ts
|
|
4
|
+
declare const ScaleAiCreateLidarAnnotationTaskInput: z.ZodTypeAny;
|
|
5
|
+
declare const ScaleAiCreateLidarAnnotationTaskOutput: z.ZodTypeAny;
|
|
6
|
+
declare const scaleAiCreateLidarAnnotationTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { scaleAiCreateLidarAnnotationTask };
|
|
9
|
+
//# sourceMappingURL=create-lidar-annotation-task.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-lidar-annotation-task.d.cts","names":[],"sources":["../../src/actions/create-lidar-annotation-task.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAmBoT;AAAA,cAS7V,sCAAA,EAAwC,CAAA,CAAE,UASS;AAAA,cAEnD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-lidar-annotation-task.d.ts
|
|
4
|
+
declare const ScaleAiCreateLidarAnnotationTaskInput: z.ZodTypeAny;
|
|
5
|
+
declare const ScaleAiCreateLidarAnnotationTaskOutput: z.ZodTypeAny;
|
|
6
|
+
declare const scaleAiCreateLidarAnnotationTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { scaleAiCreateLidarAnnotationTask };
|
|
9
|
+
//# sourceMappingURL=create-lidar-annotation-task.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-lidar-annotation-task.d.mts","names":[],"sources":["../../src/actions/create-lidar-annotation-task.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAmBoT;AAAA,cAS7V,sCAAA,EAAwC,CAAA,CAAE,UASS;AAAA,cAEnD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/create-lidar-annotation-task.ts
|
|
4
|
+
const ScaleAiCreateLidarAnnotationTaskInput = z.object({
|
|
5
|
+
tags: z.array(z.string()).describe("Task labels (max 5 per task).").optional(),
|
|
6
|
+
batch: z.string().describe("Batch name; auto-associates with batch's project.").optional(),
|
|
7
|
+
labels: z.array(z.string()).describe("Object types to annotate. Maximum 50 objects supported."),
|
|
8
|
+
project: z.string().describe("Project name for task association.").optional(),
|
|
9
|
+
metadata: z.record(z.string(), z.unknown()).describe("Custom key-value pairs (max 10KB).").optional(),
|
|
10
|
+
priority: z.number().int().describe("Task priority: 10, 20, or 30.").optional(),
|
|
11
|
+
unique_id: z.string().describe("Custom unique identifier for task deduplication.").optional(),
|
|
12
|
+
attachments: z.array(z.string()).describe("List of URLs to the Frame objects you'd like to be labeled. Frames should be time-ordered naturally."),
|
|
13
|
+
instruction: z.string().describe("Markdown-enabled task instructions for annotators.").optional(),
|
|
14
|
+
callback_url: z.string().describe("The full url (including the scheme http:// or https://) of the callback when the task is completed.").optional(),
|
|
15
|
+
attachment_type: z.string().describe("Specifies file format: 'json' (default) or 'protobuf'."),
|
|
16
|
+
meters_per_unit: z.number().int().describe("Conversion rate of point data units to meters.").optional(),
|
|
17
|
+
polygons_labels: z.array(z.string()).describe("Polygon types to annotate.").optional(),
|
|
18
|
+
polygons_enabled: z.boolean().describe("Enables polygon annotations.").optional(),
|
|
19
|
+
frames_per_second: z.number().int().describe("Frame capture frequency.").optional(),
|
|
20
|
+
max_distance_meters: z.number().int().describe("Maximum labeling distance from sensor in meters.").optional(),
|
|
21
|
+
labeling_sample_rate: z.number().int().describe("Sampling rate for full frame labeling. With rate k and n frames total, labeled frames are 1st, (k+1)th, (2k+1)th, etc.").optional(),
|
|
22
|
+
annotation_attributes: z.record(z.string(), z.unknown()).describe("Additional per-annotation attributes.").optional()
|
|
23
|
+
}).describe("Request model for creating a lidar annotation task.\n\nRequired fields:\n- attachments: List of URLs to Frame objects to be labeled\n- attachment_type: File format ('json' or 'protobuf')\n- labels: Object types to annotate (max 50 objects)\n\nOptional fields include project, batch, instruction, callback_url, and various configuration parameters.");
|
|
24
|
+
const ScaleAiCreateLidarAnnotationTask_TaskParamsSchema = z.object({
|
|
25
|
+
labels: z.array(z.string()).describe("Object types to annotate.").nullable().optional(),
|
|
26
|
+
metadata: z.record(z.string(), z.unknown()).describe("Custom metadata.").nullable().optional(),
|
|
27
|
+
attachments: z.array(z.string()).describe("List of attachment URLs.").nullable().optional(),
|
|
28
|
+
instruction: z.string().describe("Task instructions.").nullable().optional(),
|
|
29
|
+
callback_url: z.string().describe("Callback URL.").nullable().optional(),
|
|
30
|
+
attachment_type: z.string().describe("Attachment file format.").nullable().optional()
|
|
31
|
+
}).describe("Task parameters from the response.");
|
|
32
|
+
const scaleAiCreateLidarAnnotationTask = action("SCALE_AI_CREATE_LIDAR_ANNOTATION_TASK", {
|
|
33
|
+
slug: "scale_ai-create-lidar-annotation-task",
|
|
34
|
+
name: "Create Lidar Annotation Task",
|
|
35
|
+
description: "Tool to create a lidar annotation task where annotators mark objects with 3D cuboids in 3D space. Use when you need to annotate LIDAR frame sequences with 3D object detection.",
|
|
36
|
+
input: ScaleAiCreateLidarAnnotationTaskInput,
|
|
37
|
+
output: z.object({
|
|
38
|
+
type: z.string().describe("Task type, returns 'lidarannotation'.").nullable().optional(),
|
|
39
|
+
params: ScaleAiCreateLidarAnnotationTask_TaskParamsSchema.nullable().optional(),
|
|
40
|
+
status: z.string().describe("Initial task status, typically 'pending'.").nullable().optional(),
|
|
41
|
+
is_test: z.boolean().describe("Test task indicator.").nullable().optional(),
|
|
42
|
+
task_id: z.string().describe("Unique task identifier.").nullable().optional(),
|
|
43
|
+
created_at: z.string().describe("Timestamp of task creation.").nullable().optional(),
|
|
44
|
+
instruction: z.string().describe("Task instructions provided.").nullable().optional(),
|
|
45
|
+
callback_url: z.string().describe("Configured callback endpoint.").nullable().optional()
|
|
46
|
+
}).describe("Response model for created lidar annotation task.")
|
|
47
|
+
});
|
|
48
|
+
//#endregion
|
|
49
|
+
export { scaleAiCreateLidarAnnotationTask };
|
|
50
|
+
|
|
51
|
+
//# sourceMappingURL=create-lidar-annotation-task.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-lidar-annotation-task.mjs","names":[],"sources":["../../src/actions/create-lidar-annotation-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiCreateLidarAnnotationTaskInput: z.ZodTypeAny = z.object({\n tags: z.array(z.string()).describe(\"Task labels (max 5 per task).\").optional(),\n batch: z.string().describe(\"Batch name; auto-associates with batch's project.\").optional(),\n labels: z.array(z.string()).describe(\"Object types to annotate. Maximum 50 objects supported.\"),\n project: z.string().describe(\"Project name for task association.\").optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value pairs (max 10KB).\").optional(),\n priority: z.number().int().describe(\"Task priority: 10, 20, or 30.\").optional(),\n unique_id: z.string().describe(\"Custom unique identifier for task deduplication.\").optional(),\n attachments: z.array(z.string()).describe(\"List of URLs to the Frame objects you'd like to be labeled. Frames should be time-ordered naturally.\"),\n instruction: z.string().describe(\"Markdown-enabled task instructions for annotators.\").optional(),\n callback_url: z.string().describe(\"The full url (including the scheme http:// or https://) of the callback when the task is completed.\").optional(),\n attachment_type: z.string().describe(\"Specifies file format: 'json' (default) or 'protobuf'.\"),\n meters_per_unit: z.number().int().describe(\"Conversion rate of point data units to meters.\").optional(),\n polygons_labels: z.array(z.string()).describe(\"Polygon types to annotate.\").optional(),\n polygons_enabled: z.boolean().describe(\"Enables polygon annotations.\").optional(),\n frames_per_second: z.number().int().describe(\"Frame capture frequency.\").optional(),\n max_distance_meters: z.number().int().describe(\"Maximum labeling distance from sensor in meters.\").optional(),\n labeling_sample_rate: z.number().int().describe(\"Sampling rate for full frame labeling. With rate k and n frames total, labeled frames are 1st, (k+1)th, (2k+1)th, etc.\").optional(),\n annotation_attributes: z.record(z.string(), z.unknown()).describe(\"Additional per-annotation attributes.\").optional(),\n}).describe(\"Request model for creating a lidar annotation task.\\n\\nRequired fields:\\n- attachments: List of URLs to Frame objects to be labeled\\n- attachment_type: File format ('json' or 'protobuf')\\n- labels: Object types to annotate (max 50 objects)\\n\\nOptional fields include project, batch, instruction, callback_url, and various configuration parameters.\");\nconst ScaleAiCreateLidarAnnotationTask_TaskParamsSchema: z.ZodTypeAny = z.object({\n labels: z.array(z.string()).describe(\"Object types to annotate.\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata.\").nullable().optional(),\n attachments: z.array(z.string()).describe(\"List of attachment URLs.\").nullable().optional(),\n instruction: z.string().describe(\"Task instructions.\").nullable().optional(),\n callback_url: z.string().describe(\"Callback URL.\").nullable().optional(),\n attachment_type: z.string().describe(\"Attachment file format.\").nullable().optional(),\n}).describe(\"Task parameters from the response.\");\nexport const ScaleAiCreateLidarAnnotationTaskOutput: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Task type, returns 'lidarannotation'.\").nullable().optional(),\n params: ScaleAiCreateLidarAnnotationTask_TaskParamsSchema.nullable().optional(),\n status: z.string().describe(\"Initial task status, typically 'pending'.\").nullable().optional(),\n is_test: z.boolean().describe(\"Test task indicator.\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of task creation.\").nullable().optional(),\n instruction: z.string().describe(\"Task instructions provided.\").nullable().optional(),\n callback_url: z.string().describe(\"Configured callback endpoint.\").nullable().optional(),\n}).describe(\"Response model for created lidar annotation task.\");\n\nexport const scaleAiCreateLidarAnnotationTask = action(\"SCALE_AI_CREATE_LIDAR_ANNOTATION_TASK\", {\n slug: \"scale_ai-create-lidar-annotation-task\",\n name: \"Create Lidar Annotation Task\",\n description: \"Tool to create a lidar annotation task where annotators mark objects with 3D cuboids in 3D space. Use when you need to annotate LIDAR frame sequences with 3D object detection.\",\n input: ScaleAiCreateLidarAnnotationTaskInput,\n output: ScaleAiCreateLidarAnnotationTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO;CAC1E,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7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AS,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-lidar-segmentation-task.ts
|
|
4
|
+
const ScaleAiCreateLidarSegmentationTaskInput = zod.z.object({
|
|
5
|
+
tags: zod.z.array(zod.z.string()).describe("Up to 5 arbitrary labels per task for organization and filtering purposes.").optional(),
|
|
6
|
+
batch: zod.z.string().describe("Batch name to associate with this task. If batch is provided, the batch's project is auto-assigned. Either 'project' or 'batch' must be provided.").optional(),
|
|
7
|
+
labels: zod.z.array(zod.z.string()).describe("Object classes for which semantic information is desired. Annotators will assign these semantic classes to each LiDAR point."),
|
|
8
|
+
project: zod.z.string().describe("Project name to associate with this task. Either 'project' or 'batch' must be provided.").optional(),
|
|
9
|
+
metadata: zod.z.object({}).describe("Key-value pairs (max 10KB) for structured task information. Use this to store custom data related to the task.").optional(),
|
|
10
|
+
priority: zod.z.union([
|
|
11
|
+
zod.z.literal(10),
|
|
12
|
+
zod.z.literal(20),
|
|
13
|
+
zod.z.literal(30)
|
|
14
|
+
]).describe("Task priority level. Valid values are 10 (low), 20 (medium), or 30 (high).").optional(),
|
|
15
|
+
unique_id: zod.z.string().describe("Arbitrary unique identifier across your account. Use this to prevent duplicate task creation.").optional(),
|
|
16
|
+
attachments: zod.z.array(zod.z.string()).describe("URLs to Frame objects you'd like to be labeled. Each URL should point to a valid frame data file."),
|
|
17
|
+
instruction: zod.z.string().describe("Markdown-enabled task instructions with examples to guide annotators.").optional(),
|
|
18
|
+
callback_url: zod.z.string().describe("Full URL (http:// or https://) for task completion notification. Scale will send a POST request to this URL when the task is completed.").optional(),
|
|
19
|
+
attachment_type: zod.z.enum(["json", "protobuf"]).describe("File format of the attachments. Must be either 'json' or 'protobuf'."),
|
|
20
|
+
annotation_attributes: zod.z.object({}).describe("Additional attributes to capture per annotation. Define custom attributes for the annotation process.").optional(),
|
|
21
|
+
clear_unique_id_on_error: zod.z.boolean().describe("Reset unique_id if task errors. Set to true to allow resubmission of failed tasks with the same unique_id.").optional()
|
|
22
|
+
}).describe("Request model for creating a LiDAR segmentation task.");
|
|
23
|
+
const ScaleAiCreateLidarSegmentationTask_TaskParamsSchema = zod.z.object({
|
|
24
|
+
tags: zod.z.array(zod.z.string()).describe("Task tags.").nullable().optional(),
|
|
25
|
+
labels: zod.z.array(zod.z.string()).describe("Object classes for semantic annotation."),
|
|
26
|
+
metadata: zod.z.object({}).describe("Task metadata.").nullable().optional(),
|
|
27
|
+
attachments: zod.z.array(zod.z.string()).describe("URLs to Frame objects being labeled."),
|
|
28
|
+
instruction: zod.z.string().describe("Task instructions.").nullable().optional(),
|
|
29
|
+
attachment_type: zod.z.string().describe("File format of the attachments."),
|
|
30
|
+
annotation_attributes: zod.z.object({}).describe("Additional annotation attributes.").nullable().optional()
|
|
31
|
+
}).describe("Task parameters containing the submitted request parameters.");
|
|
32
|
+
const ScaleAiCreateLidarSegmentationTaskOutput = zod.z.object({
|
|
33
|
+
type: zod.z.string().describe("Task type, will be 'lidarsegmentation'."),
|
|
34
|
+
params: ScaleAiCreateLidarSegmentationTask_TaskParamsSchema.nullable().optional(),
|
|
35
|
+
status: zod.z.string().describe("Task status such as 'pending', 'completed', 'error', etc."),
|
|
36
|
+
is_test: zod.z.boolean().describe("Whether task is a test task.").nullable().optional(),
|
|
37
|
+
task_id: zod.z.string().describe("Unique task identifier."),
|
|
38
|
+
created_at: zod.z.string().describe("Task creation timestamp in ISO 8601 format."),
|
|
39
|
+
instruction: zod.z.string().describe("Task instruction text.").nullable().optional(),
|
|
40
|
+
callback_url: zod.z.string().describe("Callback URL for task completion notification.").nullable().optional()
|
|
41
|
+
}).describe("Response model for a created LiDAR segmentation task.");
|
|
42
|
+
const scaleAiCreateLidarSegmentationTask = require_action.action("SCALE_AI_CREATE_LIDAR_SEGMENTATION_TASK", {
|
|
43
|
+
slug: "scale_ai-create-lidar-segmentation-task",
|
|
44
|
+
name: "Create LiDAR Segmentation Task",
|
|
45
|
+
description: "Tool to create a LiDAR segmentation task where annotators assign semantic class labels to individual LiDAR points. Use when you need to annotate point cloud data with object classes such as vehicles, pedestrians, roads, buildings, etc. Either 'project' or 'batch' must be provided in the request.",
|
|
46
|
+
input: ScaleAiCreateLidarSegmentationTaskInput,
|
|
47
|
+
output: ScaleAiCreateLidarSegmentationTaskOutput
|
|
48
|
+
});
|
|
49
|
+
//#endregion
|
|
50
|
+
exports.scaleAiCreateLidarSegmentationTask = scaleAiCreateLidarSegmentationTask;
|
|
51
|
+
|
|
52
|
+
//# sourceMappingURL=create-lidar-segmentation-task.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-lidar-segmentation-task.cjs","names":["z","action"],"sources":["../../src/actions/create-lidar-segmentation-task.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScaleAiCreateLidarSegmentationTaskInput: z.ZodTypeAny = z.object({\n tags: z.array(z.string()).describe(\"Up to 5 arbitrary labels per task for organization and filtering purposes.\").optional(),\n batch: z.string().describe(\"Batch name to associate with this task. If batch is provided, the batch's project is auto-assigned. Either 'project' or 'batch' must be provided.\").optional(),\n labels: z.array(z.string()).describe(\"Object classes for which semantic information is desired. Annotators will assign these semantic classes to each LiDAR point.\"),\n project: z.string().describe(\"Project name to associate with this task. Either 'project' or 'batch' must be provided.\").optional(),\n metadata: z.object({}).describe(\"Key-value pairs (max 10KB) for structured task information. Use this to store custom data related to the task.\").optional(),\n priority: z.union([z.literal(10), z.literal(20), z.literal(30)]).describe(\"Task priority level. Valid values are 10 (low), 20 (medium), or 30 (high).\").optional(),\n unique_id: z.string().describe(\"Arbitrary unique identifier across your account. Use this to prevent duplicate task creation.\").optional(),\n attachments: z.array(z.string()).describe(\"URLs to Frame objects you'd like to be labeled. Each URL should point to a valid frame data file.\"),\n instruction: z.string().describe(\"Markdown-enabled task instructions with examples to guide annotators.\").optional(),\n callback_url: z.string().describe(\"Full URL (http:// or https://) for task completion notification. Scale will send a POST request to this URL when the task is completed.\").optional(),\n attachment_type: z.enum([\"json\", \"protobuf\"]).describe(\"File format of the attachments. Must be either 'json' or 'protobuf'.\"),\n annotation_attributes: z.object({}).describe(\"Additional attributes to capture per annotation. Define custom attributes for the annotation process.\").optional(),\n clear_unique_id_on_error: z.boolean().describe(\"Reset unique_id if task errors. Set to true to allow resubmission of failed tasks with the same unique_id.\").optional(),\n}).describe(\"Request model for creating a LiDAR segmentation task.\");\nconst ScaleAiCreateLidarSegmentationTask_TaskParamsSchema: z.ZodTypeAny = z.object({\n tags: z.array(z.string()).describe(\"Task tags.\").nullable().optional(),\n labels: z.array(z.string()).describe(\"Object classes for semantic annotation.\"),\n metadata: z.object({}).describe(\"Task metadata.\").nullable().optional(),\n attachments: z.array(z.string()).describe(\"URLs to Frame objects being labeled.\"),\n instruction: z.string().describe(\"Task instructions.\").nullable().optional(),\n attachment_type: z.string().describe(\"File format of the attachments.\"),\n annotation_attributes: z.object({}).describe(\"Additional annotation attributes.\").nullable().optional(),\n}).describe(\"Task parameters containing the submitted request parameters.\");\nexport const ScaleAiCreateLidarSegmentationTaskOutput: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Task type, will be 'lidarsegmentation'.\"),\n params: ScaleAiCreateLidarSegmentationTask_TaskParamsSchema.nullable().optional(),\n status: z.string().describe(\"Task status such as 'pending', 'completed', 'error', etc.\"),\n is_test: z.boolean().describe(\"Whether task is a test task.\").nullable().optional(),\n task_id: z.string().describe(\"Unique task identifier.\"),\n created_at: z.string().describe(\"Task creation timestamp in ISO 8601 format.\"),\n instruction: z.string().describe(\"Task instruction text.\").nullable().optional(),\n callback_url: z.string().describe(\"Callback URL for task completion notification.\").nullable().optional(),\n}).describe(\"Response model for a created LiDAR segmentation task.\");\n\nexport const scaleAiCreateLidarSegmentationTask = action(\"SCALE_AI_CREATE_LIDAR_SEGMENTATION_TASK\", {\n slug: \"scale_ai-create-lidar-segmentation-task\",\n name: \"Create LiDAR Segmentation Task\",\n description: \"Tool to create a LiDAR segmentation task where annotators assign semantic class labels to individual LiDAR points. Use when you need to annotate point cloud data with object classes such as vehicles, pedestrians, roads, buildings, etc. Either 'project' or 'batch' must be provided in the request.\",\n input: ScaleAiCreateLidarSegmentationTaskInput,\n output: ScaleAiCreateLidarSegmentationTaskOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC1H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;CACzL,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8HAA8H;CACnK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACjI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC3J,UAAUA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,QAAQ,EAAE;EAAGA,IAAAA,EAAE,QAAQ,EAAE;EAAGA,IAAAA,EAAE,Q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iBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACtE,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACnE,QAAQ,oDAAoD,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,qCAAqCC,eAAAA,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-lidar-segmentation-task.d.ts
|
|
4
|
+
declare const ScaleAiCreateLidarSegmentationTaskInput: z.ZodTypeAny;
|
|
5
|
+
declare const ScaleAiCreateLidarSegmentationTaskOutput: z.ZodTypeAny;
|
|
6
|
+
declare const scaleAiCreateLidarSegmentationTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { scaleAiCreateLidarSegmentationTask };
|
|
9
|
+
//# sourceMappingURL=create-lidar-segmentation-task.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-lidar-segmentation-task.d.cts","names":[],"sources":["../../src/actions/create-lidar-segmentation-task.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAcY;AAAA,cAUvD,wCAAA,EAA0C,CAAA,CAAE,UASW;AAAA,cAEvD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-lidar-segmentation-task.d.ts
|
|
4
|
+
declare const ScaleAiCreateLidarSegmentationTaskInput: z.ZodTypeAny;
|
|
5
|
+
declare const ScaleAiCreateLidarSegmentationTaskOutput: z.ZodTypeAny;
|
|
6
|
+
declare const scaleAiCreateLidarSegmentationTask: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { scaleAiCreateLidarSegmentationTask };
|
|
9
|
+
//# sourceMappingURL=create-lidar-segmentation-task.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-lidar-segmentation-task.d.mts","names":[],"sources":["../../src/actions/create-lidar-segmentation-task.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAcY;AAAA,cAUvD,wCAAA,EAA0C,CAAA,CAAE,UASW;AAAA,cAEvD,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/create-lidar-segmentation-task.ts
|
|
4
|
+
const ScaleAiCreateLidarSegmentationTaskInput = z.object({
|
|
5
|
+
tags: z.array(z.string()).describe("Up to 5 arbitrary labels per task for organization and filtering purposes.").optional(),
|
|
6
|
+
batch: z.string().describe("Batch name to associate with this task. If batch is provided, the batch's project is auto-assigned. Either 'project' or 'batch' must be provided.").optional(),
|
|
7
|
+
labels: z.array(z.string()).describe("Object classes for which semantic information is desired. Annotators will assign these semantic classes to each LiDAR point."),
|
|
8
|
+
project: z.string().describe("Project name to associate with this task. Either 'project' or 'batch' must be provided.").optional(),
|
|
9
|
+
metadata: z.object({}).describe("Key-value pairs (max 10KB) for structured task information. Use this to store custom data related to the task.").optional(),
|
|
10
|
+
priority: z.union([
|
|
11
|
+
z.literal(10),
|
|
12
|
+
z.literal(20),
|
|
13
|
+
z.literal(30)
|
|
14
|
+
]).describe("Task priority level. Valid values are 10 (low), 20 (medium), or 30 (high).").optional(),
|
|
15
|
+
unique_id: z.string().describe("Arbitrary unique identifier across your account. Use this to prevent duplicate task creation.").optional(),
|
|
16
|
+
attachments: z.array(z.string()).describe("URLs to Frame objects you'd like to be labeled. Each URL should point to a valid frame data file."),
|
|
17
|
+
instruction: z.string().describe("Markdown-enabled task instructions with examples to guide annotators.").optional(),
|
|
18
|
+
callback_url: z.string().describe("Full URL (http:// or https://) for task completion notification. Scale will send a POST request to this URL when the task is completed.").optional(),
|
|
19
|
+
attachment_type: z.enum(["json", "protobuf"]).describe("File format of the attachments. Must be either 'json' or 'protobuf'."),
|
|
20
|
+
annotation_attributes: z.object({}).describe("Additional attributes to capture per annotation. Define custom attributes for the annotation process.").optional(),
|
|
21
|
+
clear_unique_id_on_error: z.boolean().describe("Reset unique_id if task errors. Set to true to allow resubmission of failed tasks with the same unique_id.").optional()
|
|
22
|
+
}).describe("Request model for creating a LiDAR segmentation task.");
|
|
23
|
+
const ScaleAiCreateLidarSegmentationTask_TaskParamsSchema = z.object({
|
|
24
|
+
tags: z.array(z.string()).describe("Task tags.").nullable().optional(),
|
|
25
|
+
labels: z.array(z.string()).describe("Object classes for semantic annotation."),
|
|
26
|
+
metadata: z.object({}).describe("Task metadata.").nullable().optional(),
|
|
27
|
+
attachments: z.array(z.string()).describe("URLs to Frame objects being labeled."),
|
|
28
|
+
instruction: z.string().describe("Task instructions.").nullable().optional(),
|
|
29
|
+
attachment_type: z.string().describe("File format of the attachments."),
|
|
30
|
+
annotation_attributes: z.object({}).describe("Additional annotation attributes.").nullable().optional()
|
|
31
|
+
}).describe("Task parameters containing the submitted request parameters.");
|
|
32
|
+
const scaleAiCreateLidarSegmentationTask = action("SCALE_AI_CREATE_LIDAR_SEGMENTATION_TASK", {
|
|
33
|
+
slug: "scale_ai-create-lidar-segmentation-task",
|
|
34
|
+
name: "Create LiDAR Segmentation Task",
|
|
35
|
+
description: "Tool to create a LiDAR segmentation task where annotators assign semantic class labels to individual LiDAR points. Use when you need to annotate point cloud data with object classes such as vehicles, pedestrians, roads, buildings, etc. Either 'project' or 'batch' must be provided in the request.",
|
|
36
|
+
input: ScaleAiCreateLidarSegmentationTaskInput,
|
|
37
|
+
output: z.object({
|
|
38
|
+
type: z.string().describe("Task type, will be 'lidarsegmentation'."),
|
|
39
|
+
params: ScaleAiCreateLidarSegmentationTask_TaskParamsSchema.nullable().optional(),
|
|
40
|
+
status: z.string().describe("Task status such as 'pending', 'completed', 'error', etc."),
|
|
41
|
+
is_test: z.boolean().describe("Whether task is a test task.").nullable().optional(),
|
|
42
|
+
task_id: z.string().describe("Unique task identifier."),
|
|
43
|
+
created_at: z.string().describe("Task creation timestamp in ISO 8601 format."),
|
|
44
|
+
instruction: z.string().describe("Task instruction text.").nullable().optional(),
|
|
45
|
+
callback_url: z.string().describe("Callback URL for task completion notification.").nullable().optional()
|
|
46
|
+
}).describe("Response model for a created LiDAR segmentation task.")
|
|
47
|
+
});
|
|
48
|
+
//#endregion
|
|
49
|
+
export { scaleAiCreateLidarSegmentationTask };
|
|
50
|
+
|
|
51
|
+
//# sourceMappingURL=create-lidar-segmentation-task.mjs.map
|