- Format
- Masterclass
- Duration
- 1 day (7.5 hours)
- Delivery
- Live online · On-site (in-house)
- Group size
- 3–8 participants
- Level
- Advanced
- Language
- German or English
Tools: OpenAI API · Claude · JSON Schema · Pydantic · Promptfoo
On-site in Freiburg, Konstanz, Friedrichshafen, Stuttgart and Karlsruhe – or online
Clubs send events as running text, hosts describe their offers in e-mails, and the tourism portal needs fields: title, date, venue, price note, accessibility. Structured outputs for tourism data use the ability of modern language models to return answers that follow a JSON schema exactly. In this masterclass you design schemas for events and places, write instructions for edge cases such as unclear times, and build an evaluation set that measures accuracy field by field. Afterwards you know which fields can be extracted reliably, where a person needs to check, and how to prove improvements.
Who the structured outputs masterclass is for
Data owners, developers and technical editors at tourism organisations and portal operators who use language models through APIs or plan to.
What you'll walk away with
- Design JSON schemas for events, places and offers with clear required and optional fields
- Request structured outputs through an API and validate them with Pydantic
- Write instructions for edge cases such as missing times, date ranges and ambiguous locations
- Build an evaluation set with expected field values and measure accuracy per field
- Define a workflow in which uncertain records are flagged for human review
Typical scenarios from the region
- A tourism company receives dozens of event notices by e-mail each week; the model turns them into records, and uncertain fields go onto a review list for the editors.
- For a new day-trip app, place descriptions are broken into fields for opening times, accessibility and directions, without adding details that are missing from the text.
- After a change to the instructions, the evaluation shows dates being recognised more accurately but prices less so, and the team can fix it in a targeted way.
What the structured outputs masterclass covers
- Why free-text answers are not enoughWe compare free answers with structured outputs and show where parsing errors and invented fields come from.
- Designing schemasYou design schemas for events and places, with enumerations, formats and permitted empty values instead of guesses.
- Instructions for edge casesUnclear times, festivals over several days and locations such as at the fairground are handled with precise rules.
- Validation and further processingOutputs are checked with Pydantic, normalised and, on error, rejected with a reason.
- Field-by-field evaluationA set of real notices with expected values measures accuracy per field, automated with a tool such as Promptfoo.
- People in the loopYou define the level of uncertainty at which a record goes for review; licensing questions on reused texts go to your legal advisers.
Before the structured outputs masterclass: prerequisites
- Experience with prompts and basic Python skills
- Access to a model API that supports structured outputs
- Twenty to thirty real notices or descriptions as test material
Materials you keep
- JSON schemas for events and places
- An evaluation set with per-field results
- A Python skeleton for extraction, validation and a review list
Request dates
Tick one or more dates that suit you. We confirm within one business day and send an agenda tailored to your team.
How it works
Request with preferred dates
Tick the date proposals that suit you or name a period of your own.
Short call
We talk about your goals, prior knowledge and the tools your team already uses.
Agenda for your team
You receive a plan tailored to your group, with exercises that match your business.
Workshop and materials
The session runs online, on-site or hybrid, and you keep the materials afterwards.
Why train with us
- jocapps GmbH has run workshops and trainings since 2014. The topics have moved with the technology; today the focus is on agentic coding and prompt engineering.
- Hands-on rather than slides: you practise on realistic examples from hospitality, tourism and the region, or on your own texts, data and code if you wish.
- Online, at your premises or hybrid, held in German or English.
- jocapps GmbH is certified to ISO 9001 (quality management) and ISO 27001 (information security).
Questions about the structured outputs masterclass
Do we need programming skills?
Basic Python helps a great deal, because validation and evaluation happen in code. The prompt work itself is very manageable for technical editors; mixed teams of editors and developers benefit most.
Which model gives the best structured outputs?
Several providers support structured outputs, and quality keeps changing. Instead of a recommendation, we show you how to compare models with your own evaluation set and make a decision you can justify.
May we simply process texts written by others?
That depends on the source and its terms of use. We cover the technical processing; whether you may adopt and publish submitted texts is a question for legal advice.
Is the masterclass held online or on-site, and in which language?
Both are possible: live online, at your premises (in-house) or hybrid, as listed in the key facts above. It is held in German or English; you choose the language when you send your request.
Can the content be tailored to our team?
Yes. The agenda, examples and emphasis are agreed in a short call beforehand, based on your team's prior knowledge and tools. On request we work with your own texts, data or code.
Related courses
Agentic Coding · Masterclass
Opening-Hours Feed for Wine Taverns: A Masterclass in Calendar and Data Formats
Publish seasons, opening days and rest days once as a clean data feed that calendars, apps and directories can read, instead of entering them everywhere by hand.
Agentic Coding · Workshop
Automating Accommodation Directories: A Workshop with Coding Agents
Let a coding agent write the scripts that load host data, find duplicates, flag missing details and feed both print and website from a single source.
Agentic Coding · Training
Tourism Open Data with Coding Agents: Training for Data Teams
Load open tourism data on events and places reliably and publish your own data to common standards, with pipelines that a coding agent builds and tests.
Agentic Coding · Training
Aggregating Event Data: Training for Calendars and Portals
Combine dates from club feeds, municipal calendars and partner interfaces into one clean calendar, without duplicates and with a clear origin for every entry.
Prompt Engineering · Masterclass
Evals for Data Extraction from Flyers: A Masterclass for Event and Hospitality Data
Have language models read dates, venues and opening times from flyers and PDFs, and measure with your own test set how dependable that really is.