Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dashscope/dashscope-sdk-java
/ functions
Functions
3,001 in github.com/dashscope/dashscope-sdk-java
⨍
Functions
3,001
◇
Types & classes
857
↓ 4 callers
Method
uploadWithCertificate
Upload file to OSS with optional certificate reuse. @param model Model name @param filePath Local file path @param apiKey API key @param certificate
src/main/java/com/alibaba/dashscope/utils/OSSUtils.java:61
↓ 4 callers
Method
userMessage
(String text)
src/main/java/com/alibaba/dashscope/agentstudio/message/ClientEvents.java:13
↓ 4 callers
Method
wsHeaders
(String module)
src/test/java/com/alibaba/dashscope/protocol/TestDashScopeHeaders.java:49
↓ 3 callers
Method
actionOption
(String webhookId, String action)
src/main/java/com/alibaba/dashscope/agentstudio/resource/WebhookEndpoints.java:219
↓ 3 callers
Method
appendAudio
send audio in base64 format @param audioBase64 base64 audio string
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeConversation.java:168
↓ 3 callers
Method
appendInstruction
(String delegationId, String content)
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConversation.java:185
↓ 3 callers
Method
appendThinking
(String delegationId, String content)
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConversation.java:189
↓ 3 callers
Method
assertTrackingHeaders
Asserts the full tracking header set every request must carry, then the module segment.
src/test/java/com/alibaba/dashscope/TestSdkClientTrackingHeader.java:79
↓ 3 callers
Method
build
()
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioClient.java:102
↓ 3 callers
Method
call
Call the server to get the result in the callback function. @param param The input param of class `GenerationParam`. @param callback The callback to
src/main/java/com/alibaba/dashscope/embeddings/TextEmbedding.java:61
↓ 3 callers
Method
call
Call the server to get the whole result. @param param The input param of class `ConversationParam`. @return The output structure of `QWenConversation
src/main/java/com/alibaba/dashscope/aigc/conversation/Conversation.java:84
↓ 3 callers
Method
call
Call the server to get the whole result. @param param The input param of class `ImageGenerationParam`. @return The output structure of `ImageGenerati
src/main/java/com/alibaba/dashscope/aigc/imagegeneration/ImageGeneration.java:115
↓ 3 callers
Method
call
Call the server to get the result. @param param The input param of class `VideoSynthesisParam`. @return The video synthesis result. @throws NoApiKeyE
src/main/java/com/alibaba/dashscope/aigc/videosynthesis/VideoSynthesis.java:178
↓ 3 callers
Method
checkAndUpload
()
src/main/java/com/alibaba/dashscope/aigc/imagesynthesis/ImageSynthesisParam.java:186
↓ 3 callers
Method
checkMultimodalModel
(String model)
src/main/java/com/alibaba/dashscope/aigc/imagesynthesis/ImageSynthesis.java:43
↓ 3 callers
Method
checkResult
( RecordedRequest request, String appId, ApplicationResult result, ApplicationResult t
src/test/java/com/alibaba/dashscope/TestApplication.java:338
↓ 3 callers
Method
choice
(String instructions, Map<String, String> options)
src/main/java/com/alibaba/dashscope/decision/DecisionQuestion.java:53
↓ 3 callers
Method
clearAccumulatedData
Clears accumulated data for the current thread. Should be called when streaming is complete or encounters error.
src/main/java/com/alibaba/dashscope/aigc/generation/Generation.java:663
↓ 3 callers
Method
clearAccumulatedData
Clears accumulated data for the current thread. Should be called when streaming is complete or encounters error.
src/main/java/com/alibaba/dashscope/aigc/imagegeneration/ImageGeneration.java:545
↓ 3 callers
Method
clearAccumulatedData
Clears accumulated data for the current thread. Should be called when streaming is complete or encounters error.
src/main/java/com/alibaba/dashscope/aigc/multimodalconversation/MultiModalConversation.java:526
↓ 3 callers
Method
clearParameters
()
src/main/java/com/alibaba/dashscope/multimodal/MultiModalRequestParam.java:144
↓ 3 callers
Method
close
(int code, String reason)
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpWebSocketClient.java:150
↓ 3 callers
Method
close
()
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioClient.java:159
↓ 3 callers
Method
close
()
src/main/java/com/alibaba/dashscope/agentstudio/resource/Files.java:303
↓ 3 callers
Method
connect
Connect to server, create session and return default session configuration
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeConversation.java:77
↓ 3 callers
Method
createResponse
create response, use audio and video commited before to request llm. When in Server VAD mode, the client does not need to use this method, the server
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeConversation.java:238
↓ 3 callers
Method
createResponseItem
(JsonObject item)
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConversation.java:206
↓ 3 callers
Method
data
Add an SSE "data" line.
src/test/java/com/alibaba/dashscope/ServerSentEvent.java:48
↓ 3 callers
Method
dispatchCallback
(Runnable action)
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConversation.java:366
↓ 3 callers
Method
drainPendingResponseError
Replays the parked terminal error, if any, to the currently attached subscriber.
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpWebSocketClient.java:896
↓ 3 callers
Method
drainRequests
()
src/test/java/com/alibaba/dashscope/TestVoiceEnrollment.java:203
↓ 3 callers
Method
enqueueJsonResponse
()
src/test/java/com/alibaba/dashscope/TestSdkClientTrackingHeader.java:89
↓ 3 callers
Method
fetch
(String taskId, String apiKey)
src/main/java/com/alibaba/dashscope/embeddings/BatchTextEmbedding.java:98
↓ 3 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/audio/asr/recognition/RecognitionResult.java:42
↓ 3 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/audio/asr/transcription/TranscriptionResult.java:37
↓ 3 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/audio/qwen_asr/QwenTranscriptionResult.java:34
↓ 3 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/audio/tts/SpeechSynthesisResult.java:41
↓ 3 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/aigc/conversation/ConversationResult.java:21
↓ 3 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/aigc/codegeneration/CodeGenerationResult.java:22
↓ 3 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/aigc/multimodalconversation/MultiModalConversationResult.java:27
↓ 3 callers
Method
fromStreamInputTtsParam
( SpeechSynthesisParam param, Flowable<TextStreamItem> textStream, String preRequestId
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizer.java:925
↓ 3 callers
Method
getApiKey
()
src/main/java/com/alibaba/dashscope/protocol/FullDuplexRequest.java:33
↓ 3 callers
Method
getDuration
(Duration target, Duration defaultValue, String env)
src/main/java/com/alibaba/dashscope/protocol/ConnectionOptions.java:48
↓ 3 callers
Method
getFirstPackageDelay
First Package Delay is the time between start sending audio and receive first words package
src/main/java/com/alibaba/dashscope/audio/asr/recognition/Recognition.java:518
↓ 3 callers
Method
getFirstPackageDelay
First Package Delay is the time between start sending audio and receive first words package
src/main/java/com/alibaba/dashscope/audio/asr/translation/TranslationRecognizerRealtime.java:516
↓ 3 callers
Method
getFirstPackageDelay
First Package Delay is the time between start sending text and receive first audio package
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizer.java:973
↓ 3 callers
Method
getHalfDuplexClient
(String protocol)
src/main/java/com/alibaba/dashscope/protocol/ClientProviders.java:11
↓ 3 callers
Method
getHeaders
()
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConnectionParam.java:47
↓ 3 callers
Method
getHttpBody
()
src/main/java/com/alibaba/dashscope/decision/DecisionModelParam.java:62
↓ 3 callers
Method
getInput
()
src/test/java/com/alibaba/dashscope/HalfDuplexTestParam.java:29
↓ 3 callers
Method
getInput
()
src/main/java/com/alibaba/dashscope/multimodal/tingwu/TingWuParam.java:23
↓ 3 callers
Method
getLastPackageDelay
Last Package Delay is the time between stop sending audio and receive last words package
src/main/java/com/alibaba/dashscope/audio/asr/recognition/Recognition.java:523
↓ 3 callers
Method
getLastPackageDelay
Last Package Delay is the time between stop sending audio and receive last words package
src/main/java/com/alibaba/dashscope/audio/asr/translation/TranslationRecognizerRealtime.java:521
↓ 3 callers
Method
getMaximumAsyncRequests
()
src/main/java/com/alibaba/dashscope/protocol/ConnectionConfigurations.java:92
↓ 3 callers
Method
getMaximumAsyncRequestsPerHost
()
src/main/java/com/alibaba/dashscope/protocol/ConnectionConfigurations.java:104
↓ 3 callers
Method
getParam
()
src/main/java/com/alibaba/dashscope/agentstudio/resource/Deployments.java:205
↓ 3 callers
Method
getParameters
()
src/main/java/com/alibaba/dashscope/audio/asr/translation/TranslationRecognizerParam.java:42
↓ 3 callers
Method
getRequestIdForLog
(String requestId, Exception error)
src/main/java/com/alibaba/dashscope/audio/http_tts/HttpSpeechSynthesizer.java:43
↓ 3 callers
Method
getRequestIdForLog
()
src/main/java/com/alibaba/dashscope/audio/tts/SpeechSynthesizer.java:41
↓ 3 callers
Method
getRequestIdForLog
()
src/main/java/com/alibaba/dashscope/multimodal/MultiModalDialog.java:63
↓ 3 callers
Method
getStreamTextParam
()
src/test/java/com/alibaba/dashscope/TestFullDuplexErrorHandling.java:65
↓ 3 callers
Method
getTask
()
src/main/java/com/alibaba/dashscope/protocol/ServiceOption.java:14
↓ 3 callers
Method
hasNext
()
src/main/java/com/alibaba/dashscope/agentstudio/resource/AgentStudioEventStream.java:153
↓ 3 callers
Method
isOpen
()
src/main/java/com/alibaba/dashscope/audio/protocol/AudioWebsocketRequest.java:66
↓ 3 callers
Method
isQwenVersionThreeOrHigher
Check if the model is qwen{n} where n is greater than or equal to 3 @param modelName the model name to check @return true if model is qwen{n} where n
src/main/java/com/alibaba/dashscope/utils/ParamUtils.java:16
↓ 3 callers
Method
isSecurityCheck
()
src/main/java/com/alibaba/dashscope/protocol/FullDuplexRequest.java:45
↓ 3 callers
Method
isSentenceEnd
()
src/main/java/com/alibaba/dashscope/audio/asr/translation/results/TranslationResult.java:26
↓ 3 callers
Method
isString
@return {@code true} if this is the Agent ID string form.
src/main/java/com/alibaba/dashscope/agentstudio/param/SessionAgent.java:52
↓ 3 callers
Method
isUpload
()
src/main/java/com/alibaba/dashscope/utils/PreprocessMessageInput.java:369
↓ 3 callers
Method
joinSendFuture
(CompletableFuture<Void> future)
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpWebSocketClient.java:1023
↓ 3 callers
Method
lifecycleAsync
(String deploymentId, String action)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Deployments.java:191
↓ 3 callers
Method
mountPath
(String mountPath)
src/main/java/com/alibaba/dashscope/agentstudio/model/Mount.java:60
↓ 3 callers
Method
notifyError
(Throwable failure)
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConversation.java:381
↓ 3 callers
Method
of
Creates a new audio format config, convenience factory method equivalent to {@code new OmniRealtimeAudioFormatConfig(type, sampleRate)}. @param type
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeAudioFormatConfig.java:88
↓ 3 callers
Method
ofOverride
The Agent override object form ({@code type=agent_with_overrides} with Session-level {@code system}/{@code tools}/{@code mcp_servers}/{@code skills} o
src/main/java/com/alibaba/dashscope/agentstudio/param/SessionAgent.java:44
↓ 3 callers
Method
ofString
The Agent ID string form — pins the latest version for the session. @throws IllegalArgumentException if {@code agentId} is {@code null}.
src/main/java/com/alibaba/dashscope/agentstudio/param/SessionAgent.java:30
↓ 3 callers
Method
parallelToolCalls
()
samples/GenerationToolChoice.java:176
↓ 3 callers
Method
parseFailed
(Response response, Throwable th)
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpHttpClient.java:158
↓ 3 callers
Method
preprocessInput
(ImageGenerationParam param)
src/main/java/com/alibaba/dashscope/aigc/imagegeneration/ImageGeneration.java:324
↓ 3 callers
Method
putIfSet
(Map<String, Object> fields, String key, Object value)
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveSessionConfig.java:75
↓ 3 callers
Method
registerContent
( String type, Class<? extends ContentBase> clazz)
src/main/java/com/alibaba/dashscope/threads/ContentBase.java:11
↓ 3 callers
Method
requestToRespond
Requests response. <p>param: type Response type param: text Response text param: updateParams Update parameters
src/main/java/com/alibaba/dashscope/multimodal/MultiModalDialog.java:413
↓ 3 callers
Method
resolveBaseUrl
Compose the workspace-scoped base URL. Honors {@link #ENV_BASE_URL} first; otherwise both arguments may be null/empty, in which case the corresponding
src/main/java/com/alibaba/dashscope/decision/DecisionModel.java:81
↓ 3 callers
Method
run
(String deploymentId)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Deployments.java:65
↓ 3 callers
Method
runAsync
(String deploymentId)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Deployments.java:150
↓ 3 callers
Method
runSample
( QwenLiveConnectionParam param, Path input, Path output, long idle, long timeout)
src/test/java/com/alibaba/dashscope/audio/live/QwenLiveQuickStartChecks.java:303
↓ 3 callers
Method
score
(String instructions, List<String> levels)
src/main/java/com/alibaba/dashscope/decision/DecisionQuestion.java:87
↓ 3 callers
Method
sendBinaryWithRetry
(WebSocket wSocket, ByteString message)
src/test/java/com/alibaba/dashscope/TestHalfDuplexWebSocketApi.java:101
↓ 3 callers
Method
sendDelegationContent
(String type, String delegationId, String content)
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConversation.java:197
↓ 3 callers
Method
sendTextWithRetry
( String apiKey, boolean isSecurityCheck, String message, String workspace, Map<
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpWebSocketClient.java:627
↓ 3 callers
Method
setUseDefaultClient
(boolean useDefaultClient)
src/main/java/com/alibaba/dashscope/protocol/ConnectionOptions.java:93
↓ 3 callers
Method
shouldModifyIncrementalOutput
Check if the increment_output parameter should be modified for the given model @param modelName the model name to check @return false if model contai
src/main/java/com/alibaba/dashscope/utils/ParamUtils.java:54
↓ 3 callers
Method
stopSynthesizer
()
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizerV2.java:261
↓ 3 callers
Method
streamCall
Call the server to get the result by stream. @param param The input param of class `ConversationParam`. @return A `Flowable` of the output structure.
src/main/java/com/alibaba/dashscope/aigc/conversation/Conversation.java:135
↓ 3 callers
Method
streamingComplete
(long completeTimeoutMillis)
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizerV2.java:500
↓ 3 callers
Method
stringField
(JsonObject object, String field)
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConversation.java:263
↓ 3 callers
Method
toJsonElement
Serialize this reference to JSON: a string primitive or an override object.
src/main/java/com/alibaba/dashscope/agentstudio/param/SessionAgent.java:70
↓ 3 callers
Method
toString
()
src/main/java/com/alibaba/dashscope/tokenizers/EncodeBytesEntity.java:37
↓ 3 callers
Method
updateSession
Update session configuration, should be used before create response @param config session configuration
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeConversation.java:136
↓ 3 callers
Method
userAgent
()
src/main/java/com/alibaba/dashscope/protocol/DashScopeHeaders.java:47
← previous
next →
301–400 of 3,001, ranked by callers