Skip to content

Pure Display

Add read-only display blocks to Potato annotation interfaces — formatted text, instructions, dividers, and contextual guidance that annotators cannot edit or interact with.

The pure_display type shows content to annotators without collecting any annotation. Use it for section headers, inline instructions, or formatted guidance between annotation fields.

Instruction text above a sentiment question and a usefulness rating, with no input field for the instructionA pure_display block adds text between questions

Basic Configuration

yaml
annotation_schemes:
  - name: "instructions_header"
    description: "Please read the text carefully and answer the following questions."
    annotation_type: "pure_display"

Configuration Options

FieldTypeRequiredDescription
namestringYesUnique identifier (not used in output)
descriptionstringYesHeading text of the block
annotation_typestringYesMust be "pure_display"
labelsarray of stringsNoLines of body text shown under the heading, one line per entry
allow_htmlbooleanNoRender basic HTML such as <b>, <em>, and <ul> in description and labels (default: false)

Potato does not render Markdown in a display block. Without allow_html, text such as **bold** appears exactly as typed. With allow_html: true, Potato sanitizes the HTML and removes scripts and other unsafe elements.

Examples

Section Header

yaml
annotation_schemes:
  # Instructions section
  - name: "instructions"
    description: "Instructions"
    annotation_type: "pure_display"
    labels:
      - "Read the text below and answer the questions that follow."
 
  # First annotation task
  - name: "sentiment"
    description: "What is the overall sentiment?"
    annotation_type: "radio"
    labels:
      - "Positive"
      - "Negative"
      - "Neutral"

Divider Between Sections

yaml
annotation_schemes:
  - name: "classification"
    description: "Classify the document type"
    annotation_type: "radio"
    labels:
      - "News"
      - "Opinion"
      - "Analysis"
 
  # Visual divider
  - name: "divider"
    description: "Quality Assessment"
    annotation_type: "pure_display"
    labels:
      - "Now evaluate the quality of the content."
 
  - name: "quality"
    description: "Rate the writing quality"
    annotation_type: "likert"
    size: 5
    min_label: "Poor"
    max_label: "Excellent"

Conditional Instructions

yaml
annotation_schemes:
  - name: "contains_pii"
    description: "Does this text contain personal information?"
    annotation_type: "radio"
    labels:
      - "Yes"
      - "No"
 
  # Shown only after the annotator answers "Yes"
  - name: "pii_instructions"
    description: "<b>You selected Yes above.</b> Please identify all personal information in the next section."
    annotation_type: "pure_display"
    allow_html: true
    display_logic:
      show_when:
        - schema: "contains_pii"
          operator: "equals"
          value: "Yes"
 
  - name: "pii_types"
    description: "What types of PII are present?"
    annotation_type: "multiselect"
    labels:
      - "Name"
      - "Email"
      - "Phone"
      - "Address"
      - "SSN"
    display_logic:
      show_when:
        - schema: "contains_pii"
          operator: "equals"
          value: "Yes"

Guidelines Reminder

yaml
annotation_schemes:
  - name: "reminder"
    description: "Remember:"
    annotation_type: "pure_display"
    labels:
      - "Focus on the main claim, not supporting details."
      - "Consider the author's intent."
      - "When in doubt, select Unclear."
 
  - name: "stance"
    description: "What is the author's stance on the topic?"
    annotation_type: "radio"
    labels:
      - "Support"
      - "Oppose"
      - "Neutral"
      - "Unclear"

Output Format

Pure display annotations are not included in the output since they don't collect any data.

Use Cases

  • Section headers - Organize complex annotation tasks
  • Instructions - Provide context-specific guidance
  • Warnings - Highlight important considerations
  • Dividers - Visually separate different annotation sections
  • Examples - Show example annotations inline
  • Guidelines - Remind annotators of key criteria

Best Practices

  1. Keep it concise - Long blocks of text can slow down annotation
  2. Use formatting - Bold text and lists improve readability, and need allow_html: true with HTML tags
  3. Strategic placement - Put instructions immediately before relevant questions
  4. Don't overuse - Too many display blocks clutters the interface