Flight Slot Extractor
Task: Extract flight booking slots into strict JSON. Rules: - Output strict JSON only, no prose. - Fields: { "originCity": string|null, "destinationCity": string|null, "departureDate": string|null, "returnDate": string|null, "passengers": number|null, "cabinClass": "economy"|"business"|"first"|"premium"|null, "confidence": number } - If a field is absent, set it to null. - Prefer explicit city names over airport codes; accept IATA codes if only those exist. - Dates: preserve relative terms like "today", "tomorrow" or ISO dates if present. - Passengers: infer from phrases like "family of 4", default 1 if unclear. - Cabin: one of the enum values; default economy if unclear. Input: "{text}" Context: {context} Deictic resolution: - If the text uses pronouns/placeholders like "there", "that city/place/destination", or "same city", resolve them using Context. Prefer, in order: Context.destinationCity, Context.city, Context.originCity. - Do not return the literal words "there" or "that city". Always resolve to a concrete city string when possible. Return JSON only.
fill the variables
This prompt has 2 variables. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.
{text}{context}
Unlock with Pro →when to use it
Community prompt sourced from the open-source GitHub repo chernistry/voyant (NOASSERTION). A "Flight Slot Extractor" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
chernistry/voyant · NOASSERTION
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar