Class MultimodalChatService
java.lang.Object
com.alibaba.dashscope.resources.multimodal.MultimodalChatService
multimodal.chat resource: create / createStreaming. Local-file
preprocessing runs before every call (2.x parity); streaming requests for models without
server-side cumulative output are merged client-side when the caller asked for
incremental_output=false.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(MultimodalChatCreateParams params) create(MultimodalChatCreateParams params, RequestOptions options) Streaming create.createStreaming(MultimodalChatCreateParams params, RequestOptions options)
-
Constructor Details
-
MultimodalChatService
-
-
Method Details
-
create
-
create
-
createStreaming
Streaming create. Always close the stream (try-with-resources); the iterator is single-use. When merging applies, every emitted chunk carries cumulative content. -
createStreaming
public ResponseStream<MultimodalChatChunk> createStreaming(MultimodalChatCreateParams params, RequestOptions options)
-