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
↓ 8 callers
Method
onOpen
()
src/main/java/com/alibaba/dashscope/audio/protocol/AudioWebsocketCallback.java:9
↓ 8 callers
Method
putHeader
(String key, String value)
src/main/java/com/alibaba/dashscope/base/FullDuplexServiceParam.java:38
↓ 8 callers
Method
sendTextFrame
Sends text frame. <p>param: textFrame Text frame data
src/main/java/com/alibaba/dashscope/multimodal/MultiModalDialog.java:554
↓ 8 callers
Method
setContent
(String content)
src/main/java/com/alibaba/dashscope/aigc/multimodalconversation/MultiModalMessageItemBase.java:8
↓ 7 callers
Method
assertHalfDuplexRequest
( RequestParam req, String stream)
src/test/java/com/alibaba/dashscope/WebSocketRecorder.java:162
↓ 7 callers
Method
createGson
()
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeConversation.java:334
↓ 7 callers
Method
createStream
Create stream run, return Flowable of StreamMessage. @param threadId The run thread id @param param The run parameters. @return The StreamMessage flo
src/main/java/com/alibaba/dashscope/threads/runs/Runs.java:87
↓ 7 callers
Method
getHeaders
()
src/main/java/com/alibaba/dashscope/app/ApplicationParam.java:199
↓ 7 callers
Method
getIndex
()
src/main/java/com/alibaba/dashscope/tools/ToolCallBase.java:33
↓ 7 callers
Method
getParameters
()
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesisParam.java:61
↓ 7 callers
Method
getSampleRate
()
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesisAudioFormat.java:55
↓ 7 callers
Method
getStreamingMode
()
src/main/java/com/alibaba/dashscope/protocol/ServiceOption.java:22
↓ 7 callers
Method
onComplete
()
src/test/java/com/alibaba/dashscope/TestEncryption.java:93
↓ 7 callers
Method
onComplete
()
src/main/java/com/alibaba/dashscope/threads/runs/StreamEventProcessingCallback.java:23
↓ 7 callers
Method
read
(JsonReader in)
src/main/java/com/alibaba/dashscope/common/MessageAdapter.java:245
↓ 7 callers
Method
sendMessage
(String message, boolean enableLog)
src/main/java/com/alibaba/dashscope/audio/qwen_tts_realtime/QwenTtsRealtime.java:237
↓ 7 callers
Method
signal
()
src/test/java/com/alibaba/dashscope/AssistantEventHandlerTest.java:62
↓ 7 callers
Method
signal
()
src/main/java/com/alibaba/dashscope/threads/runs/DefaultAssistantEventHandler.java:55
↓ 7 callers
Method
update
Update the run. @param threadId The thread id. @param runId The run id. @param param The parameter. @return The updated `Run` object. @throws ApiExce
src/main/java/com/alibaba/dashscope/threads/runs/Runs.java:200
↓ 6 callers
Method
asyncCall
Call async interface and return async task info. @param param The input param, should be the subclass of `Param` @param serviceOption The service opt
src/main/java/com/alibaba/dashscope/api/AsynchronousApi.java:67
↓ 6 callers
Method
call
()
src/test/java/com/alibaba/dashscope/TestRuns.java:70
↓ 6 callers
Method
call
Call the server to get the whole result. @param param The input param, should be the subclass of `ConversationParam`. @return The output structure, s
src/main/java/com/alibaba/dashscope/api/SynchronizeHalfDuplexApi.java:56
↓ 6 callers
Method
events
()
src/main/java/com/alibaba/dashscope/agentstudio/resource/Sessions.java:39
↓ 6 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/aigc/imagegeneration/ImageGenerationResult.java:27
↓ 6 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/aigc/imagesynthesis/ImageSynthesisResult.java:32
↓ 6 callers
Method
fromResponse
Load data from the server output. @param protocol The protocol, please check the `Protocol` enum. @param response The response. @param <T> Object ext
src/main/java/com/alibaba/dashscope/common/Result.java:47
↓ 6 callers
Method
generateSessionId
()
src/main/java/com/alibaba/dashscope/audio/qwen_tts_realtime/QwenTtsRealtime.java:233
↓ 6 callers
Method
getFormat
()
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesisAudioFormat.java:51
↓ 6 callers
Method
getFormat
()
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeAudioFormat.java:27
↓ 6 callers
Method
getParameters
()
src/main/java/com/alibaba/dashscope/audio/asr/recognition/RecognitionParam.java:37
↓ 6 callers
Method
getUrl
()
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeParam.java:48
↓ 6 callers
Method
isDeleted
()
src/main/java/com/alibaba/dashscope/agentstudio/model/AgentStudioDeletionStatus.java:18
↓ 6 callers
Method
onComplete
()
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizer.java:441
↓ 6 callers
Method
qwen
()
src/main/java/com/alibaba/dashscope/tokenizers/TokenizerFactory.java:4
↓ 6 callers
Method
registerTool
( String toolType, Class<? extends ToolBase> clazz)
src/main/java/com/alibaba/dashscope/tools/ToolBase.java:15
↓ 6 callers
Method
replace
Replace all occurrences of a substring within a string with another string. @param inString {@code String} to examine @param oldPattern {@code String
src/test/java/com/alibaba/dashscope/ServerSentEvent.java:105
↓ 6 callers
Method
sendTextWithRetry
(WebSocket wSocket, String message)
src/test/java/com/alibaba/dashscope/TestHalfDuplexWebSocketApi.java:85
↓ 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:113
↓ 5 callers
Method
call
(RecognitionParam param, ResultCallback<RecognitionResult> callback)
src/main/java/com/alibaba/dashscope/audio/asr/recognition/Recognition.java:193
↓ 5 callers
Method
call
Speech synthesis If a callback is set, the audio will be returned in real-time through the on_event interface Otherwise, this function blocks until al
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesizer.java:697
↓ 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:44
↓ 5 callers
Method
createStreamMockResponse
(List<String> responseBodies, int statusCode)
src/test/java/com/alibaba/dashscope/TestUtils.java:28
↓ 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
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
getResources
()
src/main/java/com/alibaba/dashscope/audio/asr/recognition/RecognitionParam.java:55
↓ 5 callers
Method
getResources
()
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesisParam.java:106
↓ 5 callers
Method
getSampleRate
()
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeAudioFormat.java:31
↓ 5 callers
Method
getValue
()
src/main/java/com/alibaba/dashscope/embeddings/TextEmbeddingParam.java:32
↓ 5 callers
Method
init
()
src/main/java/com/alibaba/dashscope/utils/Constants.java:84
↓ 5 callers
Method
isSentenceEnd
()
src/main/java/com/alibaba/dashscope/audio/asr/recognition/RecognitionResult.java:31
↓ 5 callers
Method
merge
(JsonObject dest, JsonObject src)
src/main/java/com/alibaba/dashscope/utils/JsonUtils.java:154
↓ 5 callers
Method
onEvent
( EventSource eventSource, java.lang.String id
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpHttpClient.java:376
↓ 5 callers
Method
streamCall
Call the server to get the result by stream. @param param The input param, should be the subclass of `Param`. @param serviceOptions The service optio
src/main/java/com/alibaba/dashscope/api/GeneralApi.java:78
↓ 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/audio/ttsv2/enrollment/VoiceEnrollmentParam.java:100
↓ 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
↓ 5 callers
Method
write
(JsonWriter out, MultiModalConversationMessage value)
src/main/java/com/alibaba/dashscope/aigc/multimodalconversation/MultiModalConversationMessageAdapter.java:14
↓ 4 callers
Method
archive
(String vaultId)
src/main/java/com/alibaba/dashscope/agentstudio/resource/Vaults.java:67
↓ 4 callers
Method
await
()
src/test/java/com/alibaba/dashscope/AssistantEventHandlerTest.java:56
↓ 4 callers
Method
buildFunction
()
src/test/java/com/alibaba/dashscope/TestStreamRuns.java:89
↓ 4 callers
Method
buildWebSocketHeaders
( String apiKey, boolean isSecurityCheck, String workspace, Map<String, String> customHeaders)
src/main/java/com/alibaba/dashscope/protocol/DashScopeHeaders.java:32
↓ 4 callers
Method
call
(ChatCompletionParam param)
src/main/java/com/alibaba/dashscope/aigc/completion/ChatCompletions.java:42
↓ 4 callers
Method
checkStatus
()
src/main/java/com/alibaba/dashscope/audio/protocol/AudioWebsocketRequest.java:37
↓ 4 callers
Method
close
close the connection to server
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeConversation.java:252
↓ 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:156
↓ 4 callers
Method
fromDashScopeResult
(DashScopeResult dashScopeResult)
src/main/java/com/alibaba/dashscope/audio/asr/translation/results/TranslationRecognizerResult.java:30
↓ 4 callers
Method
getCertificate
()
src/main/java/com/alibaba/dashscope/utils/PreprocessMessageInput.java:411
↓ 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
getDuration
(Duration target, Duration defaultValue, String env)
src/main/java/com/alibaba/dashscope/protocol/ConnectionConfigurations.java:116
↓ 4 callers
Method
getHeaders
()
src/main/java/com/alibaba/dashscope/protocol/FullDuplexRequest.java:183
↓ 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
getResources
()
src/main/java/com/alibaba/dashscope/task/AsyncTaskParam.java:49
↓ 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:26
↓ 4 callers
Method
hasUpload
()
src/main/java/com/alibaba/dashscope/utils/PreprocessMessageInput.java:407
↓ 4 callers
Method
hashCode
()
src/test/java/com/alibaba/dashscope/WebSocketRecorder.java:380
↓ 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:239
↓ 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
reset
()
src/main/java/com/alibaba/dashscope/audio/asr/recognition/Recognition.java:442
↓ 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:362
↓ 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
↓ 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
← previous
next →
101–200 of 2,266, ranked by callers