Class GenericOaiClientConfig
java.lang.Object
de.xima.fc.prompt.ms.impl.service.generic_oai.client.GenericOaiClientConfig
Represents the configuration needed by the client to interact with Generic OAI services.
- Since:
- 8.5.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionapiKey()Gets the API key for authenticating with the Generic OAI API.apiUrl()Gets the URL to the Generic OAI API.builder()Creates a new builder forGenericOaiClientConfig.Gets the connection timeout duration for connections to the Generic OAI API.Gets the file storage to use for managing files sent to the prompt service and returned by it.Gets the read timeout duration for connections to the Generic OAI API.Gets the SSL context supplier for the connection to the Generic OAI API.
-
Method Details
-
apiKey
Gets the API key for authenticating with the Generic OAI API.- Returns:
- The API key.
-
apiUrl
-
connectTimeout
Gets the connection timeout duration for connections to the Generic OAI API.- Returns:
- The connection timeout duration.
-
fileStorage
Gets the file storage to use for managing files sent to the prompt service and returned by it.- Returns:
- The file storage.
-
readTimeout
Gets the read timeout duration for connections to the Generic OAI API.- Returns:
- The read timeout duration.
-
sslContextSupplier
Gets the SSL context supplier for the connection to the Generic OAI API.- Returns:
- The SSL context supplier.
-
builder
Creates a new builder forGenericOaiClientConfig.- Returns:
- A new builder.
-