The Pdf
tag displays a PDF document for labeling. Use for performing document-level annotations, transcription, and summarization.
Use with the following data types: PDF.
Parameters
Param | Type | Default | Description |
---|---|---|---|
name | string |
Name of the element | |
value | string |
Value of the element - field name to retrieve the PDF URL from |
Supported Control tags
Document-level annotations are supported with Pdf tag, for example:
- Document classification with Choices
- Document rating with Rating
- Transcription and summarization with TextArea
Example
Labeling configuration to label PDF documents:
<View>
<Pdf name="pdf" value="$pdf" />
<Choices name="choices" toName="pdf">
<Choice value="Legal" />
<Choice value="Financial" />
<Choice value="Technical" />
</Choices>
</View>
Example Input data:
{
"pdf": "https://app.humansignal.com/static/samples/sample.pdf"
}