| 程序包 | 说明 |
|---|---|
| com.alibaba.dashscope.aigc.generation |
| 限定符和类型 | 方法和说明 |
|---|---|
GenerationResult |
Generation.call(HalfDuplexServiceParam param)
Call the server to get the whole result, only http protocol
|
static GenerationResult |
GenerationResult.fromDashScopeResult(DashScopeResult dashScopeResult) |
| 限定符和类型 | 方法和说明 |
|---|---|
io.reactivex.Flowable<GenerationResult> |
Generation.streamCall(HalfDuplexServiceParam param)
Call the server to get the result by stream. http and websocket.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Generation.call(HalfDuplexServiceParam param,
ResultCallback<GenerationResult> callback)
Call the server to get the result in the callback function.
|
void |
Generation.streamCall(HalfDuplexServiceParam param,
ResultCallback<GenerationResult> callback) |
Copyright © 2024. All rights reserved.