LLMStructuredParsingError
class LLMStructuredParsingError(message: String, cause: SerializationException?) : Exception(source)
Exception indicating an error during the parsing of structured output from a language model.
This exception is thrown when the structured parsing of a language model's response fails, often due to malformed or unexpected data not conforming to the expected schema.
Parameters
message
A detailed message describing the cause of the parsing error.
cause
SerializationException that caused parsing exception.
Constructors
Link copied to clipboard
Creates a new instance of LLMStructuredParsingError.