Class GoogleGenAiChatOptions.Builder
java.lang.Object
org.springframework.ai.chat.prompt.DefaultChatOptionsBuilder<GoogleGenAiChatOptions.Builder>
org.springframework.ai.model.tool.DefaultToolCallingChatOptions.Builder<GoogleGenAiChatOptions.Builder>
org.springframework.ai.google.genai.GoogleGenAiChatOptions.AbstractBuilder<GoogleGenAiChatOptions.Builder>
org.springframework.ai.google.genai.GoogleGenAiChatOptions.Builder
- All Implemented Interfaces:
org.springframework.ai.chat.prompt.ChatOptions.Builder<GoogleGenAiChatOptions.Builder>, org.springframework.ai.model.tool.StructuredOutputChatOptions.Builder<GoogleGenAiChatOptions.Builder>, org.springframework.ai.model.tool.ToolCallingChatOptions.Builder<GoogleGenAiChatOptions.Builder>
- Enclosing class:
GoogleGenAiChatOptions
@NullMarked
public static class GoogleGenAiChatOptions.Builder
extends GoogleGenAiChatOptions.AbstractBuilder<GoogleGenAiChatOptions.Builder>
- Since:
- 1.0.0
- Author:
- Christian Tzolov, Thomas Vitale, Grogdunn, Ilayaperumal Gopinathan, Soby Chacko, Dan Dobrin
-
Field Summary
Fields inherited from class GoogleGenAiChatOptions.AbstractBuilder
autoCacheThreshold, autoCacheTtl, cachedContentName, candidateCount, googleSearchRetrieval, includeExtendedUsageMetadata, includeServerSideToolInvocations, includeThoughts, labels, responseMimeType, responseSchema, safetySettings, thinkingBudget, thinkingLevel, useCachedContentFields inherited from class org.springframework.ai.model.tool.DefaultToolCallingChatOptions.Builder
internalToolExecutionEnabled, toolCallbacks, toolContext, toolNamesFields inherited from class org.springframework.ai.chat.prompt.DefaultChatOptionsBuilder
frequencyPenalty, maxTokens, model, presencePenalty, stopSequences, temperature, topK, topP -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class GoogleGenAiChatOptions.AbstractBuilder
autoCacheThreshold, autoCacheTtl, build, cachedContentName, candidateCount, combineWith, googleSearchRetrieval, includeExtendedUsageMetadata, includeServerSideToolInvocations, includeThoughts, labels, maxOutputTokens, model, outputSchema, responseMimeType, responseSchema, safetySettings, thinkingBudget, thinkingLevel, useCachedContentMethods inherited from class org.springframework.ai.model.tool.DefaultToolCallingChatOptions.Builder
internalToolExecutionEnabled, toolCallbacks, toolCallbacks, toolContext, toolContext, toolNames, toolNamesMethods inherited from class org.springframework.ai.chat.prompt.DefaultChatOptionsBuilder
frequencyPenalty, maxTokens, model, presencePenalty, self, stopSequences, temperature, topK, topPMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.ai.model.tool.ToolCallingChatOptions.Builder
frequencyPenalty, maxTokens, model, presencePenalty, stopSequences, temperature, topK, topP
-
Constructor Details
-
Builder
public Builder()
-