본문으로 건너뛰기

순수 표시

Potato 어노테이션 인터페이스에 읽기 전용 표시 블록을 추가합니다 — 어노테이터가 편집하거나 상호작용할 수 없는 서식 있는 텍스트, 지침, 구분선, 맥락 안내입니다.

pure_display 유형은 어노테이션을 수집하지 않고 어노테이터에게 콘텐츠를 보여 줍니다. 섹션 머리글, 인라인 지침, 어노테이션 필드 사이의 서식 있는 안내에 사용하세요.

지침 입력 필드 없이, 감성 질문과 유용성 평가 위에 지침 텍스트가 놓인 모습pure_display 블록은 질문 사이에 텍스트를 추가합니다

기본 구성

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

구성 옵션

필드유형필수설명
namestring예고유 식별자(출력에는 사용되지 않음)
descriptionstring예블록의 제목 텍스트
annotation_typestring예반드시 "pure_display"여야 함
labelsarray of strings아니요제목 아래에 표시되는 본문 텍스트 줄이며, 항목 하나가 한 줄
allow_htmlboolean아니요description과 labels에서 <b>, <em>, <ul> 같은 기본 HTML을 렌더링(기본값: false)

Potato는 표시 블록에서 마크다운을 렌더링하지 않습니다. allow_html이 없으면 **bold** 같은 텍스트가 입력한 그대로 나타납니다. allow_html: true이면 Potato가 HTML을 정제하고 스크립트와 그 밖의 안전하지 않은 요소를 제거합니다.

예시

섹션 머리글

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"

섹션 사이 구분선

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"

조건부 지침

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"

가이드라인 알림

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"

출력 형식

순수 표시 어노테이션은 데이터를 수집하지 않으므로 출력에 포함되지 않습니다.

사용 사례

  • 섹션 머리글 - 복잡한 어노테이션 작업을 정리합니다
  • 지침 - 맥락에 맞는 안내를 제공합니다
  • 경고 - 중요한 고려 사항을 강조합니다
  • 구분선 - 서로 다른 어노테이션 섹션을 시각적으로 분리합니다
  • 예시 - 예시 어노테이션을 인라인으로 보여 줍니다
  • 가이드라인 - 핵심 기준을 어노테이터에게 상기시킵니다

모범 사례

  1. 간결하게 작성하세요 - 긴 텍스트 블록은 어노테이션 속도를 늦출 수 있습니다
  2. 서식을 사용하세요 - 굵은 글씨와 목록은 가독성을 높이며, allow_html: true와 HTML 태그가 필요합니다
  3. 전략적으로 배치하세요 - 관련 질문 바로 앞에 지침을 두세요
  4. 남용하지 마세요 - 표시 블록이 너무 많으면 인터페이스가 복잡해집니다