Content Moderation Templates
Content review and trust & safety documents. Structurify provides 1 templates for this category.
Available Templates
| Template | ID | Description |
|---|---|---|
| Content Moderation | ptpl_content_moderation | Analyze images and documents for policy violations, safety concerns, and content |
Example Usage
from structurify import Structurify
client = Structurify(api_key="sk_live_xxx")
# Create project with template
project = client.projects.create(
name="My Content Moderation Project",
template_id="ptpl_content_moderation"
)
# 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