Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dashscope/dashscope-sdk-java
/ functions
Functions
2,266 in github.com/dashscope/dashscope-sdk-java
⨍
Functions
2,266
◇
Types & classes
731
↓ 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:632
↓ 2 callers
Method
files
()
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioClient.java:112
↓ 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
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
getParameters
()
src/main/java/com/alibaba/dashscope/embeddings/TextEmbeddingParam.java:81
↓ 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:62
↓ 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
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
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:263
↓ 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:375
↓ 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
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
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:74
↓ 2 callers
Method
resolveFileId
(SkillCreateParam param)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Skills.java:42
↓ 2 callers
Method
retrieve
(String fileId)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Files.java:67
↓ 2 callers
Method
saveAppendedText
()
src/test/java/com/alibaba/dashscope/ServerSentEvent.java:176
↓ 2 callers
Method
sendBatchRequest
(HalfDuplexRequest req)
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpWebSocketClient.java:498
↓ 2 callers
Method
sendBinaryWithRetry
( String apiKey, boolean isSecurityCheck, ByteString message, String workspace,
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpWebSocketClient.java:456
↓ 2 callers
Method
sendFinishTaskMessage
Sends stop message. Returns true if the message was actually sent.
src/main/java/com/alibaba/dashscope/multimodal/MultiModalDialog.java:593
↓ 2 callers
Method
sendStreamRequest
(FullDuplexRequest req)
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpWebSocketClient.java:730
↓ 2 callers
Method
sessions
()
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioClient.java:96
↓ 2 callers
Method
setRequestOption
(ApiServiceOption serviceOption, String resourceId)
src/main/java/com/alibaba/dashscope/app/Application.java:82
↓ 2 callers
Method
splitByString
(String src, String spliter)
src/main/java/com/alibaba/dashscope/utils/StringUtils.java:23
↓ 2 callers
Method
splitByStrings
(String text, Collection<String> spliters)
src/main/java/com/alibaba/dashscope/utils/StringUtils.java:53
↓ 2 callers
Method
startStream
Start voice transcription: Establish a connection with the server, send a voice transcription request, and synchronously receive confirmation from the
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizer.java:325
↓ 2 callers
Method
startStream
(boolean enableSsml)
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizerV2.java:410
↓ 2 callers
Method
stop
Stops the MultiModalDialog gracefully. Sends a finish message to the server and waits for the server to acknowledge. If the server does not respond wi
src/main/java/com/alibaba/dashscope/multimodal/MultiModalDialog.java:455
↓ 2 callers
Method
streamCall
( RecognitionParam param, Flowable<ByteBuffer> audioFrame)
src/main/java/com/alibaba/dashscope/audio/asr/recognition/Recognition.java:137
↓ 2 callers
Method
streamCall
Streaming call with callback interface. Results are delivered through the callback as they arrive. @param param The synthesis parameters @param callb
src/main/java/com/alibaba/dashscope/audio/http_tts/HttpSpeechSynthesizer.java:109
↓ 2 callers
Method
streamOut
(HalfDuplexRequest req)
src/main/java/com/alibaba/dashscope/protocol/HalfDuplexClient.java:30
↓ 2 callers
Method
streamingComplete
Synchronously stop the streaming input speech synthesis task. Wait for all remaining synthesized audio before returning @param completeTimeoutMillis
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizer.java:527
↓ 2 callers
Method
streamingComplete
(long completeTimeoutMillis)
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizerV2.java:447
↓ 2 callers
Method
submitText
Send text in a streaming manner @param text utf-8 encoded text
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizer.java:499
↓ 2 callers
Method
submitText
(String text)
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizerV2.java:428
↓ 2 callers
Method
submitToolOutputs
Submit tool outputs. @param threadId The thread id. @param runId The run id. @param param The output parameters. @return The `Run` object. @throws Ap
src/main/java/com/alibaba/dashscope/threads/runs/Runs.java:338
↓ 2 callers
Method
toString
()
src/main/java/com/alibaba/dashscope/audio/qwen_tts_realtime/QwenTtsRealtimeAudioFormat.java:41
↓ 2 callers
Method
toString
()
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeModality.java:24
↓ 2 callers
Method
uploadAsync
(String filePath, String mimeType)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Files.java:88
↓ 2 callers
Method
userMessage
(String text)
src/main/java/com/alibaba/dashscope/agentstudio/message/ClientEvents.java:13
↓ 2 callers
Method
validate
()
src/main/java/com/alibaba/dashscope/audio/http_tts/HttpSpeechSynthesisParam.java:105
↓ 2 callers
Method
validate
()
src/main/java/com/alibaba/dashscope/app/ApplicationParam.java:280
↓ 2 callers
Method
validate
()
src/main/java/com/alibaba/dashscope/aigc/completion/ChatCompletionParam.java:210
↓ 2 callers
Method
validate
()
src/main/java/com/alibaba/dashscope/aigc/conversation/ConversationParam.java:191
↓ 2 callers
Method
validate
()
src/main/java/com/alibaba/dashscope/aigc/generation/GenerationParam.java:275
← previous
next →
301–400 of 2,266, ranked by callers