Skip navigation links
A B C D E F G H I J L M O P Q R S T U V W 

A

ACTION - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
ApiException - Exception in com.alibaba.dashscope.exception
 
ApiException(Exception) - Constructor for exception com.alibaba.dashscope.exception.ApiException
 
ApiException(Status) - Constructor for exception com.alibaba.dashscope.exception.ApiException
 
apiKey - Static variable in class com.alibaba.dashscope.utils.Constants
 
apiKeyFilePath - Static variable in class com.alibaba.dashscope.utils.Constants
 
ApiKeywords - Class in com.alibaba.dashscope.utils
 
ApiKeywords() - Constructor for class com.alibaba.dashscope.utils.ApiKeywords
 
apiRegion - Static variable in class com.alibaba.dashscope.utils.Constants
 
apiVersion - Static variable in class com.alibaba.dashscope.utils.Constants
 

B

BaseConversation - Interface in com.alibaba.dashscope
 
baseHttpApiUrl - Static variable in class com.alibaba.dashscope.utils.Constants
 
baseWebsocketApiUrl - Static variable in class com.alibaba.dashscope.utils.Constants
 
buildInputHeader(String, boolean) - Static method in class com.alibaba.dashscope.conversation.ConversationMessageHeader
 
buildInputMessageWithHistory(String, String, String, List<ChatMessage>, Integer, JsonObject, boolean, boolean) - Static method in class com.alibaba.dashscope.conversation.ConversationMessage
 
buildInputMessageWithPrompt(String, String, String, boolean) - Static method in class com.alibaba.dashscope.conversation.ConversationMessage
 
buildInputPayload(String, String) - Static method in class com.alibaba.dashscope.conversation.ConversationMessagePayload
 
buildMessageBody(String) - Method in class com.alibaba.dashscope.conversation.ConversationParam
Build the message body by the protocol.
buildMessageBody(String) - Method in class com.alibaba.dashscope.conversation.qwen.QWenConversationParam
 
buildMultiModalInputMessageWithHistory(String, String, String, List<ChatMessage>, int, JsonObject, boolean, boolean) - Static method in class com.alibaba.dashscope.conversation.ConversationMessage
 
buildMultiModalInputPayload(String, String) - Static method in class com.alibaba.dashscope.conversation.ConversationMessagePayload
 

C

call(ConversationParam, ResultCallback<ConversationResult>) - Method in interface com.alibaba.dashscope.BaseConversation
Call the server to get the result in the callback function.
call(ConversationParam) - Method in interface com.alibaba.dashscope.BaseConversation
Call the server to get the whole result.
call(ConversationParam, ResultCallback<ConversationResult>) - Method in class com.alibaba.dashscope.conversation.Conversation
Call the server to get the result in the callback function.
call(ConversationParam) - Method in class com.alibaba.dashscope.conversation.Conversation
Call the server to get the whole result.
call(ConversationParam, ResultCallback<ConversationResult>) - Method in class com.alibaba.dashscope.conversation.rpc.ConversationHttpRpc
 
call(ConversationParam, ResultCallback<ConversationResult>) - Method in interface com.alibaba.dashscope.conversation.rpc.ConversationRpc
Call the Conversation rpc protocol to communicate with the server side.
call(ConversationParam, ResultCallback<ConversationResult>) - Method in class com.alibaba.dashscope.conversation.rpc.ConversationWebsocketRpc
 
ChatMessage - Class in com.alibaba.dashscope.conversation
 
ChatMessage() - Constructor for class com.alibaba.dashscope.conversation.ChatMessage
 
CODE - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
com.alibaba.dashscope - package com.alibaba.dashscope
 
com.alibaba.dashscope.common - package com.alibaba.dashscope.common
 
com.alibaba.dashscope.conversation - package com.alibaba.dashscope.conversation
 
com.alibaba.dashscope.conversation.qwen - package com.alibaba.dashscope.conversation.qwen
 
com.alibaba.dashscope.conversation.rpc - package com.alibaba.dashscope.conversation.rpc
 
com.alibaba.dashscope.exception - package com.alibaba.dashscope.exception
 
com.alibaba.dashscope.protocol - package com.alibaba.dashscope.protocol
 
com.alibaba.dashscope.utils - package com.alibaba.dashscope.utils
 
CONNECT_TIMEOUT - Static variable in class com.alibaba.dashscope.utils.Constants
 
CONNECTION_REQUEST_TIMEOUT - Static variable in class com.alibaba.dashscope.utils.Constants
 
Constants - Class in com.alibaba.dashscope.utils
 
Constants() - Constructor for class com.alibaba.dashscope.utils.Constants
 
Conversation - Class in com.alibaba.dashscope.conversation
 
Conversation() - Constructor for class com.alibaba.dashscope.conversation.Conversation
 
Conversation(String) - Constructor for class com.alibaba.dashscope.conversation.Conversation
 
ConversationHttpRpc - Class in com.alibaba.dashscope.conversation.rpc
 
ConversationHttpRpc() - Constructor for class com.alibaba.dashscope.conversation.rpc.ConversationHttpRpc
 
ConversationMessage - Class in com.alibaba.dashscope.conversation
 
ConversationMessage() - Constructor for class com.alibaba.dashscope.conversation.ConversationMessage
 
ConversationMessageHeader - Class in com.alibaba.dashscope.conversation
 
ConversationMessageHeader() - Constructor for class com.alibaba.dashscope.conversation.ConversationMessageHeader
 
ConversationMessagePayload - Class in com.alibaba.dashscope.conversation
 
ConversationMessagePayload() - Constructor for class com.alibaba.dashscope.conversation.ConversationMessagePayload
 
ConversationMessageStatus - Class in com.alibaba.dashscope.conversation
 
ConversationMessageStatus() - Constructor for class com.alibaba.dashscope.conversation.ConversationMessageStatus
 
ConversationParam - Class in com.alibaba.dashscope.conversation
 
ConversationParam() - Constructor for class com.alibaba.dashscope.conversation.ConversationParam
 
ConversationResult - Class in com.alibaba.dashscope.conversation
 
ConversationResult() - Constructor for class com.alibaba.dashscope.conversation.ConversationResult
 
ConversationRpc - Interface in com.alibaba.dashscope.conversation.rpc
 
ConversationWebsocketRpc - Class in com.alibaba.dashscope.conversation.rpc
 
ConversationWebsocketRpc() - Constructor for class com.alibaba.dashscope.conversation.rpc.ConversationWebsocketRpc
 

D

DASHSCOPE_API_KEY_ENV - Static variable in class com.alibaba.dashscope.utils.Constants
 
DASHSCOPE_API_KEY_FILE_PATH_ENV - Static variable in class com.alibaba.dashscope.utils.Constants
 
DASHSCOPE_API_REGION_ENV - Static variable in class com.alibaba.dashscope.utils.Constants
 
DASHSCOPE_API_VERSION_ENV - Static variable in class com.alibaba.dashscope.utils.Constants
 
DASHSCOPE_HTTP_BASE_URL_ENV - Static variable in class com.alibaba.dashscope.utils.Constants
 
DASHSCOPE_WEBSOCKET_BASE_URL_ENV - Static variable in class com.alibaba.dashscope.utils.Constants
 
DEBUG - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
doClose(Status) - Method in class com.alibaba.dashscope.common.ResultCallback
Will be called when the server is on closing, only support the websocket protocol.

E

ERROR - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
ERROR_MESSAGE - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
ERROR_NAME - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
ErrorType - Enum in com.alibaba.dashscope.common
 
EVENT - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
EventType - Enum in com.alibaba.dashscope.conversation
 

F

finalize() - Method in class com.alibaba.dashscope.conversation.rpc.ConversationWebsocketRpc
 
finalize() - Method in class com.alibaba.dashscope.protocol.HttpFactory
 
fromJson(String, Class<T>) - Static method in class com.alibaba.dashscope.utils.JsonUtils
 
Function - Enum in com.alibaba.dashscope.common
 

G

getHttpClient() - Method in class com.alibaba.dashscope.protocol.HttpFactory
 
getInstance() - Static method in class com.alibaba.dashscope.protocol.HttpFactory
 
getMsgId() - Method in class com.alibaba.dashscope.conversation.ConversationParam
 
getParameters() - Method in class com.alibaba.dashscope.conversation.qwen.QWenConversationParam
 
getValue() - Method in enum com.alibaba.dashscope.common.ErrorType
 
getValue() - Method in enum com.alibaba.dashscope.common.Function
 
getValue() - Method in enum com.alibaba.dashscope.common.Protocol
 
getValue() - Method in enum com.alibaba.dashscope.common.Role
 
getValue() - Method in enum com.alibaba.dashscope.common.StreamingMode
 
getValue() - Method in enum com.alibaba.dashscope.common.Task
 
getValue() - Method in enum com.alibaba.dashscope.common.TaskGroup
 
getValue() - Method in enum com.alibaba.dashscope.conversation.EventType
 

H

HEADER - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
HISTORY - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
HTTP_CONNECT_TIMEOUT_ENV - Static variable in class com.alibaba.dashscope.utils.Constants
 
HTTP_CONNECTION_REQUEST_TIMEOUT_ENV - Static variable in class com.alibaba.dashscope.utils.Constants
 
HTTP_SOCKET_TIMEOUT_ENV - Static variable in class com.alibaba.dashscope.utils.Constants
 
HttpFactory - Class in com.alibaba.dashscope.protocol
 

I

init() - Static method in class com.alibaba.dashscope.utils.Constants
 
INPUT - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
INPUT_TOKENS - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 

J

JsonUtils - Class in com.alibaba.dashscope.utils
 
JsonUtils() - Constructor for class com.alibaba.dashscope.utils.JsonUtils
 

L

loadFromMessage(String, String) - Method in class com.alibaba.dashscope.conversation.ConversationResult
Load data from the server output.
loadFromMessage(String, String) - Method in class com.alibaba.dashscope.conversation.qwen.QWenConversationResult
 

M

M6_NUM_WEB_SEARCH - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
M6_SEARCH_IN_FIRST_QUERY - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
MAX_CONNECTIONS_HTTP - Static variable in class com.alibaba.dashscope.utils.Constants
 
max_connections_http - Static variable in class com.alibaba.dashscope.utils.Constants
 
MAX_CONNECTIONS_PER_ROUTE_HTTP - Static variable in class com.alibaba.dashscope.utils.Constants
 
max_connections_per_route_http - Static variable in class com.alibaba.dashscope.utils.Constants
 
MAX_LENGTH - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
MESSAGE - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
MODEL - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 

O

of(String) - Static method in enum com.alibaba.dashscope.common.StreamingMode
 
onClose(Status) - Method in class com.alibaba.dashscope.common.ResultCallback
Will be called as soon as the server closed, only support the websocket protocol.
onError(Exception) - Method in class com.alibaba.dashscope.common.ResultCallback
Will be called when an Exception occurs.
onEvent(String, T) - Method in class com.alibaba.dashscope.common.ResultCallback
Will be called as soon as the server replies
onOpen(Status) - Method in class com.alibaba.dashscope.common.ResultCallback
Will be called as soon as the connection is established, only support the websocket protocol.
OUTPUT_TOKENS - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 

P

PARAMETERS - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
parse(String) - Static method in class com.alibaba.dashscope.utils.JsonUtils
 
PAYLOAD - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
PROMPT - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
Protocol - Enum in com.alibaba.dashscope.common
 

Q

QWEN_V1 - Static variable in class com.alibaba.dashscope.conversation.qwen.QWenConversationParam
 
QWenConversationParam - Class in com.alibaba.dashscope.conversation.qwen
 
QWenConversationParam() - Constructor for class com.alibaba.dashscope.conversation.qwen.QWenConversationParam
 
QWenConversationResult - Class in com.alibaba.dashscope.conversation.qwen
 
QWenConversationResult() - Constructor for class com.alibaba.dashscope.conversation.qwen.QWenConversationResult
 

R

REQUEST_ID - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
ResultCallback<T> - Class in com.alibaba.dashscope.common
 
ResultCallback() - Constructor for class com.alibaba.dashscope.common.ResultCallback
 
resultType() - Method in class com.alibaba.dashscope.conversation.ConversationParam
Get the related server output structure, which should be a subclass of `ConversationResult`.
resultType() - Method in class com.alibaba.dashscope.conversation.qwen.QWenConversationParam
 
Role - Enum in com.alibaba.dashscope.common
 

S

SOCKET_TIMEOUT - Static variable in class com.alibaba.dashscope.utils.Constants
 
Status - Class in com.alibaba.dashscope.common
 
Status() - Constructor for class com.alibaba.dashscope.common.Status
 
streamCall(ConversationParam) - Method in interface com.alibaba.dashscope.BaseConversation
Call the server to get the result by stream.
streamCall(ConversationParam) - Method in class com.alibaba.dashscope.conversation.Conversation
Call the server to get the result by stream.
STREAMING - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
StreamingMode - Enum in com.alibaba.dashscope.common
 

T

Task - Enum in com.alibaba.dashscope.common
 
TASK_GROUP - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
TaskGroup - Enum in com.alibaba.dashscope.common
 
TASKID - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
TEXT - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
toJson(Object) - Static method in class com.alibaba.dashscope.utils.JsonUtils
 
toJsonObject(Object) - Static method in class com.alibaba.dashscope.utils.JsonUtils
 
TOP_P - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 
toString() - Method in exception com.alibaba.dashscope.exception.ApiException
 

U

url() - Method in class com.alibaba.dashscope.conversation.ConversationParam
The url suffix to call the server side.
url() - Method in class com.alibaba.dashscope.conversation.qwen.QWenConversationParam
 
USAGE - Static variable in class com.alibaba.dashscope.utils.ApiKeywords
 

V

valueOf(String) - Static method in enum com.alibaba.dashscope.common.ErrorType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.alibaba.dashscope.common.Function
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.alibaba.dashscope.common.Protocol
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.alibaba.dashscope.common.Role
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.alibaba.dashscope.common.StreamingMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.alibaba.dashscope.common.Task
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.alibaba.dashscope.common.TaskGroup
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.alibaba.dashscope.conversation.EventType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.alibaba.dashscope.common.ErrorType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.alibaba.dashscope.common.Function
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.alibaba.dashscope.common.Protocol
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.alibaba.dashscope.common.Role
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.alibaba.dashscope.common.StreamingMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.alibaba.dashscope.common.Task
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.alibaba.dashscope.common.TaskGroup
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.alibaba.dashscope.conversation.EventType
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebsocketConnectionStatus - Class in com.alibaba.dashscope.conversation
 
WebsocketConnectionStatus() - Constructor for class com.alibaba.dashscope.conversation.WebsocketConnectionStatus
 
A B C D E F G H I J L M O P Q R S T U V W 
Skip navigation links

Copyright © 2023. All rights reserved.