Class MultiModalConversation
java.lang.Object
com.alibaba.dashscope.legacy_2x.aigc.multimodalconversation.MultiModalConversation
Deprecated.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.MultiModalConversation(String protocol) Deprecated.MultiModalConversation(String protocol, String baseUrl) Deprecated.MultiModalConversation(String protocol, String baseUrl, ConnectionOptions connectionOptions) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncall(MultiModalConversationParam param) Deprecated.Call the server to get the whole result.voidcall(MultiModalConversationParam param, ResultCallback<MultiModalConversationResult> callback) Deprecated.Call the server to get the result in the callback function.io.reactivex.Flowable<MultiModalConversationResult>Deprecated.Call the server to get the result by stream.voidstreamCall(MultiModalConversationParam param, ResultCallback<MultiModalConversationResult> callback) Deprecated.Call the server to get the result by stream.
-
Constructor Details
-
MultiModalConversation
public MultiModalConversation()Deprecated. -
MultiModalConversation
Deprecated. -
MultiModalConversation
Deprecated. -
MultiModalConversation
Deprecated.
-
-
Method Details
-
call
public MultiModalConversationResult call(MultiModalConversationParam param) throws ApiException, NoApiKeyException, UploadFileException Deprecated.Call the server to get the whole result.- Parameters:
param- The input param of class `MultiModalConversationParam`.- Returns:
- The output structure of `MultiModalConversationResult`.
- Throws:
NoApiKeyException- Can not find api keyUploadFileException- Fail upload failed.ApiException
-
call
public void call(MultiModalConversationParam param, ResultCallback<MultiModalConversationResult> callback) throws ApiException, NoApiKeyException, UploadFileException Deprecated.Call the server to get the result in the callback function.- Parameters:
param- The input param of class `MultiModalConversationParam`.callback- The callback to receive response, the template class is `MultiModalConversationResult`.- Throws:
NoApiKeyException- Can not find api keyApiException- The request failed, possibly due to a network or data error.UploadFileException- File upload failed.
-
streamCall
public io.reactivex.Flowable<MultiModalConversationResult> streamCall(MultiModalConversationParam param) throws ApiException, NoApiKeyException, UploadFileException Deprecated.Call the server to get the result by stream.- Parameters:
param- The input param of class `MultiModalConversationParam`.- Returns:
- A `Flowable` of the output structure.
- Throws:
NoApiKeyException- Can not find api keyApiException- The request failed, possibly due to a network or data error.UploadFileException- File upload failed.
-
streamCall
public void streamCall(MultiModalConversationParam param, ResultCallback<MultiModalConversationResult> callback) throws ApiException, NoApiKeyException, InputRequiredException, UploadFileException Deprecated.Call the server to get the result by stream.- Parameters:
param- The input param of class `MultiModalConversationParam`.callback- The result callback.- Throws:
NoApiKeyException- Can not find api keyApiException- The request failed, possibly due to a network or data error.InputRequiredException- The input field is missing.UploadFileException- File upload failed.
-