Class MistralAiApi.Builder
java.lang.Object
org.springframework.ai.mistralai.api.MistralAiApi.Builder
- Enclosing class:
- MistralAiApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()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)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
baseUrl
-
apiKey
-
restClientBuilder
public MistralAiApi.Builder restClientBuilder(org.springframework.web.client.RestClient.Builder restClientBuilder) -
webClientBuilder
public MistralAiApi.Builder webClientBuilder(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder) -
responseErrorHandler
public MistralAiApi.Builder responseErrorHandler(org.springframework.web.client.ResponseErrorHandler responseErrorHandler) -
build
-