Skip to content

Conversation

@rudrankriyam
Copy link
Contributor

Update OpenAIChatCompletionRequestBody to directly take encodable schema. This helps with Generable in foundation models framework

@lzell lzell self-assigned this Sep 16, 2025
Copy link
Owner

@lzell lzell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool, would love to see a snippet of you using this with Generable!

@lzell lzell merged commit 536a6ff into lzell:main Sep 17, 2025
@rudrankriyam
Copy link
Contributor Author

Should update the README somewhere in another PR; what do you think

@lzell
Copy link
Owner

lzell commented Sep 17, 2025

Yes that would def be helpful. I'm also wondering if we should go with the name generableJSONSchema. Because just putting any old encodable in there is going to lead to wonky results

@lzell
Copy link
Owner

lzell commented Sep 17, 2025

(since it needs to conform to https://json-schema.org/overview/what-is-jsonschema)

@rudrankriyam
Copy link
Contributor Author

Agreed

@lzell
Copy link
Owner

lzell commented Sep 18, 2025

I'm going to rename on main right now

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

Successfully merging this pull request may close these issues.

2 participants