Class ZhiPuAiChatProperties
java.lang.Object
org.springframework.ai.autoconfigure.zhipuai.ZhiPuAiChatProperties
@ConfigurationProperties("spring.ai.zhipuai.chat")
public class ZhiPuAiChatProperties
extends Object
Configuration properties for ZhiPuAI chat model.
- Author:
- Geng Rong
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
void
setBaseUrl
(String baseUrl) void
setEnabled
(boolean enabled) void
setOptions
(ZhiPuAiChatOptions options)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
DEFAULT_CHAT_MODEL
-
-
Constructor Details
-
ZhiPuAiChatProperties
public ZhiPuAiChatProperties()
-
-
Method Details
-
getOptions
-
setOptions
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getApiKey
-
setApiKey
-
getBaseUrl
-
setBaseUrl
-