Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support max items in array schema & enums in string schema #105

Open
nikuscs opened this issue Dec 13, 2024 · 0 comments
Open

feat: support max items in array schema & enums in string schema #105

nikuscs opened this issue Dec 13, 2024 · 0 comments

Comments

@nikuscs
Copy link

nikuscs commented Dec 13, 2024

Thanks for the amazing package!

Im just opening this issue in a way to PR really soon the following:

  • StringSchema: Support enum param , i believe we could actually use PHP enums for this, but any array of strings would be accepted i believe.
  • ArraySchema: Support max_items - this would instruct the array of items the maximum allowed to be set here.

Edit: seems like maxItems is not yet supported by OpenAI

Please let me know if this ok to PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant