Class GoogleGenAiChatOptions.Builder
java.lang.Object
org.springframework.ai.google.genai.GoogleGenAiChatOptions.Builder
- Enclosing class:
- GoogleGenAiChatOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoCacheThreshold(Integer autoCacheThreshold) autoCacheTtl(Duration autoCacheTtl) build()cachedContentName(String cachedContentName) candidateCount(Integer candidateCount) frequencyPenalty(Double frequencyPenalty) googleSearchRetrieval(boolean googleSearch) includeExtendedUsageMetadata(Boolean includeExtendedUsageMetadata) internalToolExecutionEnabled(boolean internalToolExecutionEnabled) maxOutputTokens(Integer maxOutputTokens) presencePenalty(Double presencePenalty) responseMimeType(String mimeType) safetySettings(List<GoogleGenAiSafetySetting> safetySettings) stopSequences(List<String> stopSequences) temperature(Double temperature) thinkingBudget(Integer thinkingBudget) toolCallbacks(List<ToolCallback> toolCallbacks) toolCallbacks(ToolCallback... toolCallbacks) toolContext(Map<String, Object> toolContext) useCachedContent(Boolean useCachedContent)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stopSequences
-
temperature
-
topP
-
topK
-
frequencyPenalty
-
presencePenalty
-
candidateCount
-
maxOutputTokens
-
model
-
model
-
responseMimeType
-
toolCallbacks
-
toolCallbacks
-
toolNames
-
toolName
-
googleSearchRetrieval
-
safetySettings
-
internalToolExecutionEnabled
public GoogleGenAiChatOptions.Builder internalToolExecutionEnabled(boolean internalToolExecutionEnabled) -
toolContext
-
thinkingBudget
-
includeExtendedUsageMetadata
public GoogleGenAiChatOptions.Builder includeExtendedUsageMetadata(Boolean includeExtendedUsageMetadata) -
labels
-
cachedContentName
-
useCachedContent
-
autoCacheThreshold
-
autoCacheTtl
-
build
-