Class VertexAiGeminiChatOptions.Builder
java.lang.Object
org.springframework.ai.vertexai.gemini.VertexAiGeminiChatOptions.Builder
- Enclosing class:
- VertexAiGeminiChatOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
candidateCount
(Integer candidateCount) functionCallbacks
(List<FunctionCallback> functionCallbacks) googleSearchRetrieval
(boolean googleSearch) maxOutputTokens
(Integer maxOutputTokens) proxyToolCalls
(boolean proxyToolCalls) responseMimeType
(String mimeType) safetySettings
(List<VertexAiGeminiSafetySetting> safetySettings) stopSequences
(List<String> stopSequences) temperature
(Double temperature) toolContext
(Map<String, Object> toolContext)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stopSequences
-
temperature
-
topP
-
topK
-
candidateCount
-
maxOutputTokens
-
model
-
model
-
responseMimeType
-
functionCallbacks
public VertexAiGeminiChatOptions.Builder functionCallbacks(List<FunctionCallback> functionCallbacks) -
functions
-
function
-
googleSearchRetrieval
-
safetySettings
public VertexAiGeminiChatOptions.Builder safetySettings(List<VertexAiGeminiSafetySetting> safetySettings) -
proxyToolCalls
-
toolContext
-
build
-