Spaces:
Running on Zero
Running on Zero
File size: 1,341 Bytes
0d2863f a4ab2df 0d2863f a4ab2df 0d2863f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | """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
]
|