MCPcopy Create free account

hub / github.com/dashscope/dashscope-sdk-java / functions

Functions2,266 in github.com/dashscope/dashscope-sdk-java

↓ 471 callersMethodbuild
Return one or more Object-MediaType pairs to write via {@link #send(Object, MediaType)}. @since 4.2.3
src/test/java/com/alibaba/dashscope/ServerSentEvent.java:58
↓ 461 callersMethodbuilder
()
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioClient.java:51
↓ 282 callersMethodget
Make a get request. @param param The param @param serviceOption The service options @return The task result. @throws NoApiKeyException Can not find a
src/main/java/com/alibaba/dashscope/api/GeneralApi.java:109
↓ 240 callersMethodformat
Locale-independent String.format using Locale.ROOT to guarantee ASCII output for numeric format specifiers (%d, %f, etc.), preventing non-ASCII charac
src/main/java/com/alibaba/dashscope/utils/StringUtils.java:14
↓ 182 callersMethodtoJson
(Object obj)
src/main/java/com/alibaba/dashscope/utils/JsonUtils.java:59
↓ 147 callersMethodenqueue
(String fixtureKey)
src/test/java/com/alibaba/dashscope/TestAgentStudio.java:87
↓ 130 callersMethodgetMessage
()
src/main/java/com/alibaba/dashscope/exception/ApiException.java:47
↓ 100 callersMethodgetValue
()
src/main/java/com/alibaba/dashscope/common/Role.java:22
↓ 91 callersMethodparse
(String jsonString)
src/main/java/com/alibaba/dashscope/utils/JsonUtils.java:91
↓ 86 callersMethodclose
(int code, String reason)
src/main/java/com/alibaba/dashscope/protocol/FullDuplexClient.java:28
↓ 72 callersMethodapiKey
(String apiKey)
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioClient.java:62
↓ 71 callersMethodfromDashScopeResult
( DashScopeResult dashScopeResult, Type type)
src/main/java/com/alibaba/dashscope/common/FlattenResultBase.java:26
↓ 70 callersMethodgetId
()
src/main/java/com/alibaba/dashscope/tools/ToolCallBase.java:31
↓ 65 callersMethodtoString
()
src/test/java/com/alibaba/dashscope/WebSocketRecorder.java:303
↓ 59 callersMethodequals
(Object other)
src/main/java/com/alibaba/dashscope/tokenizers/EncodeBytesEntity.java:22
↓ 52 callersMethodfromJson
(String obj, Class<T> clazz)
src/main/java/com/alibaba/dashscope/utils/JsonUtils.java:63
↓ 50 callersMethodtoString
()
src/main/java/com/alibaba/dashscope/threads/runs/Run.java:181
↓ 47 callersMethodname
Add an SSE "event" line.
src/test/java/com/alibaba/dashscope/ServerSentEvent.java:39
↓ 45 callersMethodfailedFuture
(Throwable ex)
src/main/java/com/alibaba/dashscope/agentstudio/resource/AsyncHelper.java:44
↓ 44 callersMethodgetType
()
src/main/java/com/alibaba/dashscope/tools/ToolInterface.java:4
↓ 44 callersMethodjoinAndUnwrap
(CompletableFuture<T> future)
src/main/java/com/alibaba/dashscope/agentstudio/resource/AsyncHelper.java:50
↓ 43 callersMethodcallAsync
( GeneralApi<HalfDuplexParamBase> api, HalfDuplexParamBase param, ServiceOption opt)
src/main/java/com/alibaba/dashscope/agentstudio/resource/AsyncHelper.java:17
↓ 43 callersMethodnewServiceOption
Build a {@link GeneralServiceOption} for an agentstudio endpoint. When {@code baseUrl} is non-null it overrides the global default; otherwise the requ
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioConstants.java:99
↓ 37 callersMethodgetModel
()
src/main/java/com/alibaba/dashscope/app/ApplicationParam.java:137
↓ 37 callersMethodsend
Blocking send http request and get the response body. @param req the user input data and parameters. @return The the `DashScopeResult`. @throws NoApi
src/main/java/com/alibaba/dashscope/protocol/HalfDuplexClient.java:20
↓ 33 callersMethodgetApiKey
(String apiKey)
src/main/java/com/alibaba/dashscope/utils/ApiKey.java:15
↓ 32 callersMethodcreateMockResponse
(String responseBody, int statusCode)
src/test/java/com/alibaba/dashscope/TestUtils.java:73
↓ 32 callersMethodfromJsonObject
(JsonElement jsonElement, Class<T> clazz)
src/main/java/com/alibaba/dashscope/utils/JsonUtils.java:75
↓ 31 callersMethodequals
(Object other)
src/test/java/com/alibaba/dashscope/WebSocketRecorder.java:385
↓ 29 callersMethodgetData
()
src/test/java/com/alibaba/dashscope/ServerSentEvent.java:23
↓ 28 callersMethodcreate
Create a thread run. @param threadId The thread id. @param param The `RunParam` @return The `Run` object. @throws ApiException The request exception,
src/main/java/com/alibaba/dashscope/threads/runs/Runs.java:62
↓ 28 callersMethodgetName
()
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeModality.java:20
↓ 28 callersMethodonError
(String errorMsg)
src/main/java/com/alibaba/dashscope/threads/runs/AssistantEventHandler.java:51
↓ 28 callersMethodstart
Starts the dialog session.
src/main/java/com/alibaba/dashscope/multimodal/MultiModalDialog.java:190
↓ 27 callersMethodgetValue
()
src/main/java/com/alibaba/dashscope/app/FlowStreamMode.java:24
↓ 27 callersMethodof
(String value)
src/main/java/com/alibaba/dashscope/protocol/Protocol.java:20
↓ 26 callersMethodcall
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/aigc/generation/Generation.java:117
↓ 26 callersMethodgetContent
()
src/main/java/com/alibaba/dashscope/aigc/multimodalconversation/MultiModalMessageItemBase.java:6
↓ 25 callersMethodparametersToJsonObject
(Map<String, Object> parameters)
src/main/java/com/alibaba/dashscope/utils/JsonUtils.java:165
↓ 24 callersMethodgetTaskId
(DashScopeResult task)
src/main/java/com/alibaba/dashscope/api/AsynchronousApi.java:325
↓ 24 callersMethodstreamCall
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/aigc/generation/Generation.java:168
↓ 23 callersMethodgetModel
()
src/main/java/com/alibaba/dashscope/task/AsyncTaskParam.java:21
↓ 23 callersMethodonError
(WebSocket webSocket, Throwable t)
src/main/java/com/alibaba/dashscope/audio/protocol/AudioWebsocketCallback.java:15
↓ 22 callersMethodtoJsonElement
(Object obj)
src/main/java/com/alibaba/dashscope/utils/JsonUtils.java:87
↓ 22 callersMethodtoString
()
src/main/java/com/alibaba/dashscope/audio/ttsv2/enrollment/Voice.java:82
↓ 20 callersMethodaddExtraBody
(JsonObject requestObject)
src/main/java/com/alibaba/dashscope/base/FlattenHalfDuplexParamBase.java:77
↓ 20 callersMethodappend
(String text)
src/test/java/com/alibaba/dashscope/ServerSentEvent.java:150
↓ 20 callersMethodduplexCall
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/api/SynchronizeFullDuplexApi.java:96
↓ 20 callersMethodgetValue
()
src/main/java/com/alibaba/dashscope/audio/ttsv2/SpeechSynthesisState.java:13
↓ 20 callersMethodparseString
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/utils/JsonUtils.java:103
↓ 19 callersMethodcall
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/aigc/codegeneration/CodeGeneration.java:85
↓ 19 callersMethodtoJsonArray
(Object obj)
src/main/java/com/alibaba/dashscope/utils/JsonUtils.java:79
↓ 18 callersMethodusage
()
samples/ZiyaUsage.java:13
↓ 18 callersMethodwithApiKey
Stamp the client's instance apiKey onto a param if the caller didn't set one. The global fallback chain in {@link com.alibaba.dashscope.utils.ApiKey#g
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioConstants.java:119
↓ 17 callersMethodcreate
(AssistantParam param)
src/main/java/com/alibaba/dashscope/assistants/Assistants.java:57
↓ 17 callersMethodgetFunction
()
src/main/java/com/alibaba/dashscope/protocol/ServiceOption.java:18
↓ 17 callersMethodgetHeaders
()
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeParam.java:38
↓ 17 callersMethodretrieve
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/threads/runs/Runs.java:257
↓ 16 callersMethodgetWorkspace
()
src/main/java/com/alibaba/dashscope/protocol/FullDuplexRequest.java:187
↓ 16 callersMethodstream
(String sessionId)
src/main/java/com/alibaba/dashscope/agentstudio/resource/SessionEvents.java:133
↓ 16 callersMethodtoQueryString
()
src/main/java/com/alibaba/dashscope/agentstudio/param/FileListParam.java:25
↓ 15 callersMethodassertOpen
()
src/test/java/com/alibaba/dashscope/WebSocketRecorder.java:132
↓ 15 callersMethodawait
()
src/main/java/com/alibaba/dashscope/threads/runs/DefaultAssistantEventHandler.java:49
↓ 15 callersMethodgetTaskStartMessage
()
src/test/java/com/alibaba/dashscope/WebSocketServerMessage.java:13
↓ 15 callersMethodgetToolCalls
()
src/main/java/com/alibaba/dashscope/threads/runs/RequiredAction.java:19
↓ 15 callersMethodlength
()
src/main/java/com/alibaba/dashscope/tokenizers/EncodeBytesEntity.java:18
↓ 15 callersMethodtoJsonObject
(Object obj)
src/main/java/com/alibaba/dashscope/utils/JsonUtils.java:83
↓ 15 callersMethodverifyRequest
( RecordedRequest requestServer, Object requestObject, Class<?> classOfRequest, String
src/test/java/com/alibaba/dashscope/TestUtils.java:93
↓ 15 callersMethodworkspace
(String workspace)
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioClient.java:72
↓ 14 callersMethodcall
app completion call for http request @param param app completion params @return app completion result @throws ApiException failed to request api @thr
src/main/java/com/alibaba/dashscope/app/Application.java:53
↓ 13 callersMethodcheckStatus
Omni APIs
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeConversation.java:56
↓ 13 callersMethodstreamCall
Call the server to get the result by stream. @param param The input param of class `MultiModalConversationParam`. @return A `Flowable` of the output
src/main/java/com/alibaba/dashscope/aigc/multimodalconversation/MultiModalConversation.java:155
↓ 12 callersMethodget
(String type)
src/main/java/com/alibaba/dashscope/common/TypeRegistry.java:17
↓ 12 callersMethodvalue
()
src/main/java/com/alibaba/dashscope/threads/runs/Run.java:186
↓ 11 callersMethodcancel
()
src/main/java/com/alibaba/dashscope/protocol/FullDuplexClient.java:30
↓ 11 callersMethodcheckResult
( CodeGenerationResult result, RecordedRequest request, String expectBody, TestResponse rsp)
src/test/java/com/alibaba/dashscope/TestCodeGeneration.java:76
↓ 11 callersMethoddecode
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/tokenizers/Tokenizer.java:44
↓ 10 callersMethodcall
Call the server to get the whole result. @param param The input param, should be the subclass of `Param`. @param serviceOptions The service option. @
src/main/java/com/alibaba/dashscope/api/GeneralApi.java:47
↓ 10 callersMethodcall
Call the server to get the whole result. @param param The input param of class `MultiModalConversationParam`. @return The output structure of `MultiM
src/main/java/com/alibaba/dashscope/aigc/multimodalconversation/MultiModalConversation.java:102
↓ 10 callersMethodcheckStatus
()
src/main/java/com/alibaba/dashscope/audio/qwen_tts_realtime/QwenTtsRealtime.java:51
↓ 10 callersMethodgetValue
()
src/main/java/com/alibaba/dashscope/protocol/Protocol.java:16
↓ 10 callersMethodsendMessage
(String message, boolean enableLog)
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeConversation.java:338
↓ 9 callersMethodcall
Call the server to get the whole result, only http protocol @param param The input param of class `HalfDuplexServiceParam`. @return The output struct
src/main/java/com/alibaba/dashscope/tokenizers/Tokenization.java:73
↓ 9 callersMethodgenerateEventId
()
src/main/java/com/alibaba/dashscope/audio/omni/OmniRealtimeConversation.java:330
↓ 9 callersMethodgetIsFlatten
Is flatten request and response @return if the result is flatten
src/main/java/com/alibaba/dashscope/protocol/ServiceOption.java:55
↓ 9 callersMethodgetTaskGeneratedMessage
(JsonElement output, JsonElement usage)
src/test/java/com/alibaba/dashscope/WebSocketServerMessage.java:24
↓ 9 callersMethodinterrupt
Interrupts current operation.
src/main/java/com/alibaba/dashscope/multimodal/MultiModalDialog.java:368
↓ 9 callersMethodwrite
(JsonWriter out, Message value)
src/main/java/com/alibaba/dashscope/common/MessageAdapter.java:20
↓ 8 callersMethodappendParam
Append {@code key=value} (URL-encoded) to {@code sb} if value is non-null. Joins with {@literal &}.
src/main/java/com/alibaba/dashscope/agentstudio/AgentStudioConstants.java:130
↓ 8 callersMethodcreate
(String threadId, MessageParamBase param)
src/main/java/com/alibaba/dashscope/threads/messages/Messages.java:49
↓ 8 callersMethodcredentials
()
src/main/java/com/alibaba/dashscope/agentstudio/resource/Vaults.java:43
↓ 8 callersMethoddelete
(String threadId)
src/main/java/com/alibaba/dashscope/threads/Threads.java:75
↓ 8 callersMethodget
()
src/main/java/com/alibaba/dashscope/utils/EncryptionKeys.java:45
↓ 8 callersMethodgetOkHttpClient
()
src/main/java/com/alibaba/dashscope/protocol/okhttp/OkHttpClientFactory.java:72
↓ 8 callersMethodgetParameters
()
src/main/java/com/alibaba/dashscope/task/AsyncTaskParam.java:26
↓ 8 callersMethodgetTaskFinishedMessage
(JsonElement output, JsonElement usage)
src/test/java/com/alibaba/dashscope/WebSocketServerMessage.java:37
↓ 8 callersMethodgetValue
()
src/main/java/com/alibaba/dashscope/audio/asr/translation/TranslationRecognizerState.java:15
↓ 8 callersMethodlist
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/threads/runs/Runs.java:220
↓ 8 callersMethodlist
(String threadId, GeneralListParam listParam)
src/main/java/com/alibaba/dashscope/threads/messages/Messages.java:72
↓ 8 callersMethodonComplete
()
src/main/java/com/alibaba/dashscope/tokenizers/Tokenization.java:99
next →1–100 of 2,266, ranked by callers