Package com.bytedesk.ai.springai.gitee
Class SpringAIGiteeConfig
java.lang.Object
com.bytedesk.ai.springai.gitee.SpringAIGiteeConfig
@Configuration
@ConditionalOnProperty(name="spring.ai.gitee.chat.enabled",
havingValue="true",
matchIfMissing=false)
public class SpringAIGiteeConfig
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) org.springframework.ai.openai.api.OpenAiApi
giteeApi()
(package private) org.springframework.ai.chat.client.ChatClient
(package private) org.springframework.ai.openai.OpenAiChatModel
(package private) org.springframework.ai.openai.OpenAiChatOptions
-
Field Details
-
baseUrl
-
apiKey
-
model
-
temperature
-
-
Constructor Details
-
SpringAIGiteeConfig
public SpringAIGiteeConfig()
-
-
Method Details
-
giteeApi
@Bean("giteeApi") org.springframework.ai.openai.api.OpenAiApi giteeApi() -
giteeChatOptions
@Bean("giteeChatOptions") org.springframework.ai.openai.OpenAiChatOptions giteeChatOptions() -
giteeChatModel
@Bean("giteeChatModel") org.springframework.ai.openai.OpenAiChatModel giteeChatModel() -
giteeChatClient
@Bean("giteeChatClient") org.springframework.ai.chat.client.ChatClient giteeChatClient()
-