A location-aware prompt should not turn a free-text address into a route stop without validation. The application supplies candidate matches with address components, service area, match quality, and stable place identity. The prompt can compare candidates and ask a focused question, but a partial match or a nearby street is not the requested destination. Preserve the original address text next to the chosen candidate for review. A person's name or business label does not prove which entrance a vehicle can use. If the result is ambiguous, mark the stop unresolved and exclude it from a supposedly final route until a trusted user or authoritative record selects it.
Location prompts: resolve ambiguous addresses before routing
Operational case
A fictional Quartz Field Service ticket lists '47 Harbor Lane, North Pier' for job J-47. The lookup returns two candidates: a full street-address match in North Pier and a partial match for Harbor Road in another district. The dispatcher selects the first candidate after checking the ticket's depot and entrance note. A different ticket says only 'Harbor Lane' and produces three plausible results; the assistant asks for a street number instead of choosing the nearest one. It keeps job IDs separate from map labels so a similar-looking address cannot silently become another customer's stop.
J-47 text: 47 Harbor Lane, North Pier.
Candidate P-47: full street match, correct service area.
Candidate P-71: partial street match, wrong district.
Decision: use P-47 after dispatcher review.
Unnumbered Harbor Lane ticket: unresolved, no final route.Performance and operating cost
Checking C candidates per stop across S stops is O(SC) comparison work, usually small beside route computation. An extra clarification can delay dispatch, but routing to the wrong street can consume a whole service window. Keep candidate payloads narrow: the address components, match quality, and access point needed for the task. Do not copy unrelated place metadata or private customer notes into the prompt merely because a geocoder returned them.
Common Mistakes
- Do not treat a partial address match as verified destination identity.
- Do not choose the nearest candidate merely because it is first.
- Do not merge two jobs because their map labels look similar.
Connected lessons
- Prompt engineering applications
- Prompt Engineering
- Browser target grounding: choose a unique control in the current state
- Clarification gates: ask only when a missing fact changes the outcome
- Dataset intake prompts: define a column before analyzing it
- Location prompts: validate coordinates, units, and precision
- Location prompts: label travel estimates and stale matrices
- Location prompts: compute stop-window feasibility before recommending
- Location prompts: review the map and gate dispatch effects
- Project: review a Quartz field-service route
- Location-aware prompt decisions
