guidance-ai / guidance

A guidance language for controlling large language models.
MIT License
18.13k stars 1.01k forks source link

JSON `required` field is ignored #906

Open hudson-ai opened 2 weeks ago

hudson-ai commented 2 weeks ago

guidance.json currently disregards the required field of schemas for the object type, instead treating every property as required.

Users should either be warned of this behavior or full support of the field should be built in.