echolabsdev / prism

A unified interface for working with LLMs in Laravel
https://prism.echolabs.dev
MIT License
405 stars 20 forks source link

Support from Structured Outputs/JSON mode #11

Closed kyranb closed 1 day ago

kyranb commented 2 days ago

It would be great to support the response_format option that some providers expose to create structured outputs.

https://platform.openai.com/docs/api-reference/chat/create

https://platform.openai.com/docs/guides/structured-outputs

balu-lt commented 2 days ago

You can find a list of upcoming features in the roadmap.

sixlive commented 1 day ago

Thanks @balu-lt!