Package com.embabel.agent.core.support
Class InvalidLlmReturnTypeException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class InvalidLlmReturnTypeException extends RuntimeException
Thrown the LLM returned an object that fails validation, and although we tried, we could not correct it.
-
-
Field Summary
Fields Modifier and Type Field Description private final ObjectreturnedObjectprivate final Set<ConstraintViolation<?>>constraintViolationsprivate final Throwablecauseprivate final Stringmessage
-
Constructor Summary
Constructors Constructor Description InvalidLlmReturnTypeException(Object returnedObject, Set<ConstraintViolation<?>> constraintViolations)
-
Method Summary
Modifier and Type Method Description final ObjectgetReturnedObject()final Set<ConstraintViolation<?>>getConstraintViolations()-
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getReturnedObject
final Object getReturnedObject()
-
getConstraintViolations
final Set<ConstraintViolation<?>> getConstraintViolations()
-
-
-
-