Class LangChain4jChatConfiguration
java.lang.Object
org.apache.camel.component.langchain4j.chat.LangChain4jChatConfiguration
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
dev.langchain4j.model.chat.ChatModel
Chat Model of type dev.langchain4j.model.chat.ChatModelOperation in case of Endpoint of type CHAT.void
setChatModel
(dev.langchain4j.model.chat.ChatModel chatModel) void
setChatOperation
(LangChain4jChatOperations chatOperation)
-
Constructor Details
-
LangChain4jChatConfiguration
public LangChain4jChatConfiguration()
-
-
Method Details
-
getChatOperation
Operation in case of Endpoint of type CHAT. The value is one of the values of org.apache.camel.component.langchain4j.chat.LangChain4jChatOperations- Returns:
-
setChatOperation
-
getChatModel
public dev.langchain4j.model.chat.ChatModel getChatModel()Chat Model of type dev.langchain4j.model.chat.ChatModel- Returns:
-
setChatModel
public void setChatModel(dev.langchain4j.model.chat.ChatModel chatModel) -
copy
-