Class GoogleGenAiDecisionResponseMetadata.Builder
java.lang.Object
dev.langchain4j.model.decision.response.DecisionResponseMetadata.Builder<GoogleGenAiDecisionResponseMetadata.Builder>
dev.langchain4j.model.google.genai.GoogleGenAiDecisionResponseMetadata.Builder
- Enclosing class:
GoogleGenAiDecisionResponseMetadata
public static class GoogleGenAiDecisionResponseMetadata.Builder
extends DecisionResponseMetadata.Builder<GoogleGenAiDecisionResponseMetadata.Builder>
- Since:
- 1.24.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblockMessage(@Nullable String blockMessage) Gemini's explanation of why it blocked the input.blockReason(@Nullable String blockReason) Why Gemini blocked the input.build()Methods inherited from class DecisionResponseMetadata.Builder
modelName, self, tokenUsage
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
blockReason
Why Gemini blocked the input.nullmeans that the input was not blocked. -
blockMessage
Gemini's explanation of why it blocked the input.nullmeans that there is none. -
build
- Overrides:
buildin classDecisionResponseMetadata.Builder<GoogleGenAiDecisionResponseMetadata.Builder>
-