Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dashscope/dashscope-sdk-java
/ functions
Functions
2,377 in github.com/dashscope/dashscope-sdk-java
⨍
Functions
2,377
◇
Types & classes
758
↓ 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:198
↓ 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:153
↓ 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:164
↓ 2 callers
Method
checkAndUpload
()
src/main/java/com/alibaba/dashscope/aigc/videosynthesis/VideoSynthesisParam.java:267
↓ 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
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:163
↓ 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:189
↓ 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:42
↓ 2 callers
Method
data
(Object object)
src/test/java/com/alibaba/dashscope/ServerSentEvent.java:92
↓ 2 callers
Method
deploymentRuns
()
src/test/java/com/alibaba/dashscope/TestAgentStudioDeployments.java:219
↓ 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:793
↓ 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
establishWebSocketClient
( String apiKey, boolean isSecurityCheck, String workspace, Map<String, String> custom
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpWebSocketClient.java:158
↓ 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:817
↓ 2 callers
Method
files
()
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioClient.java:126
↓ 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
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/aigc/multimodalconversation/MultiModalConversationResult.java:27
↓ 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
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
getErrorCode
()
src/main/java/com/alibaba/dashscope/common/PublicErrorDef.java:93
↓ 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:195
↓ 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:247
↓ 2 callers
Method
getFirstTextDelay
()
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeConversation.java:292
↓ 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/multimodal/tingwu/TingWuRealtimeParam.java:34
↓ 2 callers
Method
getHttpMethod
()
src/main/java/com/alibaba/dashscope/protocol/ServiceOption.java:30
↓ 2 callers
Method
getHttpRequest
()
src/main/java/com/alibaba/dashscope/protocol/HalfDuplexRequest.java:96
↓ 2 callers
Method
getInput
()
src/test/java/com/alibaba/dashscope/HalfDuplexTestParam.java:29
↓ 2 callers
Method
getModal
()
src/main/java/com/alibaba/dashscope/aigc/multimodalconversation/MultiModalMessageItemBase.java:4
↓ 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/embeddings/TextEmbeddingParam.java:81
↓ 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
getResponseId
()
src/main/java/com/alibaba/dashscope/audio/qwen_tts_realtime/QwenTtsRealtime.java:191
↓ 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:66
↓ 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
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
hasNext
()
src/main/java/com/alibaba/dashscope/agentstudio/resource/AgentStudioEventStream.java:112
↓ 2 callers
Method
id
Add an SSE "id" line.
src/test/java/com/alibaba/dashscope/ServerSentEvent.java:36
↓ 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:295
↓ 2 callers
Method
isEncryptRequest
()
src/main/java/com/alibaba/dashscope/protocol/HalfDuplexRequest.java:78
↓ 2 callers
Method
isValidPath
(String pathString)
src/main/java/com/alibaba/dashscope/utils/PreprocessMessageInput.java:20
↓ 2 callers
Method
list
(AsyncTaskListParam param)
src/main/java/com/alibaba/dashscope/embeddings/BatchTextEmbedding.java:79
↓ 2 callers
Method
listRuns
(String deploymentId, DeploymentRunListParam param)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Deployments.java:69
↓ 2 callers
Method
listVersions
(String skillId, SkillListParam param)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Skills.java:90
↓ 2 callers
Method
localRespondingEnded
Local player broadcast tts end
src/main/java/com/alibaba/dashscope/multimodal/MultiModalDialog.java:378
↓ 2 callers
Method
localRespondingStarted
Local player start broadcast tts
src/main/java/com/alibaba/dashscope/multimodal/MultiModalDialog.java:373
↓ 2 callers
Method
mergePair
(EncodeBytesEntity first, EncodeBytesEntity second)
src/main/java/com/alibaba/dashscope/tokenizers/QwenTokenizer.java:91
↓ 2 callers
Method
mergeSingleResponse
Merges a single GenerationResult with accumulated data for non-incremental output simulation. This method accumulates content and tool_calls from stre
src/main/java/com/alibaba/dashscope/aigc/generation/Generation.java:284
↓ 2 callers
Method
mergeSingleResponse
Merges a single ImageGenerationResult with accumulated data for non-incremental output simulation. This method accumulates text content and tool_calls
src/main/java/com/alibaba/dashscope/aigc/imagegeneration/ImageGeneration.java:374
↓ 2 callers
Method
mergeSingleResponse
Merges a single MultiModalConversationResult with accumulated data for non-incremental output simulation. This method accumulates text content and too
src/main/java/com/alibaba/dashscope/aigc/multimodalconversation/MultiModalConversation.java:312
↓ 2 callers
Method
nextEvent
()
src/test/java/com/alibaba/dashscope/WebSocketRecorder.java:150
↓ 2 callers
Method
onComplete
()
samples/TextEmbeddingUsage.java:38
↓ 2 callers
Method
onComplete
()
src/main/java/com/alibaba/dashscope/audio/asr/recognition/Recognition.java:278
↓ 2 callers
Method
onComplete
()
src/main/java/com/alibaba/dashscope/audio/asr/translation/TranslationRecognizerRealtime.java:273
↓ 2 callers
Method
onComplete
()
src/main/java/com/alibaba/dashscope/audio/asr/translation/TranslationRecognizerChat.java:218
↓ 2 callers
Method
onComplete
()
src/main/java/com/alibaba/dashscope/multimodal/MultiModalDialog.java:320
↓ 2 callers
Method
onComplete
()
src/main/java/com/alibaba/dashscope/multimodal/tingwu/TingWuRealtime.java:221
↓ 2 callers
Method
onEvent
(DashScopeResult message)
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizer.java:397
↓ 2 callers
Method
onMessage
(WebSocket webSocket, String text)
src/main/java/com/alibaba/dashscope/audio/protocol/AudioWebsocketCallback.java:11
↓ 2 callers
Method
parseFailed
(Response response)
src/main/java/com/alibaba/dashscope/utils/OSSUtils.java:165
↓ 2 callers
Method
parseJson
(String raw, String logMsg)
src/main/java/com/alibaba/dashscope/common/DashScopeResult.java:220
↓ 2 callers
Method
parseStreamEventData
(String data)
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpHttpClient.java:56
↓ 2 callers
Method
preProcessMessageInputs
Preprocess message inputs with certificate reuse support. @param model Model name @param messages List of message items @param apiKey API key @param
src/main/java/com/alibaba/dashscope/utils/PreprocessMessageInput.java:103
↓ 2 callers
Method
preProcessMultiModalMessageInputs
Preprocess multimodal message inputs with certificate reuse. @param model Model name @param messages Multimodal message @param apiKey API key @param
src/main/java/com/alibaba/dashscope/utils/PreprocessMessageInput.java:293
↓ 2 callers
Method
preprocessInput
(MultiModalConversationParam param)
src/main/java/com/alibaba/dashscope/aigc/multimodalconversation/MultiModalConversation.java:242
↓ 2 callers
Method
read
(JsonReader in)
src/main/java/com/alibaba/dashscope/aigc/multimodalconversation/MultiModalConversationMessageAdapter.java:31
↓ 2 callers
Method
releaseLatches
Release stopLatch/startLatch/firstAudioLatch to unblock any waiting threads.
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizer.java:522
↓ 2 callers
Method
reset
Reset SDK, should be called before reuse SDK object.
src/main/java/com/alibaba/dashscope/audio/asr/translation/TranslationRecognizerRealtime.java:464
↓ 2 callers
Method
resolveBaseUrl
(String workspace, String region)
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioConstants.java:81
↓ 2 callers
Method
resolveFileId
(SkillCreateParam param)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Skills.java:42
↓ 2 callers
Method
resolveUploadBaseUrl
()
src/main/java/com/alibaba/dashscope/agentstudio/resource/Files.java:309
↓ 2 callers
Method
retrieve
(String fileId)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Files.java:67
← previous
next →
301–400 of 2,377, ranked by callers