Uses of Class
io.agentscope.extensions.model.dashscope.dto.DashScopeMessage
Packages that use DashScopeMessage
Package
Description
-
Uses of DashScopeMessage in io.agentscope.extensions.model.dashscope
Method parameters in io.agentscope.extensions.model.dashscope with type arguments of type DashScopeMessageModifier and TypeMethodDescriptionDashScopeChatModel.Builder.formatter(io.agentscope.core.formatter.Formatter<DashScopeMessage, DashScopeResponse, DashScopeRequest> formatter) Sets the message formatter to use.Constructor parameters in io.agentscope.extensions.model.dashscope with type arguments of type DashScopeMessageModifierConstructorDescriptionDashScopeChatModel(String apiKey, String modelName, boolean stream, Boolean enableThinking, Boolean enableSearch, io.agentscope.core.model.GenerateOptions defaultOptions, String baseUrl, io.agentscope.core.formatter.Formatter<DashScopeMessage, DashScopeResponse, DashScopeRequest> formatter, io.agentscope.core.model.transport.HttpTransport httpTransport, String publicKeyId, String publicKey) Creates a new DashScope chat model instance with automatic API type detection.DashScopeChatModel(String apiKey, String modelName, boolean stream, Boolean enableThinking, Boolean enableSearch, EndpointType endpointType, io.agentscope.core.model.GenerateOptions defaultOptions, String baseUrl, io.agentscope.core.formatter.Formatter<DashScopeMessage, DashScopeResponse, DashScopeRequest> formatter, io.agentscope.core.model.transport.HttpTransport httpTransport, String publicKeyId, String publicKey) Creates a new DashScope chat model instance with explicit API type.DashScopeChatModel(String apiKey, String modelName, boolean stream, Boolean enableThinking, Boolean enableSearch, EndpointType endpointType, io.agentscope.core.model.GenerateOptions defaultOptions, String baseUrl, io.agentscope.core.formatter.Formatter<DashScopeMessage, DashScopeResponse, DashScopeRequest> formatter, io.agentscope.core.model.transport.HttpTransport httpTransport, String publicKeyId, String publicKey, Collection<String> multimodalModelPatterns) Creates a new DashScope chat model instance with explicit API type and additional multimodal model patterns. -
Uses of DashScopeMessage in io.agentscope.extensions.model.dashscope.dto
Methods in io.agentscope.extensions.model.dashscope.dto that return DashScopeMessageMethods in io.agentscope.extensions.model.dashscope.dto that return types with arguments of type DashScopeMessageMethods in io.agentscope.extensions.model.dashscope.dto with parameters of type DashScopeMessageMethod parameters in io.agentscope.extensions.model.dashscope.dto with type arguments of type DashScopeMessageModifier and TypeMethodDescriptionDashScopeInput.Builder.messages(List<DashScopeMessage> messages) static DashScopeInputDashScopeInput.of(List<DashScopeMessage> messages) voidDashScopeInput.setMessages(List<DashScopeMessage> messages) Constructor parameters in io.agentscope.extensions.model.dashscope.dto with type arguments of type DashScopeMessage -
Uses of DashScopeMessage in io.agentscope.extensions.model.dashscope.formatter
Methods in io.agentscope.extensions.model.dashscope.formatter that return DashScopeMessageModifier and TypeMethodDescriptionDashScopeMessageConverter.convertToMessage(io.agentscope.core.message.Msg msg, boolean useMultimodalFormat) Convert single Msg to DashScopeMessage.DashScopeConversationMerger.mergeToMessage(List<io.agentscope.core.message.Msg> msgs, Function<io.agentscope.core.message.Msg, String> nameExtractor, Function<List<io.agentscope.core.message.ContentBlock>, String> toolResultConverter, String historyPrompt) Merge conversation messages into a single DashScopeMessage (text-only mode).DashScopeConversationMerger.mergeToMultiModalMessage(List<io.agentscope.core.message.Msg> msgs, Function<io.agentscope.core.message.Msg, String> nameExtractor, Function<List<io.agentscope.core.message.ContentBlock>, String> toolResultConverter, boolean isFirst) Merge conversation messages into a single DashScopeMessage (multimodal mode).Methods in io.agentscope.extensions.model.dashscope.formatter that return types with arguments of type DashScopeMessageModifier and TypeMethodDescriptionprotected List<DashScopeMessage>protected List<DashScopeMessage>DashScopeChatFormatter.doFormat(List<io.agentscope.core.message.Msg> msgs, io.agentscope.core.model.GenerateOptions options) protected List<DashScopeMessage>protected List<DashScopeMessage>DashScopeMultiAgentFormatter.doFormat(List<io.agentscope.core.message.Msg> msgs, io.agentscope.core.model.GenerateOptions options) DashScopeChatFormatter.formatMultiModal(List<io.agentscope.core.message.Msg> messages) Format AgentScope Msg objects to DashScope MultiModal message format.DashScopeChatFormatter.formatMultiModal(List<io.agentscope.core.message.Msg> messages, io.agentscope.core.model.GenerateOptions options) Format AgentScope Msg objects to DashScope MultiModal message format using request-scoped generation options.DashScopeMultiAgentFormatter.formatMultiModal(List<io.agentscope.core.message.Msg> msgs) Format AgentScope Msg objects to DashScope MultiModal message format.DashScopeMultiAgentFormatter.formatMultiModal(List<io.agentscope.core.message.Msg> msgs, io.agentscope.core.model.GenerateOptions options) Format AgentScope Msg objects to DashScope MultiModal message format using request-scoped generation options.Methods in io.agentscope.extensions.model.dashscope.formatter with parameters of type DashScopeMessageModifier and TypeMethodDescriptionprotected voidDashScopeResponseParser.addToolCallsFromMessage(DashScopeMessage message, List<io.agentscope.core.message.ContentBlock> blocks) Parse tool calls from DashScopeMessage and add to blocks.Method parameters in io.agentscope.extensions.model.dashscope.formatter with type arguments of type DashScopeMessageModifier and TypeMethodDescriptionDashScopeChatFormatter.buildRequest(String model, List<DashScopeMessage> messages, boolean stream) Build a complete DashScopeRequest for the API call.DashScopeChatFormatter.buildRequest(String model, List<DashScopeMessage> messages, boolean stream, io.agentscope.core.model.GenerateOptions options, io.agentscope.core.model.GenerateOptions defaultOptions, List<io.agentscope.core.model.ToolSchema> tools, io.agentscope.core.model.ToolChoice toolChoice) Build a complete DashScopeRequest with full configuration.DashScopeMultiAgentFormatter.buildRequest(String model, List<DashScopeMessage> messages, boolean stream) Build a complete DashScopeRequest for the API call.