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) frequencyPenalty(Double frequencyPenalty) googleSearchRetrieval(boolean googleSearch) internalToolExecutionEnabled(boolean internalToolExecutionEnabled) maxOutputTokens(Integer maxOutputTokens) outputSchema(String outputSchema) presencePenalty(Double presencePenalty) responseLogprobs(Boolean responseLogprobs) responseMimeType(String mimeType) responseSchema(String responseSchema) safetySettings(List<VertexAiGeminiSafetySetting> safetySettings) stopSequences(List<String> stopSequences) temperature(Double temperature) toolCallbacks(List<ToolCallback> toolCallbacks) toolCallbacks(ToolCallback... toolCallbacks) toolContext(Map<String, Object> toolContext)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stopSequences
-
temperature
-
topP
-
topK
-
frequencyPenalty
-
presencePenalty
-
candidateCount
-
maxOutputTokens
-
model
-
model
-
responseMimeType
-
responseSchema
-
outputSchema
-
toolCallbacks
-
toolCallbacks
-
toolNames
-
toolName
-
googleSearchRetrieval
-
safetySettings
public VertexAiGeminiChatOptions.Builder safetySettings(List<VertexAiGeminiSafetySetting> safetySettings) -
internalToolExecutionEnabled
public VertexAiGeminiChatOptions.Builder internalToolExecutionEnabled(boolean internalToolExecutionEnabled) -
toolContext
-
logprobs
-
responseLogprobs
-
build
-