public final class Conversation extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Conversation.Models
已过时。
|
| 构造器和说明 |
|---|
Conversation()
已过时。
|
Conversation(String protocol)
已过时。
|
Conversation(String protocol,
String baseUrl)
已过时。
|
Conversation(String protocol,
String baseUrl,
ConnectionOptions connectionOptions)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
ConversationResult |
call(ConversationParam param)
已过时。
Call the server to get the whole result.
|
void |
call(ConversationParam param,
ResultCallback<ConversationResult> callback)
已过时。
Call the server to get the result in the callback function.
|
ApiServiceOption |
defaultApiServiceOption()
已过时。
|
io.reactivex.Flowable<ConversationResult> |
streamCall(ConversationParam param)
已过时。
Call the server to get the result by stream.
|
void |
streamCall(ConversationParam param,
ResultCallback<ConversationResult> callback)
已过时。
Call the server to get the result by stream.
|
public Conversation()
public Conversation(String protocol)
public Conversation(String protocol, String baseUrl, ConnectionOptions connectionOptions)
public ApiServiceOption defaultApiServiceOption()
public ConversationResult call(ConversationParam param) throws ApiException, NoApiKeyException, InputRequiredException
param - The input param of class `ConversationParam`.NoApiKeyException - Can not find api keyInputRequiredException - The input fields are missing.ApiExceptionpublic void call(ConversationParam param, ResultCallback<ConversationResult> callback) throws ApiException, NoApiKeyException, InputRequiredException
param - The input param of class `ConversationParam`.callback - The callback to receive response, the template class is `ConversationResult`.NoApiKeyException - Can not find api keyApiException - The request failed, possibly due to a network or data error.InputRequiredException - The input fields are missing.public io.reactivex.Flowable<ConversationResult> streamCall(ConversationParam param) throws ApiException, NoApiKeyException, InputRequiredException
param - The input param of class `ConversationParam`.NoApiKeyException - Can not find api keyApiException - The request failed, possibly due to a network or data error.InputRequiredException - The input fields are missing.public void streamCall(ConversationParam param, ResultCallback<ConversationResult> callback) throws ApiException, NoApiKeyException, InputRequiredException
param - The input param of class `ConversationParam`.callback - The result callback.NoApiKeyException - Can not find api keyApiException - The request failed, possibly due to a network or data error.InputRequiredException - The input fields are missing.Copyright © 2025. All rights reserved.