Class AirlineConfig

java.lang.Object
com.bytedesk.ai.demo.airline.AirlineConfig

@Configuration @ConditionalOnProperty(name={"spring.ai.ollama.embedding.enabled","spring.ai.vectorstore.redis.initialize-schema"}, havingValue="true", matchIfMissing=true) public class AirlineConfig extends Object
  • Field Details

    • customerSupportAssistantSystemPrompt

      private String customerSupportAssistantSystemPrompt
  • Constructor Details

    • AirlineConfig

      public AirlineConfig()
  • 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)