| 程序包 | 说明 |
|---|---|
| com.alibaba.dashscope.api | |
| com.alibaba.dashscope.audio.asr.phrase | |
| com.alibaba.dashscope.protocol |
| 限定符和类型 | 方法和说明 |
|---|---|
DashScopeResult |
AsynchronousApi.asyncCall(ParamT param,
ServiceOption serviceOption)
Call async interface and return async task info.
|
DashScopeResult |
AsynchronousApi.call(ParamT param,
ServiceOption serviceOption)
Call the server to get the whole result.
|
DashScopeResult |
GeneralApi.call(ParamT param,
ServiceOption serviceOptions)
Call the server to get the whole result.
|
void |
GeneralApi.call(ParamT param,
ServiceOption serviceOptions,
ResultCallback<DashScopeResult> callback)
Call the server to get the result in the callback function.
|
DashScopeResult |
GeneralApi.delete(HalfDuplexParamBase param,
ServiceOption serviceOption)
Make a Delete request.
|
DashScopeResult |
GeneralApi.get(HalfDuplexParamBase param,
ServiceOption serviceOption)
Make a get request.
|
io.reactivex.Flowable<DashScopeResult> |
GeneralApi.streamCall(ParamT param,
ServiceOption serviceOptions)
Call the server to get the result by stream.
|
void |
GeneralApi.streamCall(ParamT param,
ServiceOption serviceOptions,
ResultCallback<DashScopeResult> callback)
Call the server to get the result by stream.
|
| 构造器和说明 |
|---|
SynchronizeHalfDuplexApi(ConnectionOptions connectionOptions,
ServiceOption serviceOptions)
Create custom client
|
SynchronizeHalfDuplexApi(ServiceOption serviceOptions)
Create default client, http or websocket.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AsrPhraseFinetuneOption |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ApiServiceOption |
class |
AsyncTaskOption |
class |
GeneralServiceOption |
| 构造器和说明 |
|---|
FullDuplexRequest(FullDuplexServiceParam param,
ServiceOption option) |
HalfDuplexRequest(HalfDuplexParamBase param,
ServiceOption option) |
Copyright © 2024. All rights reserved.