1 Comment
User's avatar
Nick Felker's avatar

I think in many cases a schema is useful for deciding not just what matters, but what doesn't. I was experimenting with using AI to create a json object from a webpage. I had tried to use a complex schema (via schema.org) and I kept getting errors because the AI wouldn't understand all the schema fields.

I wanted to know the author and title. Maybe number of pages. Maybe the publication year. But I don't care about the mailing address of the publisher.

Schemas help the engineer, and the LLM by proxy, to focus on what really matters to solve the given task.

Expand full comment