package com.custom.webui;
|
|
import org.mybatis.spring.annotation.MapperScan;
|
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
|
import org.springframework.scheduling.annotation.EnableAsync;
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
/**
|
* Custom-WebUI 主业务后端启动类。
|
*
|
* <p>职责边界:
|
* <ul>
|
* <li>本服务负责业务结构化数据(用户、会话、消息、文件元数据)与认证鉴权</li>
|
* <li>向量数据一律存放在向量库(Chroma/Qdrant),由 Python RAG 微服务管理</li>
|
* <li>LLM 推理交由 Ollama,本服务只做流式转发与落库</li>
|
* </ul>
|
*/
|
@SpringBootApplication
|
@MapperScan("com.custom.webui.mapper")
|
@ConfigurationPropertiesScan("com.custom.webui.config.props")
|
@EnableAsync
|
@EnableScheduling
|
public class WebuiApplication {
|
|
public static void main(String[] args) {
|
SpringApplication.run(WebuiApplication.class, args);
|
}
|
}
|