Class ChatCompletions
java.lang.Object
com.alibaba.dashscope.legacy_2x.aigc.completion.ChatCompletions
Deprecated.
Support openai compatible api, for test usage.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.ChatCompletions(String baseUrl, ConnectionOptions connectionOptions) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncall(ChatCompletionParam param) Deprecated.voidcall(ChatCompletionParam param, ResultCallback<ChatCompletion> callback) Deprecated.io.reactivex.Flowable<ChatCompletionChunk>streamCall(ChatCompletionParam param) Deprecated.voidstreamCall(ChatCompletionParam param, ResultCallback<ChatCompletionChunk> callback) Deprecated.
-
Constructor Details
-
ChatCompletions
public ChatCompletions()Deprecated. -
ChatCompletions
Deprecated.
-
-
Method Details
-
call
public ChatCompletion call(ChatCompletionParam param) throws ApiException, NoApiKeyException, InputRequiredException Deprecated. -
call
public void call(ChatCompletionParam param, ResultCallback<ChatCompletion> callback) throws ApiException, NoApiKeyException, InputRequiredException Deprecated. -
streamCall
public io.reactivex.Flowable<ChatCompletionChunk> streamCall(ChatCompletionParam param) throws ApiException, NoApiKeyException, InputRequiredException Deprecated. -
streamCall
public void streamCall(ChatCompletionParam param, ResultCallback<ChatCompletionChunk> callback) throws ApiException, NoApiKeyException, InputRequiredException Deprecated.
-