Class ChatCompletionsAsyncService
java.lang.Object
com.alibaba.dashscope.resources.chat.ChatCompletionsAsyncService
Async variant of
ChatCompletionsService.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(ChatCompletionCreateParams params) create(ChatCompletionCreateParams params, RequestOptions options) io.reactivex.Flowable<ChatCompletionChunk>io.reactivex.Flowable<ChatCompletionChunk>createStreaming(ChatCompletionCreateParams params, RequestOptions options)
-
Constructor Details
-
ChatCompletionsAsyncService
-
-
Method Details
-
create
-
create
public CompletableFuture<ChatCompletion> create(ChatCompletionCreateParams params, RequestOptions options) -
createStreaming
public io.reactivex.Flowable<ChatCompletionChunk> createStreaming(ChatCompletionCreateParams params) -
createStreaming
public io.reactivex.Flowable<ChatCompletionChunk> createStreaming(ChatCompletionCreateParams params, RequestOptions options)
-