Class AppCompletionsService
java.lang.Object
com.alibaba.dashscope.resources.apps.AppCompletionsService
apps.completions resource: create / createStreaming.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(AppCompletionCreateParams params) create(AppCompletionCreateParams params, RequestOptions options) Sugar for the two required fields (2.xApplication.callparity).create(String appId, String prompt, RequestOptions options) Sugar for the two required fields (2.xApplication.callparity).Streaming create.createStreaming(AppCompletionCreateParams params, RequestOptions options)
-
Constructor Details
-
AppCompletionsService
-
-
Method Details
-
create
-
create
Sugar for the two required fields (2.xApplication.callparity). -
create
Sugar for the two required fields (2.xApplication.callparity). -
create
-
createStreaming
Streaming create. Always close the stream (try-with-resources); the iterator is single-use. In-stream error frames throw (or surface as a final error frame underraiseOnError(false)). -
createStreaming
public ResponseStream<AppCompletion> createStreaming(AppCompletionCreateParams params, RequestOptions options)
-