We presently support validation only via JSR-380 annotations. While this is valuable, such annotations might not exist on classes we use, and we might not control those classes. Also, validation may be too complex for JSR-280 annotations.
We need to provide a way of defining a validator that works programmatically and produces a compatible result, via InvalidLlmReturnType exception.
This is distinct from the problem of validating UserContent.
We presently support validation only via JSR-380 annotations. While this is valuable, such annotations might not exist on classes we use, and we might not control those classes. Also, validation may be too complex for JSR-280 annotations.
We need to provide a way of defining a validator that works programmatically and produces a compatible result, via
InvalidLlmReturnTypeexception.This is distinct from the problem of validating
UserContent.