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