Package dev.langchain4j.model.chat
Class DisabledChatModel
java.lang.Object
dev.langchain4j.model.chat.DisabledChatModel
- All Implemented Interfaces:
ChatModel
A
ChatModel
which throws a ModelDisabledException
for all of its methods
This could be used in tests, or in libraries that extend this one to conditionally enable or disable functionality.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.langchain4j.model.chat.ChatModel
chat, chat, chat, chat, defaultRequestParameters, listeners, provider, supportedCapabilities