Skip to content

Add validation mechanism that does not require JSR-380 annotations #978

Description

@johnsonr

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.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions