Class ApiUtils
java.lang.Object
com.alibaba.cloud.ai.dashscope.api.ApiUtils
- Since:
- 1.0.0-M2
- Author:
- nuocheng.lxm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Consumer<org.springframework.http.HttpHeaders>getAudioTranscriptionHeaders(String workspace, Boolean isAsyncTask, Boolean isSecurityCheck, Boolean isSSE) static Consumer<org.springframework.http.HttpHeaders>getFileUploadHeaders(Map<String, String> input) static Consumer<org.springframework.http.HttpHeaders>getJsonContentHeaders(String apiKey) static Consumer<org.springframework.http.HttpHeaders>getJsonContentHeaders(String apiKey, String workspaceId) static Consumer<org.springframework.http.HttpHeaders>getJsonContentHeaders(String apiKey, String workspaceId, boolean stream) getMapContentHeaders(String apiKey, boolean isSecurityCheck, String workspace, Map<String, String> customHeaders)
-
Constructor Details
-
ApiUtils
public ApiUtils()
-
-
Method Details
-
getJsonContentHeaders
-
getJsonContentHeaders
-
getJsonContentHeaders
-
getMapContentHeaders
-
getAudioTranscriptionHeaders
-
getFileUploadHeaders
-