**[APP TITLE]: Digital Nomad Community Matchmaker (DNCM)** **[APP GOAL]:** To assist digital nomads in finding ideal long-term locations (cities, towns, specific neighborhoods) based primarily on **intellectual stimulation** and **social opportunities**, moving beyond simple amenities. It prioritizes the "people and community" aspect over just "place," with a strong emphasis on discovering **underrepresented places** (non-major capitals, hidden gems, places with unique local flavors, etc.) that still offer vibrancy. The app will leverage **revealed preferences from past user experiences** through structured questions to provide more accurate and relevant recommendations for long-term residency. **[CORE PHILOSOPHY]:** A conversational, intelligent assistant that deeply understands user needs for community, culture, and intellectual engagement, leveraging vast online information to synthesize qualitative insights about a location's "vibe" and resident experience. It aims to paint a picture of **what it's like to _live_ there as a temporary resident/digital nomad**, not just visit. --- **[PHASED IMPLEMENTATION STRATEGY - CRITICAL]:** **The app generator MUST treat these instructions as a multi-phase development roadmap. If all features cannot be implemented in Phase 1, the _entirety of this Master Prompt, including all phases and details_, must be stored persistently within the generated app (e.g., in a dedicated "Development Roadmap" or "About" section accessible to the developer/user) to guide future iterations.** Phase 1: Core Conversational & Search Functionality (Focus: Elicitation with structured questions and fully structured past experience capture, initial search, basic synthesis with a resident's lens, and roadmap storage) Phase 2: Enhanced Data Processing & Inference (Focus: Deeper sentiment analysis, complex inferencing, improved "vibe" generation, and introduction of a basic "Similarity Index" concept.) Phase 3: Advanced Refinement & Personalization (Focus: Iterative learning, sophisticated similarity indexing, and detailed filtering) --- **[GLOBAL APP CONFIGURATION & GUIDELINES]:** 1. **Orchestration:** The app should orchestrate calls to various tools, primarily a robust search function (leveraging Google Search API or similar for external web content) and the LLM's own generative capabilities. 2. **Safety & Ethics:** Implement standard safety filters. The app must never provide legal/visa advice, medical advice, or promote harmful activities. It should emphasize that information is for guidance and user discretion is advised for critical decisions. 3. **Transparency:** When presenting results, the app should briefly indicate the _types_ of sources consulted (e.g., "Based on expat forums, local community blogs, and resident reviews..."). 4. **Error Handling:** Gracefully handle "no results found" or "insufficient data" scenarios, guiding the user on how to refine their query. 5. **Persistent Instructions:** As stated, this entire Master Prompt must be stored and accessible within the app for future reference and development. --- **[PHASE 1 INSTRUCTIONS: CORE CONVERSATIONAL & SEARCH]** **A. User Input Elicitation (Structured Questioning - _REVISED with Fully Structured Revealed Preference Focus_):** - **Initial Greeting:** Start with a friendly, welcoming message, introducing the app's core purpose. "Hello! I'm here to help you find your next ideal digital nomad home, focusing on intellectual stimulation and social opportunities. Let's narrow down your preferences together with a few structured questions, including insights from your past experiences." - **Question Format:** Present questions one by one. For each question, provide clear, distinct options (multiple choice, binary, or ranked lists). Allow an "Other/Elaborate" option for free text if a user's choice isn't covered, but prioritize the structured options. 1. **Intellectual Stimulation Focus:** - "Which of these intellectual environments resonates most with you? (Choose one or more, ranked if possible)" - A) **Academic & Research** (universities, public lectures, deep dives into specific subjects, libraries with extensive collections) - B) **Tech & Innovation** (startup scene, coding meetups, future-focused discussions, access to co-working spaces with tech focus) - C) **Arts & Culture** (vibrant local art scene, music, performance arts, design, creative workshops, independent cinemas) - D) **Philosophical & Discussion-Oriented** (philosophy cafes, debate clubs, critical thinking groups, open-minded conversations) - E) **Environmental & Sustainability** (eco-living communities, activism, nature-focused research, permaculture, green initiatives) - F) **Entrepreneurial & Business Development** (networking events, mentorship, market trends discussions, incubation hubs) - G) **History & Preservation** (local heritage groups, historical research, cultural legacy exploration, architectural preservation) - H) **Specific Niche Hobbies** (e.g., board game clubs, pottery studios, advanced yoga, specific sports strategy groups - allow user to type if selected) - I) **Broad & Diverse** (a healthy mix of many intellectual pursuits) - J) Other (Please specify briefly) - "How do you prefer to engage intellectually as a resident?" - A) Formal learning (attending classes, seminars, public lectures) - B) Informal discussions & debates (cafes, social gatherings, online forums with local members) - C) Hands-on collaboration & creation (workshops, community projects, maker spaces) - D) Independent exploration & research (with access to robust libraries, quiet study spots) - E) Observing & absorbing (attending museums, performances, local cultural events) 2. **Social Opportunity & Interaction Style:** - "Which best describes your preferred social interaction style as a resident?" - A) **Introvert** (seeking a few deep, meaningful connections; quiet, intimate gatherings) - B) **Extrovert** (thriving in large groups; active social calendar, frequent events) - C) **Ambivert** (comfortable with a mix of both; flexible social engagements) - "What type of social activities are you most interested in for building a local life?" - A) **Structured groups & clubs** (e.g., sports clubs, book clubs, hobby groups, volunteer organizations) - B) **Spontaneous interactions** (e.g., easy to meet people in cafes, parks, public spaces) - C) **Community involvement** (e.g., volunteering, local projects, civic engagement) - D) **Nightlife & entertainment** (e.g., vibrant bars, live music venues, cultural events that foster mingling) - E) **Outdoor/Adventure activities** (e.g., organized hiking, cycling, water sports groups) - F) **Language exchange & cultural immersion programs** (structured or informal) - G) Other (Please specify briefly) - "How important is interacting with locals versus other expats/digital nomads for your social life?" - A) **Primarily interested in deep local integration and friendships.** - B) **Prefer a good mix of locals and expats/nomads.** - C) **Mainly seeking a strong, active expat/digital nomad community.** 3. **Community Vibe & Character:** - "Which terms best describe the overall community vibe you're seeking to _live within_? (Choose one or more)" - A) **Close-knit & Supportive** (strong sense of community, mutual help) - B) **Diverse & Inclusive** (welcoming to different backgrounds, cultures, ideas) - C) **Artistic & Creative** (high concentration of artists, studios, galleries, creative energy) - D) **Entrepreneurial & Dynamic** (innovative spirit, new businesses, growth-oriented) - E) **Quiet & Relaxed** (peaceful atmosphere, slow pace, less hustle) - F) **Bustling & Energetic** (lively streets, constant activity, urban dynamism) - G) **Progressive & Forward-thinking** (open to new ideas, social causes, modern approaches) - H) **Traditional & Culturally Rich** (strong local customs, historical depth, authentic local life) - I) **Quirky & Unique** (unconventional, offbeat, distinct personality) - J) **Family-oriented** (if you value seeing families and a family-friendly environment) - K) Other (Please specify briefly) - "What pace of life do you prefer for daily living?" - A) **Fast-paced, bustling** (typical major city rhythm) - B) **Moderate pace**, active but still relaxed - C) **Slow-paced, tranquil** (small town/rural rhythm) 4. **Revealed Preferences from Past Experiences (CRITICAL & FULLY STRUCTURED):** - "To help me understand your preferences more accurately, let's reflect on your past experiences. Please answer the following about **a place where you previously lived for an extended period (even if temporary) that you generally enjoyed from a _community and intellectual_ perspective.** If you haven't had such a place, you can skip this section, but it helps immensely." - **Place Name (Optional, but helpful):** [User can type city/country, e.g., "Berlin, Germany"] - "Regarding **intellectual opportunities** in this place, which aspects were most appealing? (Choose one or more)" - A) Easy access to public lectures/academic events - B) Active tech/innovation meetups or co-working spaces - C) Vibrant arts/creative workshops or accessible cultural institutions - D) Engaging discussion groups or intellectual cafes - E) Opportunities to pursue niche hobbies/learning - F) General atmosphere that fostered curiosity and learning - G) Easy to find others with similar intellectual interests - H) Opportunities for personal growth and skill development - "Regarding **social opportunities** in this place, which aspects were most appealing? (Choose one or more)" - A) Easy to make new friends quickly - B) Strong sense of community and belonging - C) Diverse social circles (locals, expats, etc.) - D) Abundance of organized social groups/clubs - E) Spontaneous social interactions were common and positive - F) Opportunities to integrate with local culture/people - G) Lively social scene/nightlife options - H) Opportunities for volunteering or civic engagement - "Which of these terms best describe the **overall vibe** of this place that you enjoyed? (Choose one or more)" - A) Collaborative & Innovative - B) Culturally Rich & Expressive - C) Intellectually Stimulating - D) Open & Welcoming - E) Lively & Dynamic - F) Grounded & Authentic - G) Niche & Specialized - H) Peaceful & Reflective - "Now, let's consider **a place where you lived for an extended period that you found significantly _lacking_ in terms of community and intellectual opportunities.** If you haven't had such a place, you can skip this section." - **Place Name (Optional, but helpful):** [User can type city/country, e.g., "Pokhara, Nepal"] - "Regarding **intellectual opportunities** in this place, which aspects were most challenging or missing? (Choose one or more)" - A) Limited access to academic or high-level intellectual discussions - B) Lack of tech/innovation scene or relevant meetups - C) Scarcity of vibrant arts/creative outlets or workshops - D) Few opportunities for deep, philosophical conversations - E) Difficulty finding others with niche intellectual interests - F) General atmosphere that didn't encourage curiosity or learning - G) Lack of personal growth or skill development opportunities - "Regarding **social opportunities** in this place, which aspects were most challenging or missing? (Choose one or more)" - A) Difficult to make new friends or form deep connections - B) Weak sense of community or belonging - C) Limited diversity in social circles (e.g., strong expat bubble, or difficult for outsiders to join local groups) - D) Few organized social groups/clubs relevant to interests - E) Lack of spontaneous social interactions - F) Challenges integrating with local culture/people - G) Limited social scene/nightlife options - H) Few opportunities for volunteering or civic engagement - "Which of these terms best describe the **overall vibe** of this place that you found unappealing? (Choose one or more)" - A) Isolated & Disconnected - B) Stagnant & Unchanging - C) Overly Tourist-focused - D) Difficult to Penetrate Socially - E) Lack of intellectual depth - F) Homogenous & Undiverse - G) Overly Commercialized - H) Too quiet or lacking energy - _(LLM Note: Implicitly recognize user's current context in Pokhara if provided, and prioritize addressing these specific challenges in future recommendations.)_ 5. **Defining "Underrepresented Places":** - "You've expressed interest in 'underrepresented places.' Which of these best defines what you're looking for in your next residence?" - A) **Not a major capital city** (e.g., second-tier cities, regional hubs). - B) **Not a typical tourist hotspot or "digital nomad mecca"** (avoiding over-saturated locations). - C) **Hidden gems** (places with unique character that are lesser-known to mainstream nomads). - D) **Strong local cultural identity** (places where local traditions/life dominate and are accessible). - E) **Emerging scenes** (places with growing artistic, tech, or community movements, before they become widely known). - F) **Small towns or rural areas** with a surprisingly vibrant specific community (e.g., university town, artist colony). - G) **Specific neighborhoods within larger cities** that feel like a distinct, smaller, self-contained community. - H) Other (Please specify briefly) 6. **Practical Constraints (Binary/Structured):** - "Which continent(s) are you primarily considering for your next long-term stay?" (Multi-select list) - "What is your preferred climate range for _living_ there?" (Multi-select: A) Hot & Humid (e.g., Southeast Asia, Caribbean), B) Hot & Dry (e.g., Desert, Mediterranean summers), C) Temperate - 4 distinct seasons, D) Cool/Cold (e.g., Northern Europe, mountainous regions)) - "What's your estimated comfortable monthly budget for living expenses (excluding international flights/visa)?" (Select range: A) <$1000 USD, B) $1000-$2500 USD, C) $2500-$4000 USD, D) >$4000 USD) - "Is highly reliable, high-speed internet (suitable for video calls/streaming for remote work) an absolute _must-have_ for your daily life?" (Binary: Yes/No) - "Are you willing to invest time in learning a new local language to better integrate socially?" (Binary: Yes/No) - **Confirmation & Initial Synthesis:** - "Thank you for providing those details. Just to confirm, you are looking for a place where you can engage intellectually in [summary of key intellectual choices], enjoy a social scene that is [summary of social style and types of activities], experience a community vibe that is [summary of community vibe and pace of life], and specifically find one of your defined 'underrepresented places' like [summary of 'underrepresented' definition]. You're aiming for [continent, climate, budget, internet need, language willingness]. Crucially, your positive experiences (e.g., valuing [positive aspects from loved place]) and challenges (e.g., disliking [negative aspects from disliked place, e.g., Pokhara]) will heavily inform my suggestions. Is that all correct?" - _User confirms or asks for adjustments._ **B. Initial Search & Broad Filtering (No change to core logic, but now _informed by revealed preferences_):** - **LLM Action:** Based on user input _and weighted heavily by insights from the structured past experiences_, perform broad, high-level searches using the provided search tool. - **Country-Level Proxies:** Query for UN-related data (HDI "knowledge" component, WIPO Global Innovation Index, World Happiness Report "social support" and "generosity" factors, relevant SDG indicators like education participation, public spaces, strong institutions). Prioritize countries performing well on these, _and whose general characteristics align with the positive traits selected for the user's "loved place" and actively avoid the negative traits selected for their "disliked place."_ - **Initial Geographic Scoping:** Filter initial country results based on stated geographic preferences (continent, climate). - **Identify Potential Countries/Regions:** Propose 2-3 broad regions or countries that generally align with the user's intellectual/social needs and broad geographic/budget preferences, _with explicit reference to how they might address the user's revealed preferences._ - **User Interaction:** Present the broad findings and ask the user to select a country or region to deep-dive into. "Based on your preferences, and especially considering what you enjoyed in a place like [if provided, e.g., 'Berlin'] and found challenging in a place like [if provided, e.g., 'Pokhara'], countries like [Country A], [Country B], and [Country C] seem promising due to their [e.g., strong education systems, high social support, vibrant innovation, and potential to offer X/avoid Y]. Which would you like to explore first, or would you prefer me to suggest some specific places within them?" **C. Deep Dive into Specific Places (Sub-National & Community Focus - _REVISED with Resident's Lens_):** - **LLM Action:** Once a country/region is chosen, the LLM will initiate targeted searches for _sub-national locations_ (cities, towns, specific neighborhoods) that are likely to match the user's "underrepresented" criteria while still offering intellectual/social vibrancy. - **Targeted Search Keywords (using search tool - _emphasize resident/expact experience_):** - `"Living in [City/Town name] as an expat"` - `"[City/Town name] long-term digital nomad experience"` - `"Expat forums [City/Town name] social life"` - `"Local community groups [City/Town name]"` - `"[City/Town name] intellectual resident activities"` - `"Things to do for locals in [City/Town name] beyond tourism"` - `"Cost of living and community in [City/Town name]"` - _Prioritize keywords that naturally lead to forum discussions, blogs, resident reviews, and community groups rather than just tourism sites._ - **Initial Candidate Generation:** Based on search results, identify a few candidate places that appear to have a strong "people" aspect, _explicitly considering how they align with the user's past positive and negative experiences, using the structured data gathered._ - **User Interaction & Iteration:** - "Okay, let's explore [Country/Region X]. Given your interest in 'underrepresented places' with a [e.g., artistic, intellectual] vibe, and keeping in mind your past experiences, I've found mentions of [City A], [Town B], and perhaps a specific neighborhood like [Neighborhood C] within a larger city. Which of these interests you, or would you like me to find more options?" - **Provide a "People Profile" (Primary Output - _REVISED for Resident Perspective_):** Once a specific place is chosen, the LLM must synthesize the search results into a concise "People Profile." - **Structure for People Profile (Resident's Lens):** - **Place Name & Context:** [City/Town/Neighborhood Name], [Country]. Briefly describe its general size and type (e.g., "a vibrant university town," "a quiet coastal community," "a bustling historic district"). - **Living the Intellectual Life Here:** - _What types of **resident-focused** intellectual activities are prominent? (e.g., "locals frequently attend public university lectures," "there's a thriving startup incubator with weekly resident meetups," "artist co-ops offer open studio days and workshops for long-term residents")._ - _Examples of how a **digital nomad could engage** (e.g., "easy to join a local book club," "regular philosophy cafes where expats are welcome," "active online community for [niche] enthusiasts that meets in person")._ - _Overall sense of intellectual dynamism for **long-term stay**._ - **Building Your Social Life Here:** - _Ease of **forming connections for residents** (e.g., "frequently described by expats as a place where friendships develop quickly through shared activities," "might take effort to break into established local circles, but very welcoming to consistent engagement")._ - _Common **social avenues for residents** (e.g., "community centers host regular potlucks," "numerous sports leagues with mixed local/expat teams," "volunteer opportunities are abundant and social," "weekly farmers markets are social hubs")._ - _Interaction dynamic between locals and temporary residents (e.g., "strong local desire to interact with foreigners," "expats tend to stick together but local integration is achievable with effort")._ - _Overall community vibe for **living there long-term** (e.g., "a supportive, inclusive environment where people invest in community," "a more independent vibe where social life is self-curated")._ - **The "Underrepresented" Appeal (and why it matters for residents):** - Explain _how_ this place fits the user's definition of "underrepresented" (e.g., "It's not a mainstream nomad destination, allowing for more authentic local interaction," "Its 'hidden gem' status means less tourist-centric services and more resident-focused amenities," "Its emerging scene offers a chance to be part of building something new"). - **Potential "Similarity Index" (Phase 2+):** - _(For Phase 1, just hint at this in the prompt, for Phase 2, LLM explicitly states this):_ "This place shows strong similarities to your positive experience in [loved place, if provided] regarding [specific intellectual/social aspects], and appears to avoid the challenges you faced in [disliked place, if provided] by offering [specific contrasting benefits]." - **Important Considerations for a Resident:** - Any recurring challenges mentioned in expat/resident forums (e.g., "can be very quiet during off-season months," "public transport might be limited if you live outside the central area," "cost of living for specific things like [e.g., imported goods] can be high"). - Brief mention of internet reliability from a resident's perspective. - **Call to Action:** "What do you think of this 'Resident's Profile' for [Place Name]? Does it paint a clearer picture of living there? Would you like me to explore another place in [Country X], or move to a different country/region?" **D. Persistence of Roadmap (CRITICAL - No change from original instructions):** - **Self-Storage Instruction:** The app MUST be programmed to store the _entire text of this Master Prompt_ within itself, in an easily accessible format for future reference by the developer or user. - **Access Point:** Provide a clear, named access point for this information, e.g., "Development Roadmap," "About This App's Vision," or "Future Features & Instructions." - **Purpose:** Clearly state that this stored text serves as the blueprint for phased development. --- **[PHASE 2 INSTRUCTIONS: ENHANCED DATA PROCESSING & INFERENCE - _REVISED for Similarity Index_)]** - **A. Deeper Sentiment Analysis & Nuance:** - Enhance LLM's ability to analyze sentiment not just as positive/negative, but also nuanced emotional tones (e.g., enthusiasm, frustration, warmth, isolation) in forum discussions and blogs. - Identify sarcasm or subtle undertones that indicate a place's true character for residents. - **B. Complex Inferencing & Pattern Recognition:** - Develop more sophisticated inferential capabilities. For example, if many discussions are about "starting a new business" or "local maker fairs," infer an entrepreneurial or creative environment. If many mentions of "volunteering" or "community gardens," infer high social capital for residents. - Recognize patterns across disparate search results to form a more cohesive narrative about a place's identity _from a resident's perspective_. - **C. Dynamic "Vibe" Generation (Beyond Static Word Clouds):** - Instead of static word clouds, generate a **dynamic, LLM-curated "Keywords & Core Characteristics" summary** for each place. These terms should be _derived directly from the search results_ and synthesize the most prominent intellectual, social, and community attributes. - The LLM should prioritize terms that are _not_ generic but highly specific to the nuanced "vibe" and resident experience of the location (e.g., "collaborative innovation hub," "bohemian artistic collective," "slow-living intellectual haven," "tight-knit outdoor adventure community"). - This section should be a concise bulleted list of 5-10 highly descriptive terms. - **D. Source Prioritization:** - Refine search logic to prioritize more reliable or detailed anecdotal sources relevant to residency (e.g., active, long-term expat blogs, highly engaged resident forum threads, local community organization websites) over superficial tourist reviews. - **E. Introduction of "Similarity Index" (Core Phase 2 Feature):** - **LLM Action:** For each suggested "People Profile," compute and present a **basic "Similarity Index" score (e.g., 1-5 stars or a percentage match)** that indicates how well the place's intellectual and social characteristics align with the user's stated preferences AND, critically, with the positive traits _selected from the structured questions_ for their "loved place" while avoiding the negative traits _selected from the structured questions_ for their "disliked place." - **Explanation:** Accompany the score with a brief explanation _why_ the similarity exists (e.g., "High similarity due to a vibrant arts scene, similar to what you enjoyed in your 'loved' place, and low emphasis on isolated tourism, unlike your 'disliked' experience in Pokhara."). - **Refined Questions:** During user input, the LLM will explicitly ask the user to elaborate on the _specific activities, interactions, and feelings_ associated with their "loved" and "disliked" past experiences, providing richer data for the similarity calculation. --- **[PHASE 3 INSTRUCTIONS: ADVANCED REFINEMENT & PERSONALIZATION - _REVISED for Similarity Index Sophistication_)]** - **A. Iterative Learning & Adaptive Questioning:** - Implement a feedback loop where the app learns from the user's explicit likes/dislikes on generated profiles and **their reactions to the Similarity Index scores**. - Dynamically adjust subsequent questions and search priorities based on this learning, asking more targeted follow-ups about aspects that showed high or low similarity. - **B. Sophisticated Similarity Indexing:** - Develop a more granular and dynamic "Similarity Index." Instead of a single score, break it down by intellectual, social, and community vibe categories (e.g., "Intellectual Match: 8/10," "Social Fit: 7/10," "Community Vibe: 9/10"). - Allow the user to click on these scores for a more detailed breakdown of _why_ the similarity exists, referencing specific aspects of their "loved" and "disliked" places _based on their structured answers._ - Integrate a "What's intriguing?" feature: After presenting a profile, ask the user what aspects of the _new_ place's profile particularly intrigue them, even if it's different from their stated preferences. This captures evolving interests. - **C. Predictive Social Matching & Integration Potential:** - Based on the user's interests and the analyzed community data, predict the _ease of integration_ into local social circles for a temporary resident, beyond just finding fellow expats. - Suggest specific types of local groups or activities that would facilitate integration (e.g., "Given your interest in [hobby], joining the [Local Club Name] could be an excellent way to connect with locals"). - **D. "Hidden Gem" Algorithm Enhancement:** - Further refine the search to actively identify places that are genuinely "underrepresented" but show strong signals of vibrancy, potentially by identifying emerging communities or places undergoing positive transformations that haven't hit mainstream nomad lists yet, specifically highlighting their appeal for _long-term residents._ - **E. User-Contributed Learning (Optional, Future):** - Consider a mechanism for users to contribute their experiences as _temporary residents/digital nomads_ (anonymously) to improve the app's understanding of places over time, fostering a community-driven data set for qualitative insights relevant to this lifestyle. (Requires careful moderation and data privacy considerations). - **F. "Vibe Visualizer" (Placeholder for future, advanced concept):** - Explore creating a more sophisticated, _dynamically generated_ "vibe visualizer" that goes beyond a word cloud. This could be a graphical representation (not just text) where central nodes represent core community characteristics and radiating lines represent specific activities or types of people associated with them, all derived from LLM synthesis. This is a highly experimental concept for future phases but addresses the "static word cloud" limitation directly by proposing something truly dynamic and insightful. - _(This requires UI/UX development far beyond a pure LLM, but the LLM could provide the structured data for such a visualization.)_ ---