home/lifestyle/preference-extractor

Preference Extractor

GPTClaudeGemini··1,214 copies·updated 2026-07-14
preference-extractor.prompt
Analyze this travel request and extract preferences. Output STRICT JSON only — no prose, no code fences, no extra fields.

Text:
"{text}"

Return exactly this JSON schema (use null when unclear; all strings lowercase):
{
  "travelStyle": "family|romantic|adventure|cultural|business|budget|luxury|null",
  "budgetLevel": "low|mid|high|null",
  "activityType": "museums|nature|nightlife|shopping|food|history|null",
  "groupType": "solo|couple|family|friends|business|null",
  "theme": "coastal|mountain|city|island|any",
  "confidence": 0.00-1.00
}

Guidance:
- Map obvious phrases to theme (soft):
  - coastal: coast|coastal|beach|seaside|island|oceanfront
  - mountain: mountain|alps|himalaya|peaks|hiking trip
  - city: city break|urban|metropolis
  - island: island hopping|islands
- If no theme is implied, set theme="any".
- Round confidence to 2 decimals. Confidence reflects overall extraction certainty.

fill the variables

This prompt has 1 variable. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.

{text}
Unlock with Pro →

when to use it

Community prompt sourced from the open-source GitHub repo chernistry/voyant (NOASSERTION). A "Preference 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

lifestylecommunitygeneral

source

chernistry/voyant · NOASSERTION