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
↓ 4 callers
Method
register
(String type, Class<? extends T> clazz)
src/main/java/com/alibaba/dashscope/common/TypeRegistry.java:11
↓ 4 callers
Method
registerToolCall
( String toolType, Class<? extends ToolCallBase> clazz)
src/main/java/com/alibaba/dashscope/tools/ToolCallBase.java:12
↓ 4 callers
Method
releaseConnectionWaiter
Completes the connection emitter so that the thread blocked in establishWebSocketClient() returns immediately instead of waiting for the connect timeo
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpWebSocketClient.java:151
↓ 4 callers
Method
releaseLatches
Release startLatch and stopLatch to unblock any waiting threads.
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizerV2.java:175
↓ 4 callers
Method
reset
()
src/main/java/com/alibaba/dashscope/audio/asr/recognition/Recognition.java:457
↓ 4 callers
Method
sendTaskMessage
(String action, JsonObject input)
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizerV2.java:187
↓ 4 callers
Method
streamCall
app completion call for http request by sse stream @param param app completion params @return flowable stream of app completion result @throws ApiExc
src/main/java/com/alibaba/dashscope/app/Application.java:72
↓ 4 callers
Method
streamCall
Call the server to get the result by stream. @param param The input param of class `CodeGenerationParam`. @return A `Flowable` of the output structur
src/main/java/com/alibaba/dashscope/aigc/codegeneration/CodeGeneration.java:136
↓ 4 callers
Method
submitStreamToolOutputs
Submit tool outputs, and return stream result. @param threadId The thread id. @param runId The run id. @param param The output parameters. @return Th
src/main/java/com/alibaba/dashscope/threads/runs/Runs.java:456
↓ 4 callers
Method
upload
(String filePath, String mimeType)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Files.java:59
↓ 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
↓ 3 callers
Method
appendAudio
send audio in base64 format @param audioBase64 base64 audio string
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeConversation.java:154
↓ 3 callers
Method
build
()
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioClient.java:93
↓ 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:175
↓ 3 callers
Method
checkAndUpload
()
src/main/java/com/alibaba/dashscope/aigc/imagesynthesis/ImageSynthesisParam.java:186
↓ 3 callers
Method
checkResult
( RecordedRequest request, String appId, ApplicationResult result, ApplicationResult t
src/test/java/com/alibaba/dashscope/TestApplication.java:338
↓ 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:501
↓ 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:117
↓ 3 callers
Method
close
()
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioClient.java:138
↓ 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:63
↓ 3 callers
Method
create
(SkillCreateParam param)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Skills.java:61
↓ 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:216
↓ 3 callers
Method
data
Add an SSE "data" line.
src/test/java/com/alibaba/dashscope/ServerSentEvent.java:48
↓ 3 callers
Method
delete
(String fileId)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Files.java:79
↓ 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:805
↓ 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
fromStreamInputTtsParam
( SpeechSynthesisParam param, Flowable<TextStreamItem> textStream, String preRequestId
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizer.java:888
↓ 3 callers
Method
getApiKey
()
src/main/java/com/alibaba/dashscope/protocol/FullDuplexRequest.java:33
↓ 3 callers
Method
getBaseHttpUrl
()
src/main/java/com/alibaba/dashscope/protocol/ServiceOption.java:34
↓ 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:468
↓ 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:477
↓ 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:936
↓ 3 callers
Method
getHalfDuplexClient
(String protocol)
src/main/java/com/alibaba/dashscope/protocol/ClientProviders.java:11
↓ 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:473
↓ 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:482
↓ 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
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
getValue
()
src/main/java/com/alibaba/dashscope/audio/asr/recognition/RecognitionState.java:15
↓ 3 callers
Method
isOpen
()
src/main/java/com/alibaba/dashscope/audio/protocol/AudioWebsocketRequest.java:29
↓ 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
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:915
↓ 3 callers
Method
lifecycleAsync
(String deploymentId, String action)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Deployments.java:191
↓ 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
onClose
(int code, String reason)
src/main/java/com/alibaba/dashscope/audio/protocol/AudioWebsocketCallback.java:17
↓ 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:134
↓ 3 callers
Method
preprocessInput
(ImageGenerationParam param)
src/main/java/com/alibaba/dashscope/aigc/imagegeneration/ImageGeneration.java:324
↓ 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:397
↓ 3 callers
Method
runAsync
(String deploymentId)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Deployments.java:150
↓ 3 callers
Method
sendBinaryWithRetry
(WebSocket wSocket, ByteString message)
src/test/java/com/alibaba/dashscope/TestHalfDuplexWebSocketApi.java:101
↓ 3 callers
Method
sendTextWithRetry
( String apiKey, boolean isSecurityCheck, String message, String workspace, Map<
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpWebSocketClient.java:554
↓ 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:244
↓ 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:477
↓ 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:122
↓ 3 callers
Method
userAgent
()
src/main/java/com/alibaba/dashscope/protocol/DashScopeHeaders.java:13
↓ 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
↓ 2 callers
Method
FromRecognitionParam
( RecognitionParam param, Flowable<ByteBuffer> audioStream, String preRequestId)
src/main/java/com/alibaba/dashscope/audio/asr/recognition/Recognition.java:72
↓ 2 callers
Method
FromTranslationRecognizerParam
( TranslationRecognizerParam param, Flowable<ByteBuffer> audioStream, String preRequestId)
src/main/java/com/alibaba/dashscope/audio/asr/translation/TranslationRecognizerRealtime.java:71
↓ 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:98
↓ 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:150
↓ 2 callers
Method
baseUrl
(String baseUrl)
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioClient.java:73
↓ 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
buildHttpHeaders
( String apiKey, Boolean isSecurityCheck, Protocol protocol, Boolean isSSE, Bool
src/main/java/com/alibaba/dashscope/protocol/DashScopeHeaders.java:61
← previous
next →
201–300 of 2,377, ranked by callers