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
↓ 3 callers
Method
build
()
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioClient.java:87
↓ 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:137
↓ 3 callers
Method
close
(int code, String reason)
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpWebSocketClient.java:90
↓ 3 callers
Method
close
()
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioClient.java:124
↓ 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
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:805
↓ 3 callers
Method
getAgentId
()
src/main/java/com/alibaba/dashscope/agentstudio/model/Session.java:62
↓ 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:453
↓ 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:846
↓ 3 callers
Method
getHalfDuplexClient
(String protocol)
src/main/java/com/alibaba/dashscope/protocol/ClientProviders.java:11
↓ 3 callers
Method
getHttpBody
()
src/test/java/com/alibaba/dashscope/TimeoutTestParam.java:20
↓ 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:458
↓ 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
getParameters
()
src/main/java/com/alibaba/dashscope/audio/asr/translation/TranslationRecognizerParam.java:42
↓ 3 callers
Method
getSessionId
()
src/main/java/com/alibaba/dashscope/audio/qwen_tts_realtime/QwenTtsRealtime.java:187
↓ 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:735
↓ 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:120
↓ 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
sendBinaryWithRetry
(WebSocket wSocket, ByteString message)
src/test/java/com/alibaba/dashscope/TestHalfDuplexWebSocketApi.java:101
↓ 3 callers
Method
sendTaskMessage
(String action, JsonObject input)
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizerV2.java:173
↓ 3 callers
Method
sendTextWithRetry
( String apiKey, boolean isSecurityCheck, String message, String workspace, Map<
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpWebSocketClient.java:398
↓ 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:214
↓ 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
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:92
↓ 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:67
↓ 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
↓ 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:184
↓ 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/agentstudio/resource/Files.java:248
↓ 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
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:116
← previous
next →
201–300 of 2,266, ranked by callers