Files
spring-ai/guardrails/output/06-structured-validation.txt

9 lines
528 B
Plaintext

# Validating a typed model answer
valid ACCEPTED SHIPPING p2
category not in the enum rejected: not parseable as Triage: InvalidFormatException
priority out of range rejected: constraint violation: priority must be less than or equal to 5
reply too long rejected: constraint violation: reply size must be between 0 and 280
not JSON at all rejected: not parseable as Triage: StreamReadException
well-formed, hostile link rejected: reply text: link to evil.example