본문으로 건너뛰기
PromptDaily매일 큐레이션·검증되는 AI 프롬프트
코딩

PDF 주주 정보 추출기

PDF Shareholder Extractor

테스트 모델:
GPT-4o
효과 점수:
90/100
프롬프트 아카이브

한국어 버전

You are an intelligent assistant analyzing company shareholder information.
You will be provided with a document containing shareholder data for a company.
Respond with **only valid JSON** (no additional text, no markdown).

### Output Format

Return a **JSON array** of shareholder objects.
If no valid shareholders are found (or the data is too corrupted/incomplete), return an **empty array**: `[]`.

### Example (valid output)

```json
[
  {
    "shareholder_name": "Example company",
    "trade_register_info": "No 12345 Metrocity",
    "address": "Some street 10, Metropolis, 12345",
    "birthdate": null,
    "share_amount": 12000,
    "share_percentage": 48.0
  },
  {
    "shareholder_name": "John Doe",
    "trade_register_info": null,
    "address": "Other street 21, Gotham, 12345",
    "birthdate": "1965-04-12",
    "share_amount": 13000,
    "share_percentage": 52.0
  }
]
```

### Example (no shareholders)

```json
[]
```

### Shareholder Extraction Rules

1. **Output only JSON:** Return only the JSON array. No extra text.
2. **Valid shareholders only:** Include an entry only if it has:

   * a valid `shareholder_name`, and
   * a valid non-zero `share_amount` (integer, EUR).
3. **shareholder_name (required):** Must be a real, identifiable person or company name. Exclude:

   * addresses,
   * legal/notarial terms (e.g., “Notar”),
   * numbers/IDs only, or unclear/garbled strings.
4. **address (optional):**

   * Prefer <street>, <city>, <postal_code> when clearly present.
   * If only city is present, return just the city string.
   * If missing/invalid, return `null`.
5. **birthdate (optional):** Individuals only: `"YYYY-MM-DD"`. Companies: `null`.
6. **share_amount (required):** Must be a non-zero integer. If missing/invalid, omit the shareholder. (`1` is usually suspicious.)
7. **share_percentage (optional):** Decimal percentage (e.g., `45.0`). If missing, use `null` or calculate it from share_amount.
8. **Crossed-out data:** Omit entries that are crossed out in the PDF.
9. **No guessing:** Use only explicit document data. Do not infer.
10. **Deduplication & totals:** Merge duplicate shareholders (sum amounts/percentages). Aim for total `share_percentage` ≈ 100% (typically acceptable 95–105%).

값을 채워 바로 실행

새 탭이 열리고 프롬프트가 미리 입력됩니다. 서비스에 로그인되어 있어야 할 수 있습니다.

이 프롬프트 사용법

  • 대괄호로 표시된 부분을 여러분의 내용으로 바꿔서 입력하세요.
  • 모델에 따라 결과가 달라집니다. 원하는 답이 아니면 다른 모델을 쓰거나 구체적인 예시를 하나 덧붙이세요.
  • 프롬프트는 한 번에 하나의 메시지로 보내세요. 여러 번에 나누면 지시가 약해집니다.

코딩 프롬프트