Uses of Class
io.agentscope.extensions.model.dashscope.DashScopeChatModel.Builder
Packages that use DashScopeChatModel.Builder
-
Uses of DashScopeChatModel.Builder in io.agentscope.extensions.model.dashscope
Methods in io.agentscope.extensions.model.dashscope that return DashScopeChatModel.BuilderModifier and TypeMethodDescriptionSets the API key for DashScope authentication.Sets a custom base URL for DashScope API.static DashScopeChatModel.BuilderDashScopeChatModel.builder()Creates a new builder for DashScopeChatModel.DashScopeChatModel.Builder.contextWindowSize(int contextWindowSize) Overrides the inferred context window size (in tokens).DashScopeChatModel.Builder.defaultOptions(io.agentscope.core.model.GenerateOptions options) Sets the default generation options.DashScopeChatModel.Builder.enableEncrypt(boolean enableEncrypt) Sets whether encryption should be enabled.DashScopeChatModel.Builder.enableSearch(Boolean enableSearch) Sets whether search enhancement should be enabled.DashScopeChatModel.Builder.enableThinking(Boolean enableThinking) Sets whether thinking mode should be enabled.DashScopeChatModel.Builder.endpointType(EndpointType endpointType) Sets the endpoint type to use for endpoint routing.DashScopeChatModel.Builder.formatter(io.agentscope.core.formatter.Formatter<DashScopeMessage, DashScopeResponse, DashScopeRequest> formatter) Sets the message formatter to use.DashScopeChatModel.Builder.httpTransport(io.agentscope.core.model.transport.HttpTransport httpTransport) Sets the HTTP transport to use.Sets the model name to use.DashScopeChatModel.Builder.multimodalModelPatterns(Collection<String> multimodalModelPatterns) Sets additional case-insensitive substring patterns for multimodal model detection.DashScopeChatModel.Builder.nativeStructuredOutput(boolean nativeStructuredOutput) Sets whether this model supports native structured output viaresponse_formatwithjson_schematype.DashScopeChatModel.Builder.nativeStructuredOutputWithTools(boolean nativeStructuredOutputWithTools) Sets whether this model correctly handles native structured output (response_format) alongside tool calling.DashScopeChatModel.Builder.proxy(io.agentscope.core.model.transport.ProxyConfig proxyConfig) Sets the proxy configuration for HTTP traffic.DashScopeChatModel.Builder.stream(boolean stream) Sets whether streaming should be enabled.