Class Usage
java.lang.Object
dev.langchain4j.model.zhipu.shared.Usage
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static Usage.Builder
builder()
void
setCompletionTokens
(Integer completionTokens) void
setPromptTokens
(Integer promptTokens) void
setTotalTokens
(Integer totalTokens)
-
Constructor Details
-
Usage
public Usage()
-
-
Method Details
-
builder
-
getPromptTokens
-
setPromptTokens
-
getCompletionTokens
-
setCompletionTokens
-
getTotalTokens
-
setTotalTokens
-