Files
Krish Dholakia b3a3081e8e Guardrails API - new structured_messages param (#17518)
* fix(generic_guardrail_api.py): add 'structured_messages' support

allows guardrail provider to know if text is from system or user

* fix(generic_guardrail_api.md): document 'structured_messages' parameter

give api provider a way to distinguish between user and system messages

* feat(anthropic/): return openai chat completion format structured messages when calls made via `/v1/messages` on Anthropic

* feat(responses/guardrail_translation): support 'structured_messages' param for guardrails

structured openai chat completion spec messages, for guardrail checks when using /v1/responses api

allows guardrail checks to work consistently across APIs
2025-12-04 22:08:00 -08:00
..
2025-11-22 14:02:14 -08:00
2023-11-06 18:00:52 -08:00
2025-11-19 17:47:18 -08:00
2023-09-21 12:33:39 -07:00
2023-09-20 09:34:33 -07:00
2023-11-30 19:04:51 -08:00
2023-09-06 19:27:06 -07:00