Class VertexAiGeminiChatOptions.Builder
java.lang.Object
org.springframework.ai.vertexai.gemini.VertexAiGeminiChatOptions.Builder
- Enclosing class:
- VertexAiGeminiChatOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withCandidateCount
(Integer candidateCount) withFunction
(String functionName) withFunctionCallbacks
(List<FunctionCallback> functionCallbacks) withFunctions
(Set<String> functionNames) withGoogleSearchRetrieval
(boolean googleSearch) withMaxOutputTokens
(Integer maxOutputTokens) withProxyToolCalls
(boolean proxyToolCalls) withResponseMimeType
(String mimeType) withStopSequences
(List<String> stopSequences) withTemperature
(Double temperature) withToolContext
(Map<String, Object> toolContext)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withStopSequences
-
withTemperature
-
withTopP
-
withTopK
-
withCandidateCount
-
withMaxOutputTokens
-
withModel
-
withModel
-
withResponseMimeType
-
withFunctionCallbacks
public VertexAiGeminiChatOptions.Builder withFunctionCallbacks(List<FunctionCallback> functionCallbacks) -
withFunctions
-
withFunction
-
withGoogleSearchRetrieval
-
withProxyToolCalls
-
withToolContext
-
build
-