| 限定符和类型 | 方法和说明 |
|---|---|
static void |
ImageSynthesisUsage.basicCall() |
static void |
BatchTextEmbeddingUsage.basicCall() |
static void |
MultiModalEmbeddingUsage.basicCall() |
static void |
TextEmbeddingUsage.basicCall() |
static void |
GenerationFunctionCallSample.callFunctionAdd() |
static void |
TextEmbeddingUsage.callWithCallback() |
static void |
ConversationManagerHistory.callWithHistoryStream()
已过时。
|
static void |
ApplicationCalls.callWithMemory()
Application call with long term memory sample
|
static void |
GenerationCallWithMessages.callWithMessage() |
static void |
GenerationCallWithMessageMultiRound.callWithMessage() |
static void |
ConversationManagerMessages.callWithMessagesStream() |
static void |
ApplicationCalls.callWithSession()
Call with multiple rounds session sample
|
static void |
BatchTextEmbeddingUsage.cancelTask(BatchTextEmbeddingResult result) |
static Assistant |
AssistantFunctionCallStreamOpenai.createAssistant() |
static Assistant |
AssistantFunctionCallStream.createAssistant() |
static Assistant |
AssistantFunctionCallStreamQwen.createAssistant() |
static Assistant |
AssistantFunctionCall.createAssistant() |
static Assistant |
AssistantCallSearch.createAssistant() |
static Assistant |
AssistantCallSearchStream.createAssistant() |
static BatchTextEmbeddingResult |
BatchTextEmbeddingUsage.createTask() |
static void |
GenerationToolChoice.disableToolCall() |
static void |
DollyUsage.dollyQuickStart() |
void |
ImageSynthesisUsage.fetchTask() |
static void |
BatchTextEmbeddingUsage.fetchTaskStatus(BatchTextEmbeddingResult result) |
static void |
ApplicationCalls.flowCall()
Plugin and flow application call sample
|
static void |
ApplicationCalls.flowCallWithParam()
Plugin and flow application call with biz params sample
|
static void |
GenerationToolChoice.forceCallFunctionAdd() |
static EncryptionKey |
TestEncryption.getEncryptKey()
Get encrypt key from server.
|
static void |
BatchTextEmbeddingUsage.list() |
static void |
ImageSynthesisUsage.listTask() |
static void |
MultiModalEmbeddingUsage.localFileCall() |
static void |
AssistantFunctionCallStreamOpenai.main(String[] args) |
static void |
AssistantFunctionCallStream.main(String[] args) |
static void |
TestEncryption.main(String[] args) |
static void |
AssistantFunctionCallStreamQwen.main(String[] args) |
static void |
AssistantFunctionCall.main(String[] args) |
static void |
AssistantCallSearch.main(String[] args) |
static void |
AssistantCallSearchStream.main(String[] args) |
static void |
MultiModalConversationUsage.MultiRoundConversationCall() |
static void |
GenerationQuickStart.quickStartWithMessage() |
static void |
ConversationQuickStart.quickStartWithMessage() |
static void |
GenerationQuickStart.qwenQuickStart() |
static void |
GenerationQuickStart.qwenQuickStartCallback() |
static void |
TestEncryption.qwenQuickStartGeneral() |
static void |
TestEncryption.qwenQuickStartStream() |
static void |
ApplicationCalls.ragCall()
Rag application call sample
|
static void |
ApplicationCalls.ragCallWithTags()
Rag application call with tags sample
|
void |
AudioRecognitionUsage.recognitionFile(String filePath) |
void |
AudioRecognitionUsage.recognitionRealtimeMicrophone() |
static void |
AssistantFunctionCall.run(String assistantId) |
static void |
AssistantCallSearch.run(String assistantId) |
static void |
AssistantCallSearchStream.run(String assistantId) |
static void |
MultiModalConversationUsage.simpleMultiModalConversationCall() |
static void |
GenerationCallEarlyStop.stopWithStrings() |
static void |
GenerationCallEarlyStop.stopWithTokens() |
static void |
GenerationStreamCall.streamCall() |
static void |
GenerationStreamCall.streamCallWithCallback() |
static void |
AssistantFunctionCallStreamOpenai.streamRun(String assistantId) |
static void |
AssistantFunctionCallStream.streamRun(String assistantId) |
static void |
AssistantFunctionCallStreamQwen.streamRun(String assistantId) |
static void |
CodeGenerationQuickStart.testCode2commentSample() |
static void |
CodeGenerationQuickStart.testCode2explainSample() |
static void |
CodeGenerationQuickStart.testCodeqaSample() |
static void |
CodeGenerationQuickStart.testCommit2msgSample() |
static void |
CodeGenerationQuickStart.testCustomSample() |
static void |
CodeGenerationQuickStart.testCustomSampleWithCallBack() |
static void |
CodeGenerationQuickStart.testCustomSampleWithStream() |
static void |
CodeGenerationQuickStart.testCustomSampleWithStreamCallBack() |
static void |
CodeGenerationQuickStart.testCustomSampleWithWebSocket() |
static void |
ChatCompletionTest.testGeneralRequest() |
static void |
ChatCompletionTest.testGeneralRequestFunction() |
static void |
ChatCompletionTest.testGeneralRequestFunctionParallel() |
static void |
ChatCompletionTest.testGeneralRequestStream() |
static void |
ChatCompletionTest.testMultiModalRequest() |
static void |
CodeGenerationQuickStart.testNl2codeSample() |
static void |
CodeGenerationQuickStart.testNl2sqlSample() |
static void |
ConversationStreamCall.testStreamCall() |
static void |
CodeGenerationQuickStart.testUnittestSample() |
static void |
ChatGLMUsage.usage() |
static void |
Llama2Usage.usage() |
static void |
YuanyuUsage.usage() |
static void |
ZiyaUsage.usage() |
static void |
BelleUsage.usage() |
static void |
BiLLaUsage.usage() |
static void |
BaiChuanUsage.usage() |
static void |
MossUsage.usage() |
static void |
BatchTextEmbeddingUsage.waitTask(BatchTextEmbeddingResult result) |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
static RecognitionResult |
RecognitionResult.fromDashScopeResult(DashScopeResult dashScopeResult) |
io.reactivex.Flowable<RecognitionResult> |
Recognition.streamCall(RecognitionParam param,
io.reactivex.Flowable<ByteBuffer> audioFrame) |
| 限定符和类型 | 方法和说明 |
|---|---|
static TranscriptionResult |
TranscriptionResult.fromDashScopeResult(DashScopeResult dashScopeResult) |
| 限定符和类型 | 方法和说明 |
|---|---|
io.reactivex.Flowable<SpeechSynthesisResult> |
SpeechSynthesizer.callAsFlowable(String text)
Stream output speech synthesis using Flowable features (non-streaming input)
|
io.reactivex.Flowable<SpeechSynthesisResult> |
SpeechSynthesizer.streamingCallAsFlowable(io.reactivex.Flowable<String> textStream)
Stream input and output speech synthesis using Flowable features
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected <T extends Result> |
DashScopeResult.fromResponse(Protocol protocol,
NetworkResponse response) |
protected abstract <T extends Result> |
Result.fromResponse(Protocol protocol,
NetworkResponse response)
Load data from the server output.
|
<T extends Result> |
DashScopeResult.fromResponse(Protocol protocol,
NetworkResponse response,
boolean isFlattenResult) |
abstract <T extends Result> |
Result.fromResponse(Protocol protocol,
NetworkResponse response,
boolean isFlattenResult) |
<T extends Result> |
DashScopeResult.fromResponse(Protocol protocol,
NetworkResponse response,
boolean isFlattenResult,
HalfDuplexRequest req) |
abstract <T extends Result> |
Result.fromResponse(Protocol protocol,
NetworkResponse response,
boolean isFlattenResult,
HalfDuplexRequest req) |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
EncryptionUtils.AESDecrypt(String cipherText,
SecretKey secretKey,
byte[] iv)
AES decrypting encrypted cipher text.
|
static String |
EncryptionUtils.AESEncrypt(byte[] input,
SecretKey secretKey,
byte[] iv)
AES encrypt input, and output base64 encoded cipher text.
|
static String |
EncryptionUtils.AESEncrypt(String input,
SecretKey secretKey,
byte[] iv)
AES encrypt input, and output base64 encoded cipher text.
|
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 EncryptionConfig |
EncryptionUtils.generateEncryptionConfig(String apiKey)
Generate a EncryptionConfig.
|
EncryptionKey |
EncryptionKeys.get() |
EncryptionKey |
EncryptionKeys.get(String apiKey) |
static String |
EncryptionUtils.RSAEncrypt(String input,
String base64AESEncryptKey)
RSA encrypt the input string, return the base64 encoded cipher text.
|
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) |
Copyright © 2024. All rights reserved.