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
↓ 3 callers
Method
validate
()
src/test/java/com/alibaba/dashscope/HalfDuplexTestParam.java:63
↓ 3 callers
Method
wait
Wait for async task completed and return task result. @param taskId The async task id. @param apiKey The api-key. @param baseUrl The base http url. @
src/main/java/com/alibaba/dashscope/api/AsynchronousApi.java:85
↓ 3 callers
Method
withBaseUrl
Build a client that targets an explicit base URL, bypassing workspace/region resolution. Intended for tests, self-hosted gateways, and the Token Plan
src/main/java/com/alibaba/dashscope/decision/DecisionModel.java:140
↓ 2 callers
Method
FromRecognitionParam
( RecognitionParam param, Flowable<?> streamData, String preRequestId)
src/main/java/com/alibaba/dashscope/audio/asr/recognition/Recognition.java:77
↓ 2 callers
Method
FromTranslationRecognizerParam
( TranslationRecognizerParam param, Flowable<ByteBuffer> audioStream, String preRequestId)
src/main/java/com/alibaba/dashscope/audio/asr/translation/TranslationRecognizerRealtime.java:77
↓ 2 callers
Method
access
(String access)
src/main/java/com/alibaba/dashscope/agentstudio/model/Mount.java:95
↓ 2 callers
Method
addSdkTrackingHeaders
Add SDK tracking headers to the given map. These headers are set first so that user-supplied customHeaders can override them.
src/main/java/com/alibaba/dashscope/protocol/DashScopeHeaders.java:88
↓ 2 callers
Method
after
()
src/test/java/com/alibaba/dashscope/TestAssistants.java:75
↓ 2 callers
Method
after
()
src/test/java/com/alibaba/dashscope/TestMessages.java:65
↓ 2 callers
Method
after
()
src/test/java/com/alibaba/dashscope/TestRuns.java:83
↓ 2 callers
Method
agents
()
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioClient.java:107
↓ 2 callers
Method
asyncCall
@param param The async embedding request parameter, class `AsyncTextEmbeddingParam` @return The async task information of `AsyncTextEmbeddingResult` @
src/main/java/com/alibaba/dashscope/embeddings/BatchTextEmbedding.java:74
↓ 2 callers
Method
asyncCall
Async call @param param The input param of class VideoSynthesisParam @return The video synthesis result. @throws NoApiKeyException Can not find api k
src/main/java/com/alibaba/dashscope/aigc/videosynthesis/VideoSynthesis.java:153
↓ 2 callers
Method
baseUrl
(String baseUrl)
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioClient.java:82
↓ 2 callers
Method
before
()
src/test/java/com/alibaba/dashscope/TestAssistants.java:67
↓ 2 callers
Method
before
()
src/test/java/com/alibaba/dashscope/TestMessages.java:57
↓ 2 callers
Method
before
()
src/test/java/com/alibaba/dashscope/TestRuns.java:75
↓ 2 callers
Method
build
()
src/test/java/com/alibaba/dashscope/ServerSentEvent.java:166
↓ 2 callers
Method
buildFunction
()
src/test/java/com/alibaba/dashscope/TestAssistants.java:80
↓ 2 callers
Method
buildFunction
()
src/test/java/com/alibaba/dashscope/TestRuns.java:88
↓ 2 callers
Method
buildRagResult
()
src/test/java/com/alibaba/dashscope/TestApplication.java:263
↓ 2 callers
Method
buildRequest
(HttpRequest req)
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpHttpClient.java:247
↓ 2 callers
Method
call
()
samples/GenerationToolChoice.java:41
↓ 2 callers
Method
call
()
samples/ChatCompletionTest.java:62
↓ 2 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/MultiModalEmbedding.java:63
↓ 2 callers
Method
call
Call the server to get the whole result, only http protocol @param param The input param of class `UnderstandingParam`. @return The output structure
src/main/java/com/alibaba/dashscope/nlp/understanding/Understanding.java:64
↓ 2 callers
Method
call
Call the server to get the result. @param param The input param of class `ImageSynthesisParam`. @return The image synthesis result. @throws NoApiKeyE
src/main/java/com/alibaba/dashscope/aigc/imagesynthesis/ImageSynthesis.java:182
↓ 2 callers
Method
callAndReturnAudio
Streaming call that returns audio data as a ByteBuffer. This method blocks until the audio data is fully received. @param param The synthesis paramet
src/main/java/com/alibaba/dashscope/audio/http_tts/HttpSpeechSynthesizer.java:190
↓ 2 callers
Method
checkAndUpload
()
src/main/java/com/alibaba/dashscope/aigc/videosynthesis/VideoSynthesisParam.java:272
↓ 2 callers
Method
checkAndUploadImage
Check and upload multiple images without certificate reuse (legacy). @param model Model name @param values Map of image values @param apiKey API key
src/main/java/com/alibaba/dashscope/utils/PreprocessInputImage.java:54
↓ 2 callers
Method
checkAndUploadOneImage
Check and upload one image with certificate reuse support. @param model Model name @param apiKey API key @param value Image file path @param certific
src/main/java/com/alibaba/dashscope/utils/PreprocessInputImage.java:71
↓ 2 callers
Method
checkFailure
(AtomicReference<Throwable> failure)
samples/QwenLiveQuickStart.java:158
↓ 2 callers
Method
checkResult
(UnderstandingResult result, RecordedRequest request, String expectBody)
src/test/java/com/alibaba/dashscope/TestUnderstanding.java:66
↓ 2 callers
Method
close
()
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizerV2.java:177
↓ 2 callers
Method
commit
Commit the audio and video sent before. When in Server VAD mode, the client does not need to use this method, the server will commit the audio automat
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeConversation.java:211
↓ 2 callers
Method
connect
()
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizerV2.java:160
↓ 2 callers
Method
createApi
Creates a per-request ApiServiceOption with the specified SSE setting.
src/main/java/com/alibaba/dashscope/audio/http_tts/HttpSpeechSynthesizer.java:57
↓ 2 callers
Method
createResponse
()
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConversation.java:213
↓ 2 callers
Method
createVoice
创建新克隆音色 @param targetModel 克隆音色对应的语音识别模型版本 @param prefix 音色自定义前缀,仅允许数字和小写字母,小于十个字符。 @param url 用于克隆的音频文件url @return Voice 音色对象 @throws NoApiKeyExcept
src/main/java/com/alibaba/dashscope/audio/ttsv2/enrollment/VoiceEnrollmentService.java:62
↓ 2 callers
Method
data
(Object object)
src/test/java/com/alibaba/dashscope/ServerSentEvent.java:92
↓ 2 callers
Method
defaultServiceOption
()
src/main/java/com/alibaba/dashscope/decision/DecisionModel.java:63
↓ 2 callers
Method
deliverClose
(int code, String reason)
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConversation.java:507
↓ 2 callers
Method
deploymentRuns
()
src/test/java/com/alibaba/dashscope/TestAgentStudioDeployments.java:227
↓ 2 callers
Method
dispatch
(Runnable callback)
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveCallbackDispatcher.java:33
↓ 2 callers
Method
emitResponseError
Publishes a terminal error on the response stream. When no subscriber is attached yet, the error is parked and replayed as soon as one subscribes: a f
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpWebSocketClient.java:884
↓ 2 callers
Method
encodeOrdinary
Encoding that ignores any special tokens. There is no guarantee that the results will be completely consistent with the model output. Compared with th
src/main/java/com/alibaba/dashscope/tokenizers/Tokenizer.java:18
↓ 2 callers
Method
endpointActionAsync
(String webhookId, String action)
src/main/java/com/alibaba/dashscope/agentstudio/resource/WebhookEndpoints.java:211
↓ 2 callers
Method
establishWebSocketClient
( String apiKey, boolean isSecurityCheck, String workspace, Map<String, String> custom
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpWebSocketClient.java:191
↓ 2 callers
Method
executeStreamRequest
Core streaming request logic. Extracted to allow subclasses to use different executors.
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpWebSocketClient.java:908
↓ 2 callers
Method
extractSessionStatus
(Message msg)
src/main/java/com/alibaba/dashscope/agentstudio/resource/AgentStudioEventStream.java:270
↓ 2 callers
Method
failureResponse
(String requestId)
src/test/java/com/alibaba/dashscope/protocol/okhttp/TestWebSocketRequestIdLogging.java:66
↓ 2 callers
Method
files
()
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioClient.java:139
↓ 2 callers
Method
from
(Object type)
src/main/java/com/alibaba/dashscope/common/ResponseFormat.java:34
↓ 2 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/embeddings/TextEmbeddingResult.java:25
↓ 2 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/embeddings/MultiModalEmbeddingResult.java:25
↓ 2 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/tokenizers/TokenizationResult.java:19
↓ 2 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/nlp/understanding/UnderstandingResult.java:20
↓ 2 callers
Method
fromDashScopeResult
(DashScopeResult result)
src/main/java/com/alibaba/dashscope/aigc/completion/ChatCompletion.java:40
↓ 2 callers
Method
fromDashScopeResult
(DashScopeResult dashscopeResult)
src/main/java/com/alibaba/dashscope/aigc/completion/ChatCompletionChunk.java:53
↓ 2 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/aigc/generation/GenerationResult.java:29
↓ 2 callers
Method
fromValue
(String value)
src/main/java/com/alibaba/dashscope/threads/AssistantStreamEvents.java:80
↓ 2 callers
Method
generateMixData
(int n, int maxLength)
src/test/java/com/alibaba/dashscope/TestFullDuplexApi.java:173
↓ 2 callers
Method
getBinaryData
()
src/main/java/com/alibaba/dashscope/task/AsyncTaskParam.java:36
↓ 2 callers
Method
getCertificate
()
src/main/java/com/alibaba/dashscope/utils/PreprocessMessageInput.java:373
↓ 2 callers
Method
getConfig
()
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveSessionConfig.java:29
↓ 2 callers
Method
getCustomHeaders
()
src/main/java/com/alibaba/dashscope/audio/asr/transcription/TranscriptionQueryParam.java:16
↓ 2 callers
Method
getCustomHeaders
()
src/main/java/com/alibaba/dashscope/audio/qwen_asr/QwenTranscriptionQueryParam.java:16
↓ 2 callers
Method
getEventDelta
Delta payload from {@code event_delta} frames.
src/main/java/com/alibaba/dashscope/agentstudio/message/Message.java:197
↓ 2 callers
Method
getEventStart
{@code {id, type}} from {@code event_start} frames (preview, no content).
src/main/java/com/alibaba/dashscope/agentstudio/message/Message.java:180
↓ 2 callers
Method
getFileUrl
()
src/main/java/com/alibaba/dashscope/utils/PreprocessInputImage.java:149
↓ 2 callers
Method
getFileUrl
()
src/main/java/com/alibaba/dashscope/utils/PreprocessMessageInput.java:388
↓ 2 callers
Method
getFirstAudioDelay
()
src/main/java/com/alibaba/dashscope/audio/qwen_tts_realtime/QwenTtsRealtime.java:209
↓ 2 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/tts/SpeechSynthesizer.java:285
↓ 2 callers
Method
getFirstTextDelay
()
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeConversation.java:314
↓ 2 callers
Method
getHeaders
()
src/main/java/com/alibaba/dashscope/audio/qwen_tts_realtime/QwenTtsRealtimeParam.java:38
↓ 2 callers
Method
getHeaders
()
src/main/java/com/alibaba/dashscope/common/GeneralGetParam.java:37
↓ 2 callers
Method
getHeaders
()
src/main/java/com/alibaba/dashscope/multimodal/tingwu/TingWuRealtimeParam.java:34
↓ 2 callers
Method
getHttpBody
()
src/main/java/com/alibaba/dashscope/agentstudio/param/AgentUpdateParam.java:40
↓ 2 callers
Method
getHttpMethod
()
src/main/java/com/alibaba/dashscope/protocol/ServiceOption.java:30
↓ 2 callers
Method
getModal
()
src/main/java/com/alibaba/dashscope/aigc/multimodalconversation/MultiModalMessageItemBase.java:4
↓ 2 callers
Method
getModel
The model id, or null when unset; the full config is {@code getModelConfig()}.
src/main/java/com/alibaba/dashscope/agentstudio/param/AgentUpdateParam.java:78
↓ 2 callers
Method
getModule
()
src/main/java/com/alibaba/dashscope/protocol/HalfDuplexRequest.java:224
↓ 2 callers
Method
getNewOkHttpClient
(ConnectionOptions connectionOptions)
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpClientFactory.java:77
↓ 2 callers
Method
getOutputMode
()
src/main/java/com/alibaba/dashscope/protocol/ServiceOption.java:24
↓ 2 callers
Method
getParam
()
src/main/java/com/alibaba/dashscope/agentstudio/resource/DeploymentRuns.java:75
↓ 2 callers
Method
getParameters
()
src/main/java/com/alibaba/dashscope/audio/tts/SpeechSynthesisParam.java:57
↓ 2 callers
Method
getParameters
()
src/main/java/com/alibaba/dashscope/multimodal/tingwu/TingWuRealtimeParam.java:39
↓ 2 callers
Method
getPendingToolApprovals
Suspend signal {@code {batch_id, call_ids}} from metadata while the approval barrier is up.
src/main/java/com/alibaba/dashscope/agentstudio/message/Message.java:123
↓ 2 callers
Method
getResponseId
()
src/main/java/com/alibaba/dashscope/audio/qwen_tts_realtime/QwenTtsRealtime.java:205
↓ 2 callers
Method
getStartTaskMessage
()
src/main/java/com/alibaba/dashscope/protocol/FullDuplexRequest.java:90
↓ 2 callers
Method
getStopReason
Extract stop_reason from a session_status event's data block. <p>The SSE session_status idle event carries stop_reason in its data: {@code {"stop_rea
src/main/java/com/alibaba/dashscope/agentstudio/message/Message.java:84
↓ 2 callers
Method
getStreamBinaryParam
()
src/test/java/com/alibaba/dashscope/TestFullDuplexApi.java:129
↓ 2 callers
Method
getStreamingData
()
src/test/java/com/alibaba/dashscope/FullDuplexTestParam.java:40
↓ 2 callers
Method
getTaskGroup
()
src/main/java/com/alibaba/dashscope/protocol/ServiceOption.java:10
↓ 2 callers
Method
getToolApprovalRequest
{@code tool_approval_request} payload: batch_id/call_id/name/arguments/tool_type.
src/main/java/com/alibaba/dashscope/agentstudio/message/Message.java:111
↓ 2 callers
Method
getTranslation
(String language)
src/main/java/com/alibaba/dashscope/audio/asr/translation/results/TranslationResult.java:18
↓ 2 callers
Method
getType
()
src/main/java/com/alibaba/dashscope/tools/ToolCallBase.java:29
↓ 2 callers
Method
getWebSocketPayload
()
src/main/java/com/alibaba/dashscope/protocol/FullDuplexRequest.java:49
↓ 2 callers
Method
intSetting
Reads an int setting from the system property first, then from the environment variable, and falls back to the default value when both are absent or m
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpWebSocketClient.java:333
↓ 2 callers
Method
isBlank
(String value)
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConnectionParam.java:103
← previous
next →
401–500 of 3,001, ranked by callers