Right now in the generated json schema all fields are marked as required (i think its a good trick to force the model to populate everything) but the types of fields are never allowed to be null. Even though the Elixir schema would accept a null value fine.
For complex documents there might be fields which are not always present in the source text, and forcing the model to put something which is not present just results in hallucinations.
Right now in the generated json schema all fields are marked as required (i think its a good trick to force the model to populate everything) but the types of fields are never allowed to be null. Even though the Elixir schema would accept a null value fine.
For complex documents there might be fields which are not always present in the source text, and forcing the model to put something which is not present just results in hallucinations.