You can now define a required JSON schema directly in the prompt editor UI, just like in the Models playground. This helps ensure model responses follow a consistent structure, reducing the need for post-processing and keeping prompts tightly aligned with your source code. JSON schema enforcement also works with our evaluations tooling for even more reliable testing.

Start building AI apps with GitHub Models today

GitHub Models and all our AI development tooling—including prompt editing and lightweight evaluations—are available now to all GitHub users in public preview. Try it out by enabling it in your repository or organization, or learn more in our documentation.

Help us shape what’s next

We’re just getting started, and your feedback helps guide our roadmap. Join the community discussion to share your thoughts and connect with other developers building the future of AI on GitHub.