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.ChatLanguageModel
Chat Language Model of type dev.langchain4j.model.chat.ChatLanguageModelOperation in case of Endpoint of type CHAT.void
setChatModel
(dev.langchain4j.model.chat.ChatLanguageModel 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.ChatLanguageModel getChatModel()Chat Language Model of type dev.langchain4j.model.chat.ChatLanguageModel- Returns:
-
setChatModel
public void setChatModel(dev.langchain4j.model.chat.ChatLanguageModel chatModel) -
copy
-