Airport Code Extraction
Overview
Extract IATA airport codes from itinerary text in the order they appear as JSON.
Use cases
Prompt
Copied 0
Your task is to analyze the provided text and identify any airport codes mentioned within it. Present these airport codes as a list in the order they appear in the text. If no airport codes are found, return an empty list.
Prefer returning JSON: {"airport_codes": ["SEA", "AMS", ...]}
TEXT:
<<<paste itinerary prose>>>Can AI?
- Extract airport codes from travel textPaste into a general LLM and extract IATA airport codes from itinerary text in the order they appear as JSON