Uses of Class
org.springframework.ai.huggingface.invoker.ApiClient
Package
Description
-
Uses of ApiClient in org.springframework.ai.huggingface.api
Modifier and TypeMethodDescriptionvoid
TextGenerationInferenceApi.setApiClient
(ApiClient apiClient) -
Uses of ApiClient in org.springframework.ai.huggingface.invoker
Modifier and TypeMethodDescriptionApiClient.addDefaultHeader
(String name, String value) Add a default header.ApiClient.setBasePath
(String basePath) Set the base path, which should include the hostApiClient.setDateFormat
(DateFormat dateFormat) Set the date format used to parse/format date parameters.ApiClient.setUserAgent
(String userAgent) Set the User-Agent header's value (by adding to the default header map).