Announcements

Stay informed about Portkey's newest releases, features, and improvements

All Announcements

Guardrails can now detect & validate JSON within code blocks and in plain text

Improvement

Portkey Guardrails for JSON Keys & JSON Schema now have improved functionality:

✅ Detect JSON within code blocks and in plain text

✅ Improved JSON extraction to handle multiple JSON objects within a single response

✅ Enhanced reporting to return more informative data objects, including:

  • Matched JSON
  • Present/missing keys (for JSON Keys plugin)
  • Validation errors (for JSON Schema plugin)
  • Explanatory messages for successful and failed validations

 

Try it out now! If you don't have access to the Guardrails feature, ping us on Discord to enable it for your org.

2