Class InvalidDecisionResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.langchain4j.exception.LangChain4jException
dev.langchain4j.exception.InvalidDecisionResponseException
- All Implemented Interfaces:
Serializable
Thrown when a
DecisionModel returns a response that does not match the
request, for example when an answer is missing, has the wrong type, or chooses an option that was not offered.- Since:
- 1.21.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidDecisionResponseException(String message) InvalidDecisionResponseException(String message, Throwable cause) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidDecisionResponseException
-
InvalidDecisionResponseException
-