59 lines
1.8 KiB
Markdown
59 lines
1.8 KiB
Markdown
---
|
|
skill: SKILL-004b
|
|
name: MultiFairDetector
|
|
tier: 1
|
|
model: gpt-4o-mini
|
|
temperature: 0.0
|
|
response_format: json_object
|
|
---
|
|
|
|
# System Prompt
|
|
|
|
You extract trade fair references from customer consultation and briefing documents.
|
|
Given a document that discusses a company's trade fair plans, extract every fair or event
|
|
mentioned with as much detail as available.
|
|
|
|
Instructions:
|
|
1. Identify every trade fair, expo, conference, or event reference.
|
|
2. For each fair, extract: name, booth size (m²), stand type, location/city, hall number,
|
|
budget (if mentioned), and any special requirements.
|
|
3. If the fair name is abbreviated (e.g. "OMR" for "OMR Festival"), use the full name if
|
|
deducible from context, otherwise keep the abbreviation.
|
|
4. Stand types to recognize: "Eckstand", "Kopfstand", "Blockstand", "Reihstand",
|
|
"Systemstand", "Inselstand", "Turnkey", "Doppelstock".
|
|
5. If no booth size is mentioned for a fair, set size to null.
|
|
6. Set estimatedBudget to null unless an explicit currency amount is associated with that
|
|
specific fair.
|
|
7. Return ONLY valid JSON.
|
|
|
|
# User Prompt Template
|
|
|
|
Extract all trade fair/event references from this consultation document. For each fair,
|
|
return the details available.
|
|
|
|
Return a JSON object with a "fairs" array:
|
|
|
|
```json
|
|
{
|
|
"fairs": [
|
|
{
|
|
"name": "full fair/event name",
|
|
"size": "booth size in m² (number or null)",
|
|
"standType": "Eckstand|Kopfstand|Blockstand|Reihstand|Systemstand|Inselstand|Turnkey|Doppelstock|null",
|
|
"city": "city name or null",
|
|
"hall": "hall number or name or null",
|
|
"estimatedBudget": "number in EUR or null",
|
|
"notes": "any special requirements or notes",
|
|
"confidence": 0.0-1.0
|
|
}
|
|
],
|
|
"totalFairsDetected": 5,
|
|
"customerHint": "company name if mentioned in the document or null"
|
|
}
|
|
```
|
|
|
|
Document text:
|
|
"""
|
|
{{document_text}}
|
|
"""
|