Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dashscope/dashscope-sdk-java
/ functions
Functions
6,627 in github.com/dashscope/dashscope-sdk-java
⨍
Functions
6,627
◇
Types & classes
1,417
↓ 33 callers
Method
stream
Streaming synthesis over HTTP SSE.
src/main/java/com/alibaba/dashscope/resources/audio/TtsService.java:35
↓ 32 callers
Method
add
Append one message and re-apply the window.
examples/04_real_world_scenarios/com/alibaba/dashscope/examples/scenarios/customerservice/CustomerServiceAssistant.java:299
↓ 32 callers
Method
client
Sync client from the config chain (env/sysprops/config file); close it with try-with-resources.
examples/01_atomic_capabilities/com/alibaba/dashscope/examples/ExampleSupport.java:33
↓ 32 callers
Method
createMockResponse
(String responseBody, int statusCode)
src/test/legacy_2x/com/alibaba/dashscope/legacy_2x/TestUtils.java:73
↓ 32 callers
Method
getEvent
TEXT only: {@code header.event} (task-started / result-generated / task-finished / ...).
src/main/java/com/alibaba/dashscope/transport/ws/TaskEvent.java:130
↓ 32 callers
Method
path
(String id)
src/main/java/com/alibaba/dashscope/applications/agentstudio/sandbox/template/TemplatesClient.java:252
↓ 32 callers
Method
toString
()
src/main/java/com/alibaba/dashscope/legacy_2x/threads/runs/Run.java:192
↓ 31 callers
Method
list
List the run of thread id. @param threadId the thread id. @param listParam The list parameter. @return The list of `Run`. @throws ApiException The re
src/main/java/com/alibaba/dashscope/legacy_2x/threads/runs/Runs.java:266
↓ 31 callers
Method
onError
(String errorMsg)
src/main/java/com/alibaba/dashscope/legacy_2x/threads/runs/AssistantEventHandler.java:52
↓ 31 callers
Method
output
()
src/test/legacy_2x/com/alibaba/dashscope/legacy_2x/TestMultiModalConversation.java:70
↓ 31 callers
Method
read
(int status, InputStream input)
src/main/java/com/alibaba/dashscope/applications/agentstudio/sandbox/internal/HttpTransport.java:160
↓ 31 callers
Method
resolve
()
src/test/java/com/alibaba/dashscope/ConfigChainTest.java:65
↓ 30 callers
Method
await
()
src/test/legacy_2x/com/alibaba/dashscope/legacy_2x/AssistantEventHandlerTest.java:56
↓ 30 callers
Method
fromDashScopeResult
( DashScopeResult dashScopeResult, Type type)
src/main/java/com/alibaba/dashscope/legacy_2x/common/FlattenResultBase.java:29
↓ 30 callers
Method
getTaskId
()
src/main/java/com/alibaba/dashscope/resources/jobs/Job.java:70
↓ 30 callers
Method
incrementalOutput
(Boolean incrementalOutput)
src/main/java/com/alibaba/dashscope/types/apps/AppCompletionCreateParams.java:239
↓ 29 callers
Method
config
The resolved configuration (config chain applied).
src/main/java/com/alibaba/dashscope/DashScopeClient.java:184
↓ 29 callers
Method
fromSdkErrorCode
SDK-side failure straight from the catalog.
src/main/java/com/alibaba/dashscope/errors/Errors.java:207
↓ 29 callers
Method
getName
()
src/main/java/com/alibaba/dashscope/types/messages/Message.java:78
↓ 29 callers
Method
toQueryString
()
src/main/java/com/alibaba/dashscope/applications/agentstudio/param/FileListParam.java:25
↓ 28 callers
Method
createStreaming
Streaming create. Always close the stream (try-with-resources); the iterator is single-use. In-stream error frames throw (or surface as a final error
src/main/java/com/alibaba/dashscope/resources/apps/AppCompletionsService.java:60
↓ 28 callers
Method
getChoices
()
src/main/java/com/alibaba/dashscope/types/completions/ChatCompletion.java:27
↓ 28 callers
Method
getValue
()
src/main/java/com/alibaba/dashscope/legacy_2x/app/FlowStreamMode.java:25
↓ 28 callers
Method
instructions
(String instructions)
src/main/java/com/alibaba/dashscope/applications/agentstudio/model/Mount.java:109
↓ 28 callers
Method
setType
(OmniRealtimeAudioCodec type)
src/main/java/com/alibaba/dashscope/legacy_2x/audio/omni/OmniRealtimeAudioFormatConfig.java:67
↓ 28 callers
Method
tools
Tool schemas as wire-shaped maps.
src/main/java/com/alibaba/dashscope/types/multimodal/MultimodalChatCreateParams.java:247
↓ 28 callers
Method
type
()
src/main/java/com/alibaba/dashscope/applications/agentstudio/sandbox/template/TemplateFile.java:41
↓ 27 callers
Method
getData
()
src/test/legacy_2x/com/alibaba/dashscope/legacy_2x/ServerSentEvent.java:23
↓ 27 callers
Method
sampleRate
(Integer sampleRate)
src/main/java/com/alibaba/dashscope/types/audio/TtsConnectParams.java:108
↓ 26 callers
Method
call
Call the server to get the whole result, only http protocol @param param The input param of class `ConversationParam`. @return The output structure o
src/main/java/com/alibaba/dashscope/legacy_2x/aigc/generation/Generation.java:122
↓ 26 callers
Method
connection
SDK-side connection failure from the catalog, keeping the {@link ApiConnectionException} type. {@code detail} fills the entry's {@code {detail}} place
src/main/java/com/alibaba/dashscope/errors/Errors.java:222
↓ 26 callers
Method
get
(String fileId)
src/main/java/com/alibaba/dashscope/resources/files/FilesService.java:90
↓ 26 callers
Method
getInstance
(String instanceId)
src/main/java/com/alibaba/dashscope/applications/agentstudio/sandbox/agent/AgentsClient.java:27
↓ 26 callers
Method
params
()
src/test/java/com/alibaba/dashscope/ChatCompletionsMockTest.java:73
↓ 26 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/legacy_2x/threads/runs/Runs.java:241
↓ 25 callers
Method
getWsBaseUrl
()
src/main/java/com/alibaba/dashscope/ClientOptions.java:68
↓ 25 callers
Method
onError
(WebSocket webSocket, Throwable t)
src/main/java/com/alibaba/dashscope/legacy_2x/audio/protocol/AudioWebsocketCallback.java:18
↓ 25 callers
Method
parametersToJsonObject
(Map<String, Object> parameters)
src/main/java/com/alibaba/dashscope/legacy_2x/utils/JsonUtils.java:164
↓ 24 callers
Method
addExtraBody
(JsonObject requestObject)
src/main/java/com/alibaba/dashscope/applications/agentstudio/base/FlattenHalfDuplexParamBase.java:79
↓ 24 callers
Method
config
()
src/main/java/com/alibaba/dashscope/transport/HttpTransport.java:154
↓ 24 callers
Method
getInputTokens
()
src/main/java/com/alibaba/dashscope/types/common/Usage.java:30
↓ 24 callers
Method
isError
true when the response carries a business error code (raiseOnError=false mode).
src/main/java/com/alibaba/dashscope/types/common/ResponseBase.java:56
↓ 24 callers
Method
required
(String value, String field)
src/main/java/com/alibaba/dashscope/applications/agentstudio/sandbox/internal/PlatformHttp.java:61
↓ 24 callers
Method
statusCode
()
src/main/java/com/alibaba/dashscope/applications/agentstudio/sandbox/internal/HttpTransport.java:140
↓ 24 callers
Method
streamCall
Call the server to get the result by stream. http and websocket. @param param The input param of class `ConversationParam`. @return A `Flowable` of t
src/main/java/com/alibaba/dashscope/legacy_2x/aigc/generation/Generation.java:173
↓ 24 callers
Method
submit
(String text)
src/main/java/com/alibaba/dashscope/applications/agentstudio/sandbox/agent/SessionHandle.java:39
↓ 23 callers
Method
awaitSessionClosed
(int timeoutSeconds)
src/main/java/com/alibaba/dashscope/legacy_2x/audio/live/QwenLiveConversation.java:331
↓ 23 callers
Method
body
()
src/main/java/com/alibaba/dashscope/applications/agentstudio/sandbox/internal/HttpTransport.java:148
↓ 23 callers
Method
decode
Decode token ids to String @param ids The input token ids, eg: [2610, 525, 264, 10950, 17847, 13], will be Decoded to "You are a helpful assistan
src/main/java/com/alibaba/dashscope/legacy_2x/tokenizers/Tokenizer.java:46
↓ 23 callers
Method
getValue
()
src/main/java/com/alibaba/dashscope/legacy_2x/audio/ttsv2/SpeechSynthesisState.java:14
↓ 23 callers
Method
of
(String role, String content)
src/main/java/com/alibaba/dashscope/types/messages/Message.java:40
↓ 23 callers
Method
toString
()
src/main/java/com/alibaba/dashscope/applications/agentstudio/param/SessionAgent.java:103
↓ 22 callers
Method
attach
Register a task on this connection. Duplicate task_id / connection already closed (by either side) → {@code sdk.ws.IllegalState}.
src/main/java/com/alibaba/dashscope/transport/ws/WsConnection.java:133
↓ 22 callers
Method
audio
()
src/main/java/com/alibaba/dashscope/DashScopeClient.java:103
↓ 22 callers
Method
duplexCall
Call the server to get the result by stream. @param param The input param, should be the subclass of `Param`. @return A `Flowable` of the output stru
src/main/java/com/alibaba/dashscope/legacy_2x/api/SynchronizeFullDuplexApi.java:98
↓ 22 callers
Method
equals
(Object other)
src/main/java/com/alibaba/dashscope/tokenization/QwenTokenizer.java:447
↓ 22 callers
Method
errorCode
Wire error code: top-level "code", else nested error.code / error.type.
src/main/java/com/alibaba/dashscope/transport/JsonSupport.java:145
↓ 22 callers
Method
getFunction
()
src/main/java/com/alibaba/dashscope/legacy_2x/protocol/ServiceOption.java:21
↓ 22 callers
Method
getTaskId
(DashScopeResult task)
src/main/java/com/alibaba/dashscope/legacy_2x/api/AsynchronousApi.java:326
↓ 22 callers
Method
jobs
The async-job handle for transcription: create/fetch/wait/cancel/list.
src/main/java/com/alibaba/dashscope/resources/audio/AsrService.java:71
↓ 22 callers
Method
messages
(List<Message> messages)
src/main/java/com/alibaba/dashscope/types/apps/AppCompletionCreateParams.java:167
↓ 22 callers
Method
metadata
()
src/main/java/com/alibaba/dashscope/applications/agentstudio/sandbox/SandboxInfo.java:73
↓ 22 callers
Method
parseString
Parses the specified JSON string into a parse tree @param json JSON text @return a parse tree of {@link JsonElement}s corresponding to the specified
src/main/java/com/alibaba/dashscope/legacy_2x/utils/JsonUtils.java:102
↓ 22 callers
Method
user
(String content)
src/main/java/com/alibaba/dashscope/types/messages/Message.java:44
↓ 21 callers
Method
getParameters
Passthrough into {@code parameters}; omitted from the body when empty.
src/main/java/com/alibaba/dashscope/types/tingwu/TingWuJobParams.java:35
↓ 21 callers
Method
getTotalTokens
()
src/main/java/com/alibaba/dashscope/types/common/Usage.java:38
↓ 21 callers
Method
headers
(Map<String, String> headers)
src/main/java/com/alibaba/dashscope/RequestOptions.java:123
↓ 21 callers
Method
retrieve
Retrieve the run. @param threadId The thread id. @param runId The run id. @return The `Run` object. @throws ApiException The request exception, if ne
src/main/java/com/alibaba/dashscope/legacy_2x/threads/runs/Runs.java:313
↓ 21 callers
Method
run
(Call<T> call)
src/main/java/com/alibaba/dashscope/applications/agentstudio/sandbox/internal/HttpTransport.java:338
↓ 21 callers
Method
take
(String method, String path)
src/test/java/com/alibaba/dashscope/SandboxMockTest.java:272
↓ 21 callers
Method
toJsonArray
(Object obj)
src/main/java/com/alibaba/dashscope/legacy_2x/utils/JsonUtils.java:78
↓ 21 callers
Method
toJsonObject
(Object obj)
src/main/java/com/alibaba/dashscope/legacy_2x/utils/JsonUtils.java:82
↓ 21 callers
Method
toString
()
src/main/java/com/alibaba/dashscope/errors/SdkException.java:35
↓ 20 callers
Method
errorMessage
Wire error message: top-level "message", else nested error.message.
src/main/java/com/alibaba/dashscope/transport/JsonSupport.java:168
↓ 20 callers
Method
events
Raw event frames, ending at the speech-end action (inclusive).
examples/04_real_world_scenarios/com/alibaba/dashscope/examples/scenarios/meeting/RealtimeMeetingHarness.java:177
↓ 20 callers
Method
getRequestIdOrUnknown
()
src/main/java/com/alibaba/dashscope/legacy_2x/audio/protocol/AudioWebsocketRequest.java:35
↓ 20 callers
Method
parse
(ResponseEnvelope envelope, Class<T> type)
src/main/java/com/alibaba/dashscope/resources/audio/CustomizationSupport.java:43
↓ 20 callers
Method
realtime
()
src/main/java/com/alibaba/dashscope/resources/audio/AudioService.java:34
↓ 20 callers
Method
recv
Next inbound item for this task, blocking up to {@code timeout}; {@code null} on timeout. FAILURE events throw their carried exception.
src/main/java/com/alibaba/dashscope/transport/ws/TaskChannel.java:26
↓ 20 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/legacy_2x/com/alibaba/dashscope/legacy_2x/ServerSentEvent.java:105
↓ 20 callers
Method
temperature
(Double temperature)
src/main/java/com/alibaba/dashscope/types/apps/AppCompletionCreateParams.java:208
↓ 20 callers
Method
usage
()
src/main/java/com/alibaba/dashscope/applications/agentstudio/AgentStudioClient.java:160
↓ 19 callers
Method
appendParam
Append {@code key=value} (URL-encoded) to {@code sb} if value is non-null. Joins with {@literal &}.
src/main/java/com/alibaba/dashscope/applications/agentstudio/AgentStudioConstants.java:174
↓ 19 callers
Method
asr
()
src/main/java/com/alibaba/dashscope/resources/audio/AudioService.java:26
↓ 19 callers
Method
awaitOpen
()
src/test/java/com/alibaba/dashscope/WsTransportMockTest.java:86
↓ 19 callers
Method
call
Call the server to get the whole result. @param param The input param of class `CodeGenerationParam`. @return The output structure of `CodeGeneration
src/main/java/com/alibaba/dashscope/legacy_2x/aigc/codegeneration/CodeGeneration.java:86
↓ 19 callers
Method
delete
(String threadId)
src/main/java/com/alibaba/dashscope/legacy_2x/threads/Threads.java:83
↓ 19 callers
Method
embeddings
()
src/main/java/com/alibaba/dashscope/DashScopeClient.java:91
↓ 19 callers
Method
enqueueUpgrade
()
src/test/java/com/alibaba/dashscope/WsTransportMockTest.java:118
↓ 19 callers
Method
fillEnvelope
( com.alibaba.dashscope.types.common.ResponseBase result, ResponseEnvelope envelope)
src/main/java/com/alibaba/dashscope/resources/files/FilesService.java:227
↓ 19 callers
Method
getHeaders
()
src/main/java/com/alibaba/dashscope/legacy_2x/audio/omni/OmniRealtimeParam.java:41
↓ 19 callers
Method
getTimeout
Single-request timeout (design §3: one of the three timeout semantics).
src/main/java/com/alibaba/dashscope/config/ResolvedConfig.java:82
↓ 19 callers
Method
getWorkspace
()
src/main/java/com/alibaba/dashscope/legacy_2x/protocol/FullDuplexRequest.java:195
↓ 19 callers
Method
isSucceeded
()
src/main/java/com/alibaba/dashscope/resources/jobs/Job.java:180
↓ 19 callers
Method
text
(String text)
src/main/java/com/alibaba/dashscope/types/multimodal/ContentPart.java:31
↓ 18 callers
Method
add
(List<String> fields, String key, String value)
src/main/java/com/alibaba/dashscope/applications/agentstudio/sandbox/SandboxesClient.java:253
↓ 18 callers
Method
builder
()
src/main/java/com/alibaba/dashscope/types/completions/ChatCompletionCreateParams.java:68
↓ 18 callers
Method
getData
The first content block's {@code data} payload, for events that carry one.
src/main/java/com/alibaba/dashscope/applications/agentstudio/message/Message.java:100
↓ 18 callers
Method
getFinishReason
()
src/main/java/com/alibaba/dashscope/types/completions/Choice.java:21
↓ 18 callers
Method
getHeaders
Extra headers; applied last, may override SDK-set headers.
src/main/java/com/alibaba/dashscope/RequestOptions.java:70
← previous
next →
101–200 of 6,627, ranked by callers