Uses of Class
io.agentscope.extensions.model.gemini.GeminiChatModel.Builder
Packages that use GeminiChatModel.Builder
-
Uses of GeminiChatModel.Builder in io.agentscope.extensions.model.gemini
Methods in io.agentscope.extensions.model.gemini that return GeminiChatModel.BuilderModifier and TypeMethodDescriptionSets the API key (for Gemini API).Sets the custom base URL (for Gemini API).static GeminiChatModel.BuilderGeminiChatModel.builder()Creates a new builder for GeminiChatModel.GeminiChatModel.Builder.clientOptions(com.google.genai.types.ClientOptions clientOptions) Sets the client options.GeminiChatModel.Builder.contextWindowSize(int contextWindowSize) Builds the GeminiChatModel instance.GeminiChatModel.Builder.credentials(com.google.auth.oauth2.GoogleCredentials credentials) Sets the Google credentials (for Vertex AI).GeminiChatModel.Builder.defaultOptions(io.agentscope.core.model.GenerateOptions defaultOptions) Sets the default generation options.GeminiChatModel.Builder.formatter(io.agentscope.core.formatter.Formatter<com.google.genai.types.Content, com.google.genai.types.GenerateContentResponse, com.google.genai.types.GenerateContentConfig.Builder> formatter) Sets the formatter.GeminiChatModel.Builder.httpOptions(com.google.genai.types.HttpOptions httpOptions) Sets the HTTP options for the client.Sets the Google Cloud location (for Vertex AI).Sets the model name.Sets the Google Cloud project ID (for Vertex AI).GeminiChatModel.Builder.proxy(io.agentscope.core.model.transport.ProxyConfig proxyConfig) Sets the proxy configuration for HTTP traffic.GeminiChatModel.Builder.streamEnabled(boolean streamEnabled) Sets whether streaming is enabled.GeminiChatModel.Builder.vertexAI(boolean vertexAI) Sets whether to use Vertex AI APIs.