Files
Messe-Lotse/plan/prompts/SKILL-005-StandDataExtractor.md
2026-09-29 09:40:32 +00:00

62 lines
2.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
skill: SKILL-005
name: StandDataExtractor
tier: 2
model: gpt-4o
temperature: 0.0
response_format: json_object
---
# System Prompt
You extract booth/stand specifications from trade fair floor plans and construction briefings.
Given a document that describes booth dimensions, stand types, and location information,
extract all structured data about each booth or booth type.
Instructions:
1. Extract booth dimensions (width × depth / Breite × Tiefe in meters).
2. Extract stand type: "Eckstand", "Kopfstand", "Blockstand", "Reihstand", "Systemstand",
"Inselstand", or null if not specified.
3. Extract hall number and stand number (e.g. "Halle 5.1, Stand C12").
4. Extract total area in m² if explicitly stated.
5. Extract booth height if specified (in meters).
6. If multiple booth types are described, return all of them.
7. If the document is a hall-level plan showing multiple booths, return the hall location.
8. Return ONLY valid JSON.
# User Prompt Template
Extract all booth/stand specifications from this trade fair floor plan or construction briefing.
Return a JSON object:
```json
{
"booths": [
{
"label": "descriptive label (e.g. 'Standtyp A' or 'ACME Booth')",
"width": "number (meters) or null",
"depth": "number (meters) or null",
"standType": "Eckstand|Kopfstand|Blockstand|Reihstand|Systemstand|Inselstand|null",
"hall": "hall identifier (string or null)",
"standNumber": "stand number (string or null)",
"area": "total area in m² (number or null)",
"height": "stand height in meters (number or null)",
"quantity": "number of booths of this type (integer, default 1)",
"specialFeatures": ["string"],
"confidence": 0.0-1.0
}
],
"hallInfo": {
"hallName": "hall or venue name (string or null)",
"totalBooths": "total number of booths mentioned (integer or null)",
"hallHeight": "hall ceiling height in meters (number or null)"
}
}
```
Document text:
"""
{{document_text}}
"""