| Package | Description |
|---|---|
| com.alibaba.dashscope | |
| com.alibaba.dashscope.conversation | |
| com.alibaba.dashscope.conversation.qwen | |
| com.alibaba.dashscope.conversation.rpc |
| Modifier and Type | Method and Description |
|---|---|
ConversationResult |
BaseConversation.call(ConversationParam param)
Call the server to get the whole result.
|
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Flowable<ConversationResult> |
BaseConversation.streamCall(ConversationParam param)
Call the server to get the result by stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BaseConversation.call(ConversationParam param,
ResultCallback<ConversationResult> callback)
Call the server to get the result in the callback function.
|
| Modifier and Type | Method and Description |
|---|---|
ConversationResult |
Conversation.call(ConversationParam param)
Call the server to get the whole result.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Class<? extends ConversationResult> |
ConversationParam.resultType()
Get the related server output structure, which should be a subclass of `ConversationResult`.
|
io.reactivex.Flowable<ConversationResult> |
Conversation.streamCall(ConversationParam param)
Call the server to get the result by stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Conversation.call(ConversationParam param,
ResultCallback<ConversationResult> callback)
Call the server to get the result in the callback function.
|
| Modifier and Type | Class and Description |
|---|---|
class |
QWenConversationResult |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends ConversationResult> |
QWenConversationParam.resultType() |
| Modifier and Type | Method and Description |
|---|---|
void |
ConversationHttpRpc.call(ConversationParam param,
ResultCallback<ConversationResult> callback) |
void |
ConversationWebsocketRpc.call(ConversationParam param,
ResultCallback<ConversationResult> callback) |
void |
ConversationRpc.call(ConversationParam param,
ResultCallback<ConversationResult> callback)
Call the Conversation rpc protocol to communicate with the server side.
|
Copyright © 2023. All rights reserved.