Package dev.langchain4j.model.zhipu
Class ZhipuAiChatModel.ZhipuAiChatModelBuilder
java.lang.Object
dev.langchain4j.model.zhipu.ZhipuAiChatModel.ZhipuAiChatModelBuilder
- Enclosing class:
ZhipuAiChatModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
callTimeout
(Duration callTimeout) connectTimeout
(Duration connectTimeout) listeners
(List<ChatModelListener> listeners) logRequests
(Boolean logRequests) logResponses
(Boolean logResponses) maxRetries
(Integer maxRetries) model
(ChatCompletionModel model) readTimeout
(Duration readTimeout) temperature
(Double temperature) writeTimeout
(Duration writeTimeout)
-
Constructor Details
-
ZhipuAiChatModelBuilder
public ZhipuAiChatModelBuilder()
-
-
Method Details
-
model
-
model
-
baseUrl
-
apiKey
-
temperature
-
topP
-
stops
-
maxRetries
-
maxToken
-
logRequests
-
logResponses
-
listeners
-
callTimeout
-
connectTimeout
-
readTimeout
-
writeTimeout
-
build
-