Class HuggingFaceChatModel.Builder
java.lang.Object
dev.langchain4j.model.huggingface.HuggingFaceChatModel.Builder
- Enclosing class:
HuggingFaceChatModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessToken
(String accessToken) build()
maxNewTokens
(Integer maxNewTokens) returnFullText
(Boolean returnFullText) temperature
(Double temperature) waitForModel
(Boolean waitForModel)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessToken
-
modelId
-
timeout
-
temperature
-
maxNewTokens
-
returnFullText
-
waitForModel
-
build
-