Validation Prompt Generator
interface ValidationPromptGenerator
Generate validation prompts for JSR-380 annotated types
Inheritors
Functions
Link copied to clipboard
abstract fun generateRequirementsPrompt(validator: <Error class: unknown class>, outputClass: Class<*>): String
Generate a string describing validation requirements for an LLM prompt This inspects the bean metadata to describe constraints ahead of time
Link copied to clipboard
Generate a string based on actual constraint violations This describes what went wrong after validation