Class DashScopeImageProperties
java.lang.Object
com.alibaba.cloud.ai.autoconfigure.dashscope.DashScopeImageProperties
@ConfigurationProperties("spring.ai.dashscope.image")
public class DashScopeImageProperties
extends Object
TongYi Image API properties.
- Since:
- 2023.0.1.0
- Author:
- yuluo, yuluo
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidvoidsetBaseUrl(String baseUrl) voidsetEnabled(boolean enabled) voidsetOptions(DashScopeImageOptions options) voidsetSecretKey(String secretKey) voidsetWorkspaceId(String workspaceId)
-
Field Details
-
CONFIG_PREFIX
Spring AI Alibaba configuration prefix.- See Also:
-
DEFAULT_IMAGES_MODEL_NAME
Default DashScope Chat model.- See Also:
-
-
Constructor Details
-
DashScopeImageProperties
public DashScopeImageProperties()
-
-
Method Details
-
getOptions
-
setOptions
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getApiKey
-
setApiKey
-
getSecretKey
-
setSecretKey
-
getBaseUrl
-
setBaseUrl
-
getWorkspaceId
-
setWorkspaceId
-