Uses of Class
io.agentscope.extensions.model.dashscope.dto.DashScopeContentPart
Packages that use DashScopeContentPart
Package
Description
-
Uses of DashScopeContentPart in io.agentscope.extensions.model.dashscope.dto
Methods in io.agentscope.extensions.model.dashscope.dto that return DashScopeContentPartModifier and TypeMethodDescriptionstatic DashScopeContentPartCreate an audio content part.DashScopeContentPart.Builder.build()static DashScopeContentPartCreate an image content part.static DashScopeContentPartCreate a text content part.static DashScopeContentPartCreate a video content part from URL.static DashScopeContentPartDashScopeContentPart.videoFrames(List<String> frames) Create a video content part from frame list.Methods in io.agentscope.extensions.model.dashscope.dto that return types with arguments of type DashScopeContentPartModifier and TypeMethodDescriptionDashScopeMessage.getContentAsList()Get content as List (for multimodal messages).Method parameters in io.agentscope.extensions.model.dashscope.dto with type arguments of type DashScopeContentPartModifier and TypeMethodDescriptionDashScopeMessage.Builder.content(List<DashScopeContentPart> content) -
Uses of DashScopeContentPart in io.agentscope.extensions.model.dashscope.formatter
Methods in io.agentscope.extensions.model.dashscope.formatter that return DashScopeContentPartModifier and TypeMethodDescriptionDashScopeMediaConverter.convertAudioBlockToContentPart(io.agentscope.core.message.AudioBlock audioBlock) Convert AudioBlock to DashScopeContentPart.DashScopeMediaConverter.convertDataBlockToContentPart(io.agentscope.core.message.DataBlock dataBlock) Convert DataBlock to DashScopeContentPart by resolving the MIME type and routing to the appropriate image / audio / video slot.DashScopeMediaConverter.convertImageBlockToContentPart(io.agentscope.core.message.ImageBlock imageBlock) Convert ImageBlock to DashScopeContentPart.DashScopeMediaConverter.convertVideoBlockToContentPart(io.agentscope.core.message.VideoBlock videoBlock) Convert VideoBlock to DashScopeContentPart.