Class SpringAIAirlineConfig
java.lang.Object
com.bytedesk.ai.utils.demo.airline.SpringAIAirlineConfig
@Configuration
@ConditionalOnProperty(name={"spring.ai.ollama.embedding.enabled","spring.ai.vectorstore.redis.initialize-schema"},
havingValue="true",
matchIfMissing=true)
public class SpringAIAirlineConfig
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.ai.chat.client.ChatClient
dashScopeCustomerSupportAssistant
(org.springframework.ai.chat.client.ChatClient.Builder bytedeskDashScopeChatClientBuilder, org.springframework.ai.chat.memory.InMemoryChatMemory defaultChatMemory, org.springframework.ai.vectorstore.VectorStore bytedeskOllamaRedisVectorStore)
-
Field Details
-
customerSupportAssistantSystemPrompt
-
-
Constructor Details
-
SpringAIAirlineConfig
public SpringAIAirlineConfig()
-
-
Method Details
-
dashScopeCustomerSupportAssistant
@Bean("dashScopeCustomerSupportAssistant") @ConditionalOnProperty(name="spring.ai.dashscope.chat.enabled", havingValue="true", matchIfMissing=false) public org.springframework.ai.chat.client.ChatClient dashScopeCustomerSupportAssistant(org.springframework.ai.chat.client.ChatClient.Builder bytedeskDashScopeChatClientBuilder, org.springframework.ai.chat.memory.InMemoryChatMemory defaultChatMemory, org.springframework.ai.vectorstore.VectorStore bytedeskOllamaRedisVectorStore)
-