Class Application
java.lang.Object
com.alibaba.dashscope.legacy_2x.app.Application
Deprecated.
Title Ap completion calls.
Description App completion calls.
Created at 2024-02-23 15:38
Description App completion calls.
Created at 2024-02-23 15:38
- Since:
- jdk8
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall(ApplicationParam param) Deprecated.app completion call for http requestio.reactivex.Flowable<ApplicationResult>streamCall(ApplicationParam param) Deprecated.app completion call for http request by sse stream
-
Constructor Details
-
Application
public Application()Deprecated. -
Application
Deprecated.
-
-
Method Details
-
call
public ApplicationResult call(ApplicationParam param) throws ApiException, NoApiKeyException, InputRequiredException Deprecated.app completion call for http request- Parameters:
param- app completion params- Returns:
- app completion result
- Throws:
ApiException- failed to request apiNoApiKeyException- can not find api keyInputRequiredException- missing required inputs
-
streamCall
public io.reactivex.Flowable<ApplicationResult> streamCall(ApplicationParam param) throws ApiException, NoApiKeyException, InputRequiredException Deprecated.app completion call for http request by sse stream- Parameters:
param- app completion params- Returns:
- flowable stream of app completion result
- Throws:
ApiException- failed to request apiNoApiKeyException- can not find api keyInputRequiredException- missing required inputs
-