Spaces:
Running on Zero
Running on Zero
| """Fictional demo texts. Nothing here is real β generic, portfolio-safe.""" | |
| JOB_TEXT = ( | |
| "We're hiring a Senior Backend Engineer at NimbusForge, a fully-remote team. " | |
| "You'll design Python services backed by PostgreSQL and ship them on Kubernetes. " | |
| "Compensation is 75,000β95,000 EUR depending on experience." | |
| ) | |
| CONTACT_TEXT = ( | |
| "Hi! I'm Dana Okoro, Head of Partnerships at BlueHarbor. " | |
| "You can reach me at dana.okoro@blueharbor.example or on +33 6 12 34 56 78." | |
| ) | |
| PRODUCT_TEXT = ( | |
| "The TrailLite X2 is a 1.1 kg ultralight tent in our camping range. " | |
| "It's priced at 249 USD and currently in stock. Highlights: two-person capacity, " | |
| "double-wall design, 3-season rating and fully taped seams." | |
| ) | |
| # Deliberately vague: an int, an enum and a bool all have to be *inferred*. Free-form | |
| # prompting drifts here (a string where an int is required, a value outside the enum); | |
| # constrained decoding forces the schema. | |
| EVENT_TEXT = ( | |
| "Quick sync about the Q3 roadmap, a handful of folks, pretty important, probably over video." | |
| ) | |
| # [source_text, preset_label, constraints_on] | |
| EXAMPLES = [ | |
| [CONTACT_TEXT, "Contact card", True], | |
| [PRODUCT_TEXT, "Product", True], | |
| [EVENT_TEXT, "Event", True], | |
| [EVENT_TEXT, "Event", False], # same input, constraints OFF β watch it break the schema | |
| ] | |