Class DashScopeApi.Builder
java.lang.Object
com.alibaba.cloud.ai.dashscope.api.DashScopeApi.Builder
- Enclosing class:
- DashScopeApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()completionsPath(String completionsPath) embeddingsPath(String embeddingsPath) responseErrorHandler(org.springframework.web.client.ResponseErrorHandler responseErrorHandler) restClientBuilder(org.springframework.web.client.RestClient.Builder restClientBuilder) webClientBuilder(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder) workSpaceId(String workSpaceId)
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
baseUrl
-
workSpaceId
-
apiKey
-
headers
-
restClientBuilder
public DashScopeApi.Builder restClientBuilder(org.springframework.web.client.RestClient.Builder restClientBuilder) -
completionsPath
-
embeddingsPath
-
webClientBuilder
public DashScopeApi.Builder webClientBuilder(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder) -
responseErrorHandler
public DashScopeApi.Builder responseErrorHandler(org.springframework.web.client.ResponseErrorHandler responseErrorHandler) -
build
-