Class SpringAICustomConfig
java.lang.Object
com.bytedesk.ai.springai.providers.custom.SpringAICustomConfig
@Configuration
@ConditionalOnProperty(name="spring.ai.custom.chat.enabled",
havingValue="true",
matchIfMissing=false)
public class SpringAICustomConfig
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) org.springframework.ai.openai.api.OpenAiApi
(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
-
SpringAICustomConfig
public SpringAICustomConfig()
-
-
Method Details
-
customApi
@Bean("customApi") org.springframework.ai.openai.api.OpenAiApi customApi() -
customChatOptions
@Bean("customChatOptions") org.springframework.ai.openai.OpenAiChatOptions customChatOptions() -
customChatModel
@Bean("customChatModel") org.springframework.ai.openai.OpenAiChatModel customChatModel() -
customChatClient
@Bean("customChatClient") org.springframework.ai.chat.client.ChatClient customChatClient()
-