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