| 限定符和类型 | 方法和说明 |
|---|---|
CodeGenerationResult |
CodeGeneration.call(CodeGenerationParam param)
Call the server to get the whole result.
|
void |
CodeGeneration.call(CodeGenerationParam param,
ResultCallback<CodeGenerationResult> callback)
Call the server to get the result in the callback function.
|
io.reactivex.Flowable<CodeGenerationResult> |
CodeGeneration.streamCall(CodeGenerationParam param)
Call the server to get the result by stream.
|
void |
CodeGeneration.streamCall(CodeGenerationParam param,
ResultCallback<CodeGenerationResult> callback)
Call the server to get the result by stream.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ChatCompletion |
ChatCompletions.call(ChatCompletionParam param) |
void |
ChatCompletions.call(ChatCompletionParam param,
ResultCallback<ChatCompletion> callback) |
io.reactivex.Flowable<ChatCompletionChunk> |
ChatCompletions.streamCall(ChatCompletionParam param) |
void |
ChatCompletions.streamCall(ChatCompletionParam param,
ResultCallback<ChatCompletionChunk> callback) |
| 限定符和类型 | 方法和说明 |
|---|---|
ConversationResult |
Conversation.call(ConversationParam param)
已过时。
Call the server to get the whole result.
|
void |
Conversation.call(ConversationParam param,
ResultCallback<ConversationResult> callback)
已过时。
Call the server to get the result in the callback function.
|
io.reactivex.Flowable<ConversationResult> |
Conversation.streamCall(ConversationParam param)
已过时。
Call the server to get the result by stream.
|
void |
Conversation.streamCall(ConversationParam param,
ResultCallback<ConversationResult> callback)
已过时。
Call the server to get the result by stream.
|
| 限定符和类型 | 方法和说明 |
|---|---|
GenerationResult |
Generation.call(HalfDuplexServiceParam param)
Call the server to get the whole result, only http protocol
|
void |
Generation.call(HalfDuplexServiceParam param,
ResultCallback<GenerationResult> callback)
Call the server to get the result in the callback function.
|
io.reactivex.Flowable<GenerationResult> |
Generation.streamCall(HalfDuplexServiceParam param)
Call the server to get the result by stream. http and websocket.
|
void |
Generation.streamCall(HalfDuplexServiceParam param,
ResultCallback<GenerationResult> callback) |
| 限定符和类型 | 方法和说明 |
|---|---|
ImageGenerationResult |
ImageGeneration.asyncCall(ImageGenerationParam param)
Call the server to get the whole result.
|
ImageGenerationResult |
ImageGeneration.call(ImageGenerationParam param)
Call the server to get the whole result.
|
void |
ImageGeneration.call(ImageGenerationParam param,
ResultCallback<ImageGenerationResult> callback)
Call the server to get the result in the callback function.
|
ImageGenerationResult |
ImageGeneration.cancel(ImageGenerationResult taskInfo,
String apiKey) |
ImageGenerationResult |
ImageGeneration.cancel(String taskId,
String apiKey) |
ImageGenerationResult |
ImageGeneration.fetch(ImageGenerationResult taskInfo,
String apiKey) |
ImageGenerationResult |
ImageGeneration.fetch(String taskId,
String apiKey) |
ImageGenerationListResult |
ImageGeneration.list(AsyncTaskListParam param) |
ImageGenerationListResult |
ImageGeneration.list(String startTime,
String endTime,
String modelName,
String apiKeyId,
String region,
String status,
Integer pageNo,
Integer pageSize) |
io.reactivex.Flowable<ImageGenerationResult> |
ImageGeneration.streamCall(ImageGenerationParam param)
Call the server to get the result by stream.
|
void |
ImageGeneration.streamCall(ImageGenerationParam param,
ResultCallback<ImageGenerationResult> callback)
Call the server to get the result by stream.
|
ImageGenerationResult |
ImageGeneration.wait(ImageGenerationResult taskInfo,
String apiKey) |
ImageGenerationResult |
ImageGeneration.wait(String taskId,
String apiKey) |
| 限定符和类型 | 方法和说明 |
|---|---|
MultiModalConversationResult |
MultiModalConversation.call(MultiModalConversationParam param)
Call the server to get the whole result.
|
void |
MultiModalConversation.call(MultiModalConversationParam param,
ResultCallback<MultiModalConversationResult> callback)
Call the server to get the result in the callback function.
|
io.reactivex.Flowable<MultiModalConversationResult> |
MultiModalConversation.streamCall(MultiModalConversationParam param)
Call the server to get the result by stream.
|
void |
MultiModalConversation.streamCall(MultiModalConversationParam param,
ResultCallback<MultiModalConversationResult> callback)
Call the server to get the result by stream.
|
| 限定符和类型 | 方法和说明 |
|---|---|
VideoSynthesisResult |
VideoSynthesis.asyncCall(VideoSynthesisParam param)
Async call
|
VideoSynthesisResult |
VideoSynthesis.call(VideoSynthesisParam param)
Call the server to get the result.
|
VideoSynthesisResult |
VideoSynthesis.cancel(String taskId,
String apiKey)
Cancel the task.
|
VideoSynthesisResult |
VideoSynthesis.cancel(VideoSynthesisResult taskInfo,
String apiKey)
Cancel the task.
|
void |
VideoSynthesisParam.checkAndUpload() |
VideoSynthesisResult |
VideoSynthesis.fetch(String taskId,
String apiKey)
Fetch the result.
|
VideoSynthesisResult |
VideoSynthesis.fetch(VideoSynthesisResult taskInfo,
String apiKey)
Fetch the result.
|
VideoSynthesisListResult |
VideoSynthesis.list(AsyncTaskListParam param)
List the tasks.
|
VideoSynthesisListResult |
VideoSynthesis.list(String startTime,
String endTime,
String modelName,
String apiKeyId,
String region,
String status,
Integer pageNo,
Integer pageSize) |
VideoSynthesisResult |
VideoSynthesis.wait(String taskId,
String apiKey)
Wait for the task to complete.
|
VideoSynthesisResult |
VideoSynthesis.wait(VideoSynthesisResult taskInfo,
String apiKey)
Wait for the task to complete.
|
| 限定符和类型 | 方法和说明 |
|---|---|
DashScopeResult |
AsynchronousApi.asyncCall(ParamT param,
ServiceOption serviceOption)
Call async interface and return async task info.
|
DashScopeResult |
SynchronizeHalfDuplexApi.call(ParamT param)
Call the server to get the whole result.
|
void |
SynchronizeHalfDuplexApi.call(ParamT param,
ResultCallback<DashScopeResult> callback)
Call the server to get the result in the callback function.
|
DashScopeResult |
AsynchronousApi.call(ParamT param,
ServiceOption serviceOption)
Call the server to get the whole result.
|
DashScopeResult |
GeneralApi.call(ParamT param,
ServiceOption serviceOptions)
Call the server to get the whole result.
|
void |
GeneralApi.call(ParamT param,
ServiceOption serviceOptions,
ResultCallback<DashScopeResult> callback)
Call the server to get the result in the callback function.
|
DashScopeResult |
AsynchronousApi.cancel(DashScopeResult taskInfo,
String apiKey,
String baseUrl) |
DashScopeResult |
AsynchronousApi.cancel(String taskId,
String apiKey,
String baseUrl) |
DashScopeResult |
GeneralApi.delete(HalfDuplexParamBase param,
ServiceOption serviceOption)
Make a Delete request.
|
io.reactivex.Flowable<DashScopeResult> |
SynchronizeFullDuplexApi.duplexCall(ParamT param)
Call the server to get the result by stream.
|
void |
SynchronizeFullDuplexApi.duplexCall(ParamT param,
ResultCallback<DashScopeResult> callback)
Call the server to get the result by stream.
|
DashScopeResult |
AsynchronousApi.fetch(DashScopeResult taskInfo,
String apiKey,
String baseUrl) |
DashScopeResult |
AsynchronousApi.fetch(String taskId,
String apiKey,
String baseUrl)
Get the async task information, if the is completed will return the result, otherwise return
task status.
|
DashScopeResult |
AsynchronousApi.fetch(String taskId,
String apiKey,
String baseUrl,
Map<String,String> customHeaders)
Get the async task information, if the is completed will return the result, otherwise return
task status.
|
DashScopeResult |
GeneralApi.get(HalfDuplexParamBase param,
ServiceOption serviceOption)
Make a get request.
|
DashScopeResult |
AsynchronousApi.list(AsyncTaskListParam param,
String baseUrl) |
DashScopeResult |
AsynchronousApi.list(String startTime,
String endTime,
String modelName,
String apiKeyId,
String region,
String status,
Integer pageNo,
Integer pageSize,
String baseUrl) |
io.reactivex.Flowable<DashScopeResult> |
SynchronizeHalfDuplexApi.streamCall(ParamT param)
Call the server to get the result by stream.
|
void |
SynchronizeHalfDuplexApi.streamCall(ParamT param,
ResultCallback<DashScopeResult> callback)
Call the server to get the result by stream.
|
io.reactivex.Flowable<DashScopeResult> |
GeneralApi.streamCall(ParamT param,
ServiceOption serviceOptions)
Call the server to get the result by stream.
|
void |
GeneralApi.streamCall(ParamT param,
ServiceOption serviceOptions,
ResultCallback<DashScopeResult> callback)
Call the server to get the result by stream.
|
DashScopeResult |
SynchronizeFullDuplexApi.streamIn(ParamT param)
Call the server to get the whole result.
|
void |
SynchronizeFullDuplexApi.streamIn(ParamT param,
ResultCallback<DashScopeResult> callback)
Call the server to get the result in the callback function.
|
DashScopeResult |
AsynchronousApi.wait(DashScopeResult taskInfo,
String apiKey,
String baseUrl) |
DashScopeResult |
AsynchronousApi.wait(String taskId,
String apiKey,
String baseUrl)
Wait for async task completed and return task result.
|
DashScopeResult |
AsynchronousApi.wait(String taskId,
String apiKey,
String baseUrl,
Map<String,String> customHeaders)
Wait for async task completed and return task result.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ApplicationResult |
Application.call(ApplicationParam param)
app completion call for http request
|
io.reactivex.Flowable<ApplicationResult> |
Application.streamCall(ApplicationParam param)
app completion call for http request by sse stream
|
| 限定符和类型 | 方法和说明 |
|---|---|
static AsrPhraseStatusResult |
AsrPhraseManager.CreatePhrases(AsrPhraseParam param) |
static AsrPhraseStatusResult |
AsrPhraseManager.DeletePhrase(AsrPhraseParam param,
String phraseId) |
static AsrPhraseStatusResult |
AsrPhraseManager.ListPhrases(AsrPhraseParam param) |
static AsrPhraseStatusResult |
AsrPhraseManager.QueryPhrase(AsrPhraseParam param,
String phraseId) |
static AsrPhraseStatusResult |
AsrPhraseManager.UpdatePhrases(AsrPhraseParam param,
String phraseId) |
| 限定符和类型 | 方法和说明 |
|---|---|
io.reactivex.Flowable<RecognitionResult> |
Recognition.streamCall(RecognitionParam param,
io.reactivex.Flowable<ByteBuffer> audioFrame) |
| 限定符和类型 | 方法和说明 |
|---|---|
io.reactivex.Flowable<TranslationRecognizerResult> |
TranslationRecognizerRealtime.streamCall(TranslationRecognizerParam param,
io.reactivex.Flowable<ByteBuffer> audioFrame)
Speech Translation and Recognition real-time using Flowable features
|
| 限定符和类型 | 方法和说明 |
|---|---|
Vocabulary |
VocabularyService.createVocabulary(String targetModel,
String prefix,
com.google.gson.JsonArray vocabulary)
创建新热词
|
Vocabulary |
VocabularyService.createVocabulary(String targetModel,
String prefix,
com.google.gson.JsonArray vocabulary,
VocabularyParam customParam) |
void |
VocabularyService.deleteVocabulary(String vocabularyId)
删除热词表
|
void |
VocabularyService.deleteVocabulary(String vocabularyId,
VocabularyParam customParam) |
Vocabulary[] |
VocabularyService.listVocabulary(String prefix)
查询已创建的所有热词表。
|
Vocabulary[] |
VocabularyService.listVocabulary(String prefix,
int pageIndex,
int pageSize)
查询已创建的所有热词表
|
Vocabulary[] |
VocabularyService.listVocabulary(String prefix,
int pageIndex,
int pageSize,
VocabularyParam customParam) |
Vocabulary |
VocabularyService.queryVocabulary(String vocabularyId)
查询指定热词表
|
Vocabulary |
VocabularyService.queryVocabulary(String vocabularyId,
VocabularyParam customParam) |
void |
VocabularyService.updateVocabulary(String vocabularyId,
com.google.gson.JsonArray vocabulary)
更新热词表
|
void |
VocabularyService.updateVocabulary(String vocabularyId,
com.google.gson.JsonArray vocabulary,
VocabularyParam customParam) |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpSpeechSynthesisResult |
HttpSpeechSynthesizer.call(HttpSpeechSynthesisParam param)
Synchronous call without SSE - returns a result containing the audio URL.
|
ByteBuffer |
HttpSpeechSynthesizer.callAndReturnAudio(HttpSpeechSynthesisParam param)
Streaming call that returns audio data as a ByteBuffer.
|
void |
HttpSpeechSynthesizer.streamCall(HttpSpeechSynthesisParam param,
ResultCallback<HttpSpeechSynthesisResult> callback)
Streaming call with callback interface.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
OmniRealtimeConversation.connect()
Connect to server, create session and return default session configuration
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AudioWebsocketRequest.connect(String apiKey,
String workspace,
Map<String,String> customHeaders,
String baseWebSocketUrl,
AudioWebsocketCallback callback) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
QwenTtsRealtime.connect()
Connect to server, create session and return default session configuration
|
| 限定符和类型 | 方法和说明 |
|---|---|
io.reactivex.Flowable<SpeechSynthesisResult> |
SpeechSynthesizer.callAsFlowable(String text)
Stream output speech synthesis using Flowable features (non-streaming input)
|
void |
SpeechSynthesizerV2.connect() |
io.reactivex.Flowable<SpeechSynthesisResult> |
SpeechSynthesizer.streamingCallAsFlowable(io.reactivex.Flowable<String> textStream)
Stream input and output speech synthesis using Flowable features
|
| 限定符和类型 | 方法和说明 |
|---|---|
Voice |
VoiceEnrollmentService.createVoice(String targetModel,
String prefix,
String url)
创建新克隆音色
|
Voice |
VoiceEnrollmentService.createVoice(String targetModel,
String prefix,
String url,
VoiceEnrollmentParam customParam) |
void |
VoiceEnrollmentService.deleteVoice(String voiceId)
删除音色
|
void |
VoiceEnrollmentService.deleteVoice(String voiceId,
VoiceEnrollmentParam customParam) |
Voice[] |
VoiceEnrollmentService.listVoice(String prefix)
查询已创建的所有音色 默认的页索引为0,默认的页大小为10
|
Voice[] |
VoiceEnrollmentService.listVoice(String prefix,
int pageIndex,
int pageSize)
查询已创建的所有音色
|
Voice[] |
VoiceEnrollmentService.listVoice(String prefix,
int pageIndex,
int pageSize,
VoiceEnrollmentParam customParam) |
Voice |
VoiceEnrollmentService.queryVoice(String voiceId)
查询指定音色
|
Voice |
VoiceEnrollmentService.queryVoice(String voiceId,
VoiceEnrollmentParam customParam) |
void |
VoiceEnrollmentService.updateVoice(String voiceId,
String url)
更新音色
|
void |
VoiceEnrollmentService.updateVoice(String voiceId,
String url,
VoiceEnrollmentParam customParam) |
| 限定符和类型 | 方法和说明 |
|---|---|
BatchTextEmbeddingResult |
BatchTextEmbedding.asyncCall(BatchTextEmbeddingParam param) |
BatchTextEmbeddingResult |
BatchTextEmbedding.call(BatchTextEmbeddingParam param)
Call the server and wait for the task finished.
|
MultiModalEmbeddingResult |
MultiModalEmbedding.call(MultiModalEmbeddingParam param)
Call the server to get the whole result, only http protocol
|
void |
MultiModalEmbedding.call(MultiModalEmbeddingParam param,
ResultCallback<MultiModalEmbeddingResult> callback)
Call the server to get the result in the callback function.
|
TextEmbeddingResult |
TextEmbedding.call(TextEmbeddingParam param)
Call the server to get the whole result, only http protocol
|
void |
TextEmbedding.call(TextEmbeddingParam param,
ResultCallback<TextEmbeddingResult> callback)
Call the server to get the result in the callback function.
|
BatchTextEmbeddingResult |
BatchTextEmbedding.cancel(BatchTextEmbeddingResult taskInfo,
String apiKey) |
BatchTextEmbeddingResult |
BatchTextEmbedding.cancel(String taskId,
String apiKey) |
BatchTextEmbeddingResult |
BatchTextEmbedding.fetch(BatchTextEmbeddingResult taskInfo,
String apiKey) |
BatchTextEmbeddingResult |
BatchTextEmbedding.fetch(String taskId,
String apiKey) |
AsyncTaskListResult |
BatchTextEmbedding.list(AsyncTaskListParam param) |
AsyncTaskListResult |
BatchTextEmbedding.list(String startTime,
String endTime,
String modelName,
String apiKeyId,
String region,
String status,
Integer pageNo,
Integer pageSize) |
BatchTextEmbeddingResult |
BatchTextEmbedding.wait(BatchTextEmbeddingResult taskInfo,
String apiKey) |
BatchTextEmbeddingResult |
BatchTextEmbedding.wait(String taskId,
String apiKey) |
| 限定符和类型 | 方法和说明 |
|---|---|
DashScopeResult |
TingWu.call(HalfDuplexServiceParam param)
Call the server to get the whole result, only http protocol
|
| 限定符和类型 | 方法和说明 |
|---|---|
UnderstandingResult |
Understanding.call(UnderstandingParam param)
Call the server to get the whole result, only http protocol
|
void |
Understanding.call(UnderstandingParam param,
ResultCallback<UnderstandingResult> callback)
Call the server to get the result in the callback function.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Map<String,String> |
DashScopeHeaders.buildHttpHeaders(String apiKey,
Boolean isSecurityCheck,
Protocol protocol,
Boolean isSSE,
Boolean isAsyncTask,
String workspace,
Map<String,String> customHeaders) |
static Map<String,String> |
DashScopeHeaders.buildHttpHeaders(String apiKey,
Boolean isSecurityCheck,
Protocol protocol,
Boolean isSSE,
Boolean isAsyncTask,
String workspace,
Map<String,String> customHeaders,
String customUserAgent) |
static Map<String,String> |
DashScopeHeaders.buildWebSocketHeaders(String apiKey,
boolean isSecurityCheck,
String workspace,
Map<String,String> customHeaders) |
static Map<String,String> |
DashScopeHeaders.buildWebSocketHeaders(String apiKey,
boolean isSecurityCheck,
String workspace,
Map<String,String> customHeaders,
String customUserAgent) |
io.reactivex.Flowable<DashScopeResult> |
FullDuplexClient.duplex(FullDuplexRequest req) |
void |
FullDuplexClient.duplex(FullDuplexRequest req,
ResultCallback<DashScopeResult> callback) |
HttpRequest |
HalfDuplexRequest.getHttpRequest() |
DashScopeResult |
HalfDuplexClient.send(HalfDuplexRequest req)
Blocking send http request and get the response body.
|
void |
HalfDuplexClient.send(HalfDuplexRequest req,
ResultCallback<DashScopeResult> callback) |
DashScopeResult |
FullDuplexClient.streamIn(FullDuplexRequest req) |
void |
FullDuplexClient.streamIn(FullDuplexRequest req,
ResultCallback<DashScopeResult> callback) |
io.reactivex.Flowable<DashScopeResult> |
HalfDuplexClient.streamOut(HalfDuplexRequest req) |
void |
HalfDuplexClient.streamOut(HalfDuplexRequest req,
ResultCallback<DashScopeResult> callback) |
| 限定符和类型 | 方法和说明 |
|---|---|
io.reactivex.Flowable<DashScopeResult> |
OkHttpWebSocketClient.duplex(FullDuplexRequest req) |
void |
OkHttpWebSocketClient.duplex(FullDuplexRequest req,
ResultCallback<DashScopeResult> callback) |
DashScopeResult |
OkHttpHttpClient.send(HalfDuplexRequest req) |
void |
OkHttpHttpClient.send(HalfDuplexRequest req,
ResultCallback<DashScopeResult> callback) |
void |
OkHttpWebSocketClient.streamIn(FullDuplexRequest req,
ResultCallback<DashScopeResult> callback) |
io.reactivex.Flowable<DashScopeResult> |
OkHttpHttpClient.streamOut(HalfDuplexRequest req) |
void |
OkHttpHttpClient.streamOut(HalfDuplexRequest req,
ResultCallback<DashScopeResult> callback) |
| 限定符和类型 | 方法和说明 |
|---|---|
TextReRankResult |
TextReRank.call(TextReRankParam param)
Call the server to get the whole result.
|
| 限定符和类型 | 方法和说明 |
|---|---|
AssistantThread |
Threads.create(ThreadParam param) |
DeletionStatus |
Threads.delete(String threadId) |
DeletionStatus |
Threads.delete(String threadId,
String apiKey) |
AssistantThread |
Threads.retrieve(String threadId) |
AssistantThread |
Threads.retrieve(String threadId,
String apiKey) |
AssistantThread |
Threads.update(String threadId,
UpdateMetadataParam param) |
| 限定符和类型 | 方法和说明 |
|---|---|
ThreadMessage |
Messages.create(String threadId,
MessageParamBase param) |
ListResult<ThreadMessage> |
Messages.list(String threadId,
GeneralListParam listParam) |
ListResult<MessageFile> |
Messages.listFiles(String threadId,
String messageId,
GeneralListParam listParam) |
ThreadMessage |
Messages.retrieve(String threadId,
String messageId) |
ThreadMessage |
Messages.retrieve(String threadId,
String messageId,
String apiKey) |
ThreadMessage |
Messages.retrieve(String threadId,
String messageId,
String apiKey,
Map<String,String> headers) |
MessageFile |
Messages.retrieveFile(String threadId,
String messageId,
String fileId) |
MessageFile |
Messages.retrieveFile(String threadId,
String messageId,
String fileId,
String apiKey) |
MessageFile |
Messages.retrieveFile(String threadId,
String messageId,
String fileId,
String apiKey,
Map<String,String> headers) |
ThreadMessage |
Messages.update(String threadId,
String messageId,
UpdateMetadataParam param) |
| 限定符和类型 | 方法和说明 |
|---|---|
Run |
Runs.create(String threadId,
RunParam param)
Create a thread run.
|
io.reactivex.Flowable<AssistantStreamMessage> |
Runs.createStream(String threadId,
RunParam param)
Create stream run, return Flowable of StreamMessage.
|
void |
Runs.createStream(String threadId,
RunParam param,
AssistantEventHandler handler)
Create stream run, with event handler.
|
io.reactivex.Flowable<AssistantStreamMessage> |
Runs.createStreamThreadAndRun(ThreadAndRunParam param)
Create stream output and run.
|
void |
Runs.createStreamThreadAndRun(ThreadAndRunParam param,
AssistantEventHandler handler)
Create stream output and run.
|
Run |
Runs.createThreadAndRun(ThreadAndRunParam param)
Create thread and run.
|
ListResult<Run> |
Runs.list(String threadId,
GeneralListParam listParam)
List the run of thread id.
|
ListResult<RunStep> |
Runs.listSteps(String threadId,
String runId,
GeneralListParam listParam)
List the run step of the run id.
|
Run |
Runs.retrieve(String threadId,
String runId)
Retrieve the run.
|
Run |
Runs.retrieve(String threadId,
String runId,
String apiKey)
Retrieve the run.
|
Run |
Runs.retrieve(String threadId,
String runId,
String apiKey,
Map<String,String> headers) |
RunStep |
Runs.retrieveStep(String threadId,
String runId,
String stepId)
Retrieve the run step.
|
RunStep |
Runs.retrieveStep(String threadId,
String runId,
String stepId,
String apiKey)
Retrieve the run step.
|
RunStep |
Runs.retrieveStep(String threadId,
String runId,
String stepId,
String apiKey,
Map<String,String> headers) |
io.reactivex.Flowable<AssistantStreamMessage> |
Runs.submitStreamToolOutputs(String threadId,
String runId,
SubmitToolOutputsParam param)
Submit tool outputs, and return stream result.
|
void |
Runs.submitStreamToolOutputs(String threadId,
String runId,
SubmitToolOutputsParam param,
AssistantEventHandler handler)
Submit tool outputs, and return stream result.
|
Run |
Runs.submitToolOutputs(String threadId,
String runId,
SubmitToolOutputsParam param)
Submit tool outputs.
|
Run |
Runs.update(String threadId,
String runId,
UpdateMetadataParam param)
Update the run.
|
| 限定符和类型 | 方法和说明 |
|---|---|
TokenizationResult |
Tokenization.call(HalfDuplexServiceParam param)
Call the server to get the whole result, only http protocol
|
void |
Tokenization.call(HalfDuplexServiceParam param,
ResultCallback<TokenizationResult> callback)
Call the server to get the result in the callback function.
|
| 限定符和类型 | 方法和说明 |
|---|---|
DashScopeResult |
GeneralHalfDuplexApi.call(HalfDuplexServiceParam param)
Call the server to get the whole result, only http protocol
|
void |
GeneralHalfDuplexApi.call(HalfDuplexServiceParam param,
ResultCallback<DashScopeResult> callback)
Call the server to get the result in the callback function.
|
static PreprocessMessageInput.CheckAndUploadResult |
PreprocessMessageInput.checkAndUpload(String model,
MultiModalMessageItemBase message,
String apiKey,
OSSUploadCertificate certificate)
Check and upload file with certificate reuse support.
|
static boolean |
PreprocessInputImage.checkAndUploadImage(String model,
Map<String,String> values,
String apiKey)
Check and upload multiple images without certificate reuse (legacy).
|
static String |
PreprocessInputImage.checkAndUploadImage(String model,
String apiKey,
String value)
Check and upload one image without certificate reuse (legacy).
|
static PreprocessInputImage.CheckAndUploadImageResult |
PreprocessInputImage.checkAndUploadImages(String model,
Map<String,String> values,
String apiKey,
OSSUploadCertificate certificate)
Check and upload multiple images with certificate reuse support.
|
static boolean |
PreprocessMessageInput.checkAndUploadMultiModalMessage(String model,
Map.Entry<String,Object> entry,
String apiKey)
Check and upload multimodal message without certificate reuse.
|
static PreprocessMessageInput.CheckAndUploadResult |
PreprocessMessageInput.checkAndUploadMultiModalMessage(String model,
Map.Entry<String,Object> entry,
String apiKey,
OSSUploadCertificate certificate)
Check and upload multimodal message with certificate reuse.
|
static PreprocessInputImage.CheckAndUploadOneImageResult |
PreprocessInputImage.checkAndUploadOneImage(String model,
String apiKey,
String value,
OSSUploadCertificate certificate)
Check and upload one image with certificate reuse support.
|
static String |
PreprocessMessageInput.checkAndUploadOneMultiModalMessage(String model,
String apiKey,
String key,
String value)
Check and upload one multimodal message without certificate reuse.
|
static PreprocessMessageInput.CheckAndUploadOneResult |
PreprocessMessageInput.checkAndUploadOneMultiModalMessage(String model,
String apiKey,
String key,
String value,
OSSUploadCertificate certificate)
Check and upload one multimodal message with certificate reuse.
|
static EncryptionConfig |
EncryptionUtils.generateEncryptionConfig(String apiKey)
Generate a EncryptionConfig.
|
static DashScopeResult |
OSSUtils.get_upload_certificate(String model,
String apiKey) |
EncryptionKey |
EncryptionKeys.get() |
EncryptionKey |
EncryptionKeys.get(String apiKey) |
static String |
ApiKey.getApiKey(String apiKey) |
static <T extends MultiModalMessageItemBase> |
PreprocessMessageInput.preProcessMessageInputs(String model,
List<T> messages,
String apiKey)
Preprocess message inputs without certificate reuse (legacy).
|
static <T extends MultiModalMessageItemBase> |
PreprocessMessageInput.preProcessMessageInputs(String model,
List<T> messages,
String apiKey,
OSSUploadCertificate certificate)
Preprocess message inputs with certificate reuse support.
|
static PreprocessMessageInput.PreprocessResult |
PreprocessMessageInput.preProcessMultiModalMessageInputs(String model,
ImageGenerationMessage messages,
String apiKey,
OSSUploadCertificate certificate) |
static boolean |
PreprocessMessageInput.preProcessMultiModalMessageInputs(String model,
MultiModalMessage messages,
String apiKey)
Preprocess multimodal message inputs without certificate reuse.
|
static PreprocessMessageInput.PreprocessResult |
PreprocessMessageInput.preProcessMultiModalMessageInputs(String model,
MultiModalMessage messages,
String apiKey,
OSSUploadCertificate certificate)
Preprocess multimodal message inputs with certificate reuse.
|
io.reactivex.Flowable<DashScopeResult> |
GeneralHalfDuplexApi.streamCall(HalfDuplexServiceParam param)
Call the server to get the result by stream. http and websocket.
|
void |
GeneralHalfDuplexApi.streamCall(HalfDuplexServiceParam param,
ResultCallback<DashScopeResult> callback) |
static String |
OSSUtils.upload(String model,
String filePath,
String apiKey)
Upload file to OSS without certificate reuse.
|
static UploadResult |
OSSUtils.uploadWithCertificate(String model,
String filePath,
String apiKey,
OSSUploadCertificate certificate)
Upload file to OSS with optional certificate reuse.
|
Copyright © 2026. All rights reserved.