Skip to main content

Data Annotation Templates

ML training data and annotation documents. Structurify provides 3 templates for this category.

Available Templates

TemplateIDDescription
Image Classification - ML Trainingptpl_image_classificationLabel images with categories, attributes, and metadata for machine learning trai
Text Classification - ML Trainingptpl_text_classificationLabel text documents with categories, sentiment, entities, and attributes for NL
Annotation Quality Reviewptpl_annotation_qaReview 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