Class OpenAiImageProperties
java.lang.Object
org.springframework.ai.autoconfigure.openai.OpenAiImageProperties
@ConfigurationProperties("spring.ai.openai.image")
public class OpenAiImageProperties
extends Object
OpenAI Image autoconfiguration properties.
- Since:
- 0.8.0
- Author:
- Thomas Vitale
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
void
setBaseUrl
(String baseUrl) void
setEnabled
(boolean enabled) void
setOptions
(OpenAiImageOptions options) void
setOrganizationId
(String organizationId) void
setProjectId
(String projectId)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
DEFAULT_IMAGE_MODEL
-
-
Constructor Details
-
OpenAiImageProperties
public OpenAiImageProperties()
-
-
Method Details
-
getOptions
-
setOptions
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getApiKey
-
setApiKey
-
getBaseUrl
-
setBaseUrl
-
getProjectId
-
setProjectId
-
getOrganizationId
-
setOrganizationId
-