Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants