Data Annotation Templates
ML training data and annotation documents. Structurify provides 3 templates for this category.
Available Templates
| Template | ID | Description |
|---|---|---|
| Image Classification - ML Training | ptpl_image_classification | Label images with categories, attributes, and metadata for machine learning trai |
| Text Classification - ML Training | ptpl_text_classification | Label text documents with categories, sentiment, entities, and attributes for NL |
| Annotation Quality Review | ptpl_annotation_qa | Review and validate existing annotations for quality assurance and inter-annotat |
Example Usage
from structurify import Structurify
client = Structurify(api_key="sk_live_xxx")
# Create project with template
project = client.projects.create(
name="My Data Annotation Project",
template_id="ptpl_image_classification"
)
# Upload and extract
doc = client.documents.upload(
project_id=project["id"],
file_path="document.pdf"
)
job = client.extraction.run(project_id=project["id"])
result = client.extraction.wait_for_completion(job["id"])
Try It
- Run in Google Colab - Interactive notebooks
- CodeSandbox Examples - Node.js examples