| SYSTEM_PROMPT = """\ | |
| Extract a Z-number decision matrix from the following user input. | |
| ## Z-Number Scales: | |
| - Value (A-part): | |
| - benefit: 5 (excellent) → 4 (good) → 3 (moderate) → 2 (poor) → 1 (very poor) | |
| - neutral: 0 | |
| - cost: -1 (very low cost) → -2 (low) → -3 (moderate) → -4 (high) → -5 (very high cost) | |
| - Confidence (B-part): 5 (very confident) → 4 (confident) → 3 (somewhat confident) → 2 (uncertain) → 1 (very uncertain) | |
| ## Output Format: | |
| Return ONLY a Markdown table in this exact format: | |
| | | criterion_1 | criterion_2 | ... | | |
| |---|---|---|---| | |
| | type | benefit | cost | ... | | |
| | alt_1 | 4:3 | -3:4 | ... | | |
| | alt_2 | 3:4 | -2:5 | ... | | |
| | ... | ... | ... | ... | | |
| | weight | 3:2 | 4:3 | ... | | |
| ## Rules: | |
| 1. First row: empty cell, then criterion names (alphanumeric + underscores only) | |
| 2. Second row: "type", then either "benefit" or "cost" for each criterion | |
| 3. Middle rows: alternative names, then VALUE:CONFIDENCE pairs | |
| 4. Last row: "weight", then importance weights as VALUE:CONFIDENCE (always use positive values 1-5 for weights) | |
| 5. VALUE must be positive (1-5) for benefits, negative (-1 to -5) for costs | |
| 6. CONFIDENCE is always positive (1-5) regardless of criterion type | |
| """ | |
| DEFAULT_QUERY = "Okay so I've been going crazy trying to figure out if I should get a dog, a cat, or maybe just stick with a fish tank, and honestly I'm not even sure what matters most to me anymore. Like, companionship is huge for me, probably the most important thing, and I'm pretty confident dogs are amazing for that, cats are okay but kind of aloof sometimes, fish are basically just decoration let's be real. Then there's the whole time commitment thing which I think matters a lot but I'm not totally sure how much—I work weird hours so dogs seem like a nightmare there, cats are supposedly independent but my friend's cat is super needy so who knows, fish are definitely easy but maybe too easy? Cost is something I should care about more than I do, I guess it's moderately important, and I've heard dogs are expensive with vet bills and food, cats are cheaper I think, fish setups can actually cost a lot upfront but then nothing after. Oh and allergies—my roommate might be slightly allergic to cats, we're not 100% sure, dogs seem fine, fish obviously no issue there, so that's pretty important actually. And like, the whole lifestyle flexibility thing where I want to travel sometimes, dogs are terrible for that obviously, cats you can leave for a weekend maybe, fish just need an auto-feeder so that's nice, but I'm not sure how much I'll actually travel so maybe this doesn't matter that much?" | |
| DEFAULT_QUERY2 = "I'm trying to decide between taking a train, flying, or driving for my upcoming trip from Paris to Amsterdam, and I need to figure out what actually matters here. Environmental impact is absolutely my top priority, like I cannot stress this enough, I've been trying to reduce my carbon footprint all year and this is non-negotiable for me. The train is obviously amazing for this, planes are a disaster environmentally, and driving alone isn't great either but better than flying I guess. Cost matters somewhat but honestly I have some savings and this is a special trip so I'm not going to stress about it too much—trains are reasonable, flights can be cheap with budget airlines, driving with gas and tolls probably adds up. Comfort is kind of important to me since I get motion sick and anxious in certain situations, and trains are super relaxing with legroom and wifi, planes make me nervous and cramped, cars are fine but I'd be exhausted from driving. Time efficiency barely matters since I'm not in a rush at all and I'm taking the whole week off anyway—I know planes are fastest at like an hour, trains take about 3 hours, driving is maybe 5 hours, but whatever, I have time. Oh and reliability is pretty important because I absolutely cannot miss my friend's wedding ceremony on Saturday, and trains are almost always on time, flights get delayed constantly especially budget ones, and driving you could hit traffic or car trouble." | |
| DEFAULT_QUERY3 = "Okay I desperately need help choosing a venue for my company's annual client dinner and my options have somehow narrowed down to The Wellington House, my coworker Steve's garage, or the food court at the mall. Professionalism is absolutely critical here, like my CEO will be there and we're trying to impress clients who could sign a million dollar contract—The Wellington House is this gorgeous upscale restaurant with private dining rooms and waitstaff in suits, Steve's garage has oil stains on the floor and he swears he'll clean out the lawnmower but I don't trust him, the food court has a Sbarro and teenagers doing TikTok dances. Food quality is equally essential because these clients flew in from Tokyo specifically for this, and Wellington House has a Michelin-starred chef, Steve said he'd order Domino's which honestly isn't even his worst idea, the food court is self-explanatory. Parking and accessibility is very important since several attendees are elderly executives, Wellington House has complimentary valet service, Steve lives down a dirt road with no street lights and his driveway fits maybe three cars, the mall actually has decent parking I'll admit but you'd have to walk past a guy selling phone cases from a kiosk. Audio-visual capabilities matter a lot because we have a presentation to give, Wellington House has a built-in projector and screen with tech support, Steve has a TV but it's been displaying only green since 2019, food court is a no. Budget is the only place where I have any flexibility and even then it's not huge—Wellington House is expensive but we have the budget approved, Steve offered to host for free but the reputation damage would cost us millions, food court would be cheap but again we'd lose the contract and possibly our jobs." |