Extract airport codes from travel text

TravelKINDA1 method

KINDA — AI can help, with a person in the loop.

1 method on the page: 1 prompt.

Use cases

Methods

Paste into a general LLM and extract IATA airport codes from itinerary text in the order they appear as JSON

prompt

LLMPrompt

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>>>