本地 RAG 知识库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
825 B

package com.wok.supportbot;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
/**
* 主启动类
* <p>
* ChatModel / EmbeddingModel / VectorStore 均由项目内工厂手动构建(见 ChatModelFactory、
* EmbeddingModelFactory、PgVectorStoreConfig),不使用 Spring AI 的自动配置。
*/
@SpringBootApplication
@EnableScheduling
@EnableAsync
@EnableTransactionManagement
public class SupportBotApplication {
public static void main(String[] args) {
SpringApplication.run(SupportBotApplication.class, args);
}
}