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
↓ 6 callers
Method
registerTool
( String toolType, Class<? extends ToolBase> clazz)
src/main/java/com/alibaba/dashscope/tools/ToolBase.java:15
↓ 6 callers
Method
requireText
(String value, String field)
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveSessionConfig.java:81
↓ 6 callers
Method
requireValue
(Object value, String field)
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConversation.java:245
↓ 6 callers
Method
sendTextWithRetry
(WebSocket wSocket, String message)
src/test/java/com/alibaba/dashscope/TestHalfDuplexWebSocketApi.java:85
↓ 6 callers
Method
write
(JsonWriter out, MultiModalConversationMessage value)
src/main/java/com/alibaba/dashscope/aigc/multimodalconversation/MultiModalConversationMessageAdapter.java:14
↓ 5 callers
Method
assertFullDuplexRequest
( RequestParam req, String streamMode)
src/test/java/com/alibaba/dashscope/WebSocketRecorder.java:197
↓ 5 callers
Method
asyncCall
(ImageSynthesisParam param)
src/main/java/com/alibaba/dashscope/aigc/imagesynthesis/ImageSynthesis.java:137
↓ 5 callers
Method
boundedAwait
(CountDownLatch latch)
src/test/java/com/alibaba/dashscope/audio/live/TestQwenLiveConversation.java:868
↓ 5 callers
Method
buildDocParam
()
src/test/java/com/alibaba/dashscope/TestDecisionModel.java:65
↓ 5 callers
Method
call
(RecognitionParam param, ResultCallback<RecognitionResult> callback)
src/main/java/com/alibaba/dashscope/audio/asr/recognition/Recognition.java:222
↓ 5 callers
Method
checkResult
(GenerationResult result, RecordedRequest request, String expectBody)
src/test/java/com/alibaba/dashscope/TestGeneration.java:77
↓ 5 callers
Method
create
(ThreadParam param)
src/main/java/com/alibaba/dashscope/threads/Threads.java:52
↓ 5 callers
Method
createStreamMockResponse
(List<String> responseBodies, int statusCode)
src/test/java/com/alibaba/dashscope/TestUtils.java:28
↓ 5 callers
Method
deployments
()
src/test/java/com/alibaba/dashscope/TestAgentStudioDeployments.java:223
↓ 5 callers
Method
encode
Encode the input text, handles special tokens. There is no guarantee that the results will be completely consistent with the model output. Compared wi
src/main/java/com/alibaba/dashscope/tokenizers/Tokenizer.java:34
↓ 5 callers
Method
enqueue
(String fixtureKey)
src/test/java/com/alibaba/dashscope/TestAgentStudioDeployments.java:56
↓ 5 callers
Method
extensionFields
(Map<String, Object> parameters, String... reserved)
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveSessionConfig.java:64
↓ 5 callers
Method
fileId
(String fileId)
src/main/java/com/alibaba/dashscope/agentstudio/model/Mount.java:55
↓ 5 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/embeddings/BatchTextEmbeddingResult.java:28
↓ 5 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/audio/asr/phrase/AsrPhraseStatusResult.java:23
↓ 5 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/aigc/videosynthesis/VideoSynthesisResult.java:31
↓ 5 callers
Method
generateBinaryData
Get server output data @param n number of binary data @param maxLength the data maxlength. @return
src/test/java/com/alibaba/dashscope/TestFullDuplexApi.java:162
↓ 5 callers
Method
getBaseWebSocketUrl
()
src/main/java/com/alibaba/dashscope/protocol/ServiceOption.java:36
↓ 5 callers
Method
getRequestIdForLog
()
src/main/java/com/alibaba/dashscope/audio/asr/recognition/Recognition.java:63
↓ 5 callers
Method
getRequestIdForLog
()
src/main/java/com/alibaba/dashscope/audio/asr/translation/TranslationRecognizerRealtime.java:63
↓ 5 callers
Method
getRequestIdForLog
()
src/main/java/com/alibaba/dashscope/audio/asr/translation/TranslationRecognizerChat.java:61
↓ 5 callers
Method
getResources
()
src/main/java/com/alibaba/dashscope/task/AsyncTaskParam.java:49
↓ 5 callers
Method
getResources
()
src/main/java/com/alibaba/dashscope/audio/asr/recognition/RecognitionParam.java:55
↓ 5 callers
Method
getValue
()
src/main/java/com/alibaba/dashscope/embeddings/TextEmbeddingParam.java:32
↓ 5 callers
Method
hashCode
()
src/test/java/com/alibaba/dashscope/WebSocketRecorder.java:380
↓ 5 callers
Method
init
()
src/main/java/com/alibaba/dashscope/utils/Constants.java:86
↓ 5 callers
Method
isBlank
(String value)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Deployments.java:209
↓ 5 callers
Method
isSentenceEnd
()
src/main/java/com/alibaba/dashscope/audio/asr/recognition/RecognitionResult.java:31
↓ 5 callers
Method
newWebSocket
(Request request, WebSocketListener listener)
src/test/java/com/alibaba/dashscope/audio/live/TestQwenLiveConversation.java:917
↓ 5 callers
Method
onClosed
(WebSocket webSocket, int code, String reason)
src/test/java/com/alibaba/dashscope/WebSocketRecorder.java:106
↓ 5 callers
Method
onEvent
( EventSource eventSource, java.lang.String id
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpHttpClient.java:460
↓ 5 callers
Method
output
()
src/test/java/com/alibaba/dashscope/protocol/okhttp/TestWebSocketRequestIdLogging.java:47
↓ 5 callers
Method
schedule
()
src/test/java/com/alibaba/dashscope/TestAgentStudioDeployments.java:231
↓ 5 callers
Method
streamError
(MockResponse response)
src/test/java/com/alibaba/dashscope/TestSseErrorHandling.java:71
↓ 5 callers
Method
toString
()
src/main/java/com/alibaba/dashscope/audio/asr/vocabulary/Vocabulary.java:88
↓ 5 callers
Method
validate
()
src/main/java/com/alibaba/dashscope/audio/asr/phrase/AsrPhraseParam.java:72
↓ 5 callers
Method
validate
()
src/main/java/com/alibaba/dashscope/audio/asr/vocabulary/VocabularyParam.java:81
↓ 5 callers
Method
validate
()
src/main/java/com/alibaba/dashscope/threads/runs/RunParam.java:142
↓ 5 callers
Method
verifyBinaryOutput
( Flowable<DashScopeResult> results, List<Object> outputs, Semaphore receiveCompleted)
src/test/java/com/alibaba/dashscope/TestFullDuplexApi.java:194
↓ 4 callers
Method
accept
(FakeSocket socket, WebSocketListener listener)
src/test/java/com/alibaba/dashscope/audio/live/TestQwenLiveConversation.java:908
↓ 4 callers
Method
append
(StringBuilder target, String delta)
samples/QwenLiveUsage.java:303
↓ 4 callers
Method
appendCommentary
(String delegationId, String content)
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConversation.java:193
↓ 4 callers
Method
assertEmptySuccess
(DashScopeResult result, int expectedStatusCode)
src/test/java/com/alibaba/dashscope/TestDashScopeResultEmptyBody.java:39
↓ 4 callers
Method
baseBuilder
()
src/test/java/com/alibaba/dashscope/TestMultiModalEmbeddingParam.java:16
↓ 4 callers
Method
buildFunction
()
src/test/java/com/alibaba/dashscope/TestStreamRuns.java:89
↓ 4 callers
Method
call
Call the server to get the whole result. The decision model does not stream — this is a single request/response round trip. @param param The input pa
src/main/java/com/alibaba/dashscope/decision/DecisionModel.java:163
↓ 4 callers
Method
call
(ChatCompletionParam param)
src/main/java/com/alibaba/dashscope/aigc/completion/ChatCompletions.java:43
↓ 4 callers
Method
cancel
()
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConversation.java:298
↓ 4 callers
Method
cancelSocket
(WebSocket socket)
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConversation.java:308
↓ 4 callers
Method
checkStatus
()
src/main/java/com/alibaba/dashscope/audio/protocol/AudioWebsocketRequest.java:74
↓ 4 callers
Method
close
close the connection to server
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeConversation.java:274
↓ 4 callers
Method
create
(SkillCreateParam param)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Skills.java:61
↓ 4 callers
Method
createStreamRunMockResponse
(JsonArray responseEvents, int statusCode)
src/test/java/com/alibaba/dashscope/TestUtils.java:46
↓ 4 callers
Method
createStreamThreadAndRun
Create stream output and run. @param param The `ThreadAndRunParam` object with stream=true. @return Flowable of AssistantStreamMessage you can iterat
src/main/java/com/alibaba/dashscope/threads/runs/Runs.java:187
↓ 4 callers
Method
fromDashScopeResult
(DashScopeResult result)
src/main/java/com/alibaba/dashscope/decision/DecisionModelResult.java:30
↓ 4 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/audio/asr/translation/results/TranslationRecognizerResult.java:30
↓ 4 callers
Method
getAgentId
()
src/main/java/com/alibaba/dashscope/agentstudio/model/Session.java:68
↓ 4 callers
Method
getBaseHttpUrl
()
src/main/java/com/alibaba/dashscope/protocol/ServiceOption.java:34
↓ 4 callers
Method
getCertificate
()
src/main/java/com/alibaba/dashscope/utils/PreprocessMessageInput.java:411
↓ 4 callers
Method
getCloseReason
()
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConversation.java:349
↓ 4 callers
Method
getConnectTimeout
()
src/main/java/com/alibaba/dashscope/protocol/ConnectionConfigurations.java:63
↓ 4 callers
Method
getConnectionIdleTimeout
()
src/main/java/com/alibaba/dashscope/protocol/ConnectionConfigurations.java:75
↓ 4 callers
Method
getConnectionPoolSize
()
src/main/java/com/alibaba/dashscope/protocol/ConnectionConfigurations.java:80
↓ 4 callers
Method
getDeltaText
Incremental text from an {@code event_delta}'s {@code content_delta}.
src/main/java/com/alibaba/dashscope/agentstudio/message/Message.java:202
↓ 4 callers
Method
getDuration
(Duration target, Duration defaultValue, String env)
src/main/java/com/alibaba/dashscope/protocol/ConnectionConfigurations.java:116
↓ 4 callers
Method
getErrorCode
()
src/main/java/com/alibaba/dashscope/common/PublicErrorDef.java:93
↓ 4 callers
Method
getHeaders
()
src/main/java/com/alibaba/dashscope/protocol/FullDuplexRequest.java:186
↓ 4 callers
Method
getHeaders
()
src/main/java/com/alibaba/dashscope/task/AsyncTaskParam.java:54
↓ 4 callers
Method
getHttpBody
()
src/main/java/com/alibaba/dashscope/embeddings/MultiModalEmbeddingParam.java:84
↓ 4 callers
Method
getHttpRequest
()
src/main/java/com/alibaba/dashscope/protocol/HalfDuplexRequest.java:96
↓ 4 callers
Method
getParameters
()
src/test/java/com/alibaba/dashscope/FullDuplexTestParam.java:27
↓ 4 callers
Method
getProxy
()
src/main/java/com/alibaba/dashscope/protocol/ConnectionConfigurations.java:149
↓ 4 callers
Method
getReadTimeout
()
src/main/java/com/alibaba/dashscope/protocol/ConnectionConfigurations.java:71
↓ 4 callers
Method
getRequestIdForLog
()
src/main/java/com/alibaba/dashscope/multimodal/tingwu/TingWuRealtime.java:55
↓ 4 callers
Method
getUrl
()
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConnectionParam.java:55
↓ 4 callers
Method
getValue
()
src/main/java/com/alibaba/dashscope/audio/asr/recognition/RecognitionState.java:15
↓ 4 callers
Method
getWriteTimeout
()
src/main/java/com/alibaba/dashscope/protocol/ConnectionConfigurations.java:67
↓ 4 callers
Method
hasNext
()
src/main/java/com/alibaba/dashscope/agentstudio/pagination/CursorPage.java:30
↓ 4 callers
Method
hasUpload
()
src/main/java/com/alibaba/dashscope/utils/PreprocessMessageInput.java:407
↓ 4 callers
Method
listSteps
List the run step of the run id. @param threadId The thread id @param runId The run id. @param listParam The list parameter. @return The list of 'Run
src/main/java/com/alibaba/dashscope/threads/runs/Runs.java:290
↓ 4 callers
Method
of
The id-only config. A null id yields null rather than an id-less config, so an unset model stays unset in the request body.
src/main/java/com/alibaba/dashscope/agentstudio/model/Configs.java:29
↓ 4 callers
Method
onClose
(int code, String reason)
src/main/java/com/alibaba/dashscope/audio/protocol/AudioWebsocketCallback.java:17
↓ 4 callers
Method
putType
(String type)
src/main/java/com/alibaba/dashscope/agentstudio/model/Mount.java:50
↓ 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:184
↓ 4 callers
Method
releaseLatches
Release startLatch and stopLatch to unblock any waiting threads.
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizerV2.java:192
↓ 4 callers
Method
reset
()
src/main/java/com/alibaba/dashscope/audio/asr/recognition/Recognition.java:507
↓ 4 callers
Method
sendRaw
(String rawJson)
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConversation.java:217
↓ 4 callers
Method
sendTaskMessage
(String action, JsonObject input)
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizerV2.java:204
↓ 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:457
↓ 4 callers
Method
updateSession
(QwenLiveSessionConfig config)
src/main/java/com/alibaba/dashscope/audio/live/QwenLiveConversation.java:149
↓ 4 callers
Method
upload
(String filePath, String mimeType)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Files.java:59
← previous
next →
201–300 of 3,001, ranked by callers