They’re slightly nuanced - every model provider has a slightly different Pydantic /JSON schema compatibility (i.e for handling Literals, Unions, nested subtypes etc).
So you end up hitting roadblocks for seemingly simple Pydantic schemas.
So you end up hitting roadblocks for seemingly simple Pydantic schemas.
But they seem to be considered disparate concepts. So I'm trying to understand if there's some additional nuance I'm missing.
I've generally found json-mode to be more useful than function-calling, even though the latter is what everyone fixates on because of it's obvious use in agents.