Require JSON output from Workers AI?

Hello! Looking through all the models in Workers AI. Any chance to force output response in JSON format? I saw OpenAI has a JSON mode but not sure if cloudflare offers anything like that? https://community.openai.com/t/openai-api-guide-using-json-mode/557265 Thanks!
OpenAI Developer Forum
🛡️ OpenAI API Guide: Using JSON Mode
OpenAI’s API now features a JSON mode, streamlining response structuring and enhancing integration capabilities. As a practical example, I’ve developed GuardRail, an open-source project utilizing this mode, showcasing how JSON-formatted outputs can significantly improve system interactions and data processing in OpenAI applications. You can see...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server