| Package | Description |
|---|---|
| com.alibaba.dashscope.aigc.conversation | |
| com.alibaba.dashscope.audio.tts | |
| com.alibaba.dashscope.common | |
| com.alibaba.dashscope.protocol |
| Modifier and Type | Method and Description |
|---|---|
ConversationResult |
Conversation.call(ConversationParam param)
Call the server to get the whole result.
|
void |
ConversationResult.fromResponse(Protocol protocol,
Response response)
Load data from the server output.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpeechSynthesisResult.fromResponse(Protocol protocol,
Response response) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Result.fromResponse(Protocol protocol,
Response response)
Load data from the server output.
|
| Modifier and Type | Method and Description |
|---|---|
static Result |
ServiceFacility.call(Protocol protocol,
Map<String,String> extraHeaders,
Param param,
HttpMethod method,
long receiveTimeout)
Call the network to do a single-in, single-out request.
|
void |
SubmitResult.fromResponse(Protocol protocol,
Response response) |
static String |
ServiceFacility.prepareUrl(Protocol protocol,
Param param)
Prepare the connecting url.
|
static Response |
ServiceFacility.streamingNone(Protocol protocol,
String url,
Map<String,String> headers,
Request request,
HttpMethod httpMethod,
long receiveTimeout)
Call rpc on single-in, single-out mode
|
static io.reactivex.Flowable<Response> |
ServiceFacility.streamingOut(Protocol protocol,
String url,
Map<String,String> headers,
Request request,
HttpMethod httpMethod,
StreamingMode mode,
long receiveTimeout)
Call rpc on single-in, stream-out mode
|
Copyright © 2023. All rights reserved.