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

JSON Schema needs all properties as "required" #194

Closed
wants to merge 1 commit into from

Conversation

OskarStark
Copy link
Contributor

@OskarStark OskarStark commented Jan 6, 2025

Based on:
CleanShot 2025-01-06 at 18 43 48@2x

Link: https://platform.openai.com/docs/guides/function-calling#example

I am not sure if this is also the case for other platforms/models

@OskarStark OskarStark self-assigned this Jan 6, 2025
@OskarStark OskarStark added the bug Something isn't working label Jan 6, 2025
@OskarStark OskarStark requested a review from chr-hertel January 6, 2025 17:53
@OskarStark OskarStark changed the title JSON Schema needs all properties as required JSON Schema needs all properties as "required" Jan 6, 2025
@OskarStark OskarStark force-pushed the feature/required-schema branch from 5655569 to b3710cf Compare January 6, 2025 21:59
@chr-hertel
Copy link
Member

not sure i get this - have you been running into issues? this is for structured output after calling tools?

@OskarStark
Copy link
Contributor Author

not sure i get this - have you been running into issues? this is for structured output after calling tools?

Ah no not here, but in my other project with my code, but it was more about the schema for a tool description

@chr-hertel
Copy link
Member

but still, if you want to change the schema provided for tools, you're patching the wrong class here - anyhow, i will add some tests and maybe unify that parsing stuff 🤔

@OskarStark
Copy link
Contributor Author

lets close it here

@OskarStark OskarStark closed this Jan 22, 2025
@chr-hertel chr-hertel deleted the feature/required-schema branch January 22, 2025 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants