启动后端
大约 13 分钟quickstartcode
一、准备工作
- 导入git私服的 Ai-Server 工程并点击
maven
刷新按钮下载依赖- 后端核心依赖工程:blade-tool
- 如需拓展开发核心依赖工程,开发完毕后在
blade-tool
工程根目录执行mvn clean install
命令便可刷新依赖 - 大模型平台底层基于BladeX架构开发,运行方式两者基本一致,在此之前推荐先查阅框架相关资料
- 特别详细的步骤,请看框架手册
二、启动后端系统服务
- 前往
Ai-Server
工程下的application.yml
配置文件,修改密钥- 具体路径如下:
Ai-Server/src/main/resources/application.yml
- 需要修改的配置如下
(若未集成至BladeX工程采用Ai-Server原版工程,此配置可直接略过)
:
#blade配置 blade: auth: #使用 @org.springblade.test.Sm2KeyGenerator 获取,用于国密sm2验签,需和前端保持一致 public-key: 041cb889cccf335fcde7******************************3f5ac2b3542bbb903d84c07636550e8fe599aae4aef53a91cb77cbb1 #使用 @org.springblade.test.Sm2KeyGenerator 获取,用于国密sm2解密,前端无需配置 private-key: 73e345f2edfdf84b6***************88be564defa94c18515a7ccde602463 token: #注意需要和blade-broker服务的sign-key保持一致 #使用 @org.springblade.test.SignKeyGenerator 获取 sign-key: 6klRvnw*************0TB4m51ZSh
- 具体路径如下:
- 前往
Ai-Server
工程下的application-dev.yml
配置文件,配置oss参数- 具体路径如下:
Ai-Server/src/main/resources/application-dev.yml
- 需要修改的配置如下
(本例子为阿里云,可修改minio、腾讯云等其他oss)
:
#oss配置 oss: enabled: true name: alioss tenant-mode: false endpoint: https://oss-cn-hangzhou.aliyuncs.com bucket-name: blade-ai access-key: OmwI5xxxxxxxxxxe99qe secret-key: DSXUqxxxxxxxxxxxxxxNG0Bi
- 具体路径如下:
- 前往
Ai-Server
工程下的application-dev.yml
配置文件,修改数据库、redis等配置- 具体路径如下:
Ai-Server/src/main/resources/application-dev.yml
- 需要修改的配置如下
(展示的为默认配置,实际情况请修改为自行设置的ip、端口、用户名、密码等配置)
:
#数据源配置 spring: data: redis: ##redis 单机环境配置 host: 127.0.0.1 port: 6379 password: database: 0 ssl: enabled: false ##redis 集群环境配置 #cluster: # nodes: 127.0.0.1:7001,127.0.0.1:7002,127.0.0.1:7003 # commandTimeout: 5000 datasource: # MySql url: jdbc:mysql://localhost:3306/bladex_ai?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true username: root password: root
- 具体路径如下:
- 启动
Ai-Server
工程下的Application
启动类,看到如下日志,则说明启动成功____ _ _ __ __ _____ | _ \| | | | \ \ / / /\ |_ _| | |_) | | __ _ __| | ___ \ V / / \ | | | _ <| |/ _` |/ _` |/ _ \ > < / /\ \ | | | |_) | | (_| | (_| | __// . \ / ____ \ _| |_ |____/|_|\__,_|\__,_|\___/_/ \_\ /_/ \_\_____| :: AIServer :: blade-ai:dev :: Running SpringBoot 3.2.4 :: 2025-06-06 23:45:21.900 INFO 87886 --- [kground-preinit] o.h.validator.internal.util.Version : HV000001: Hibernate Validator 8.0.1.Final 2025-06-06 23:45:21.940 INFO 87886 --- [ main] org.springblade.Application : Starting Application using Java 17.0.10 with PID 87886 (/Users/chill/Workspaces/product/Ai-Server/target/classes started by chill in /Users/chill/Workspaces/product/Ai-Server) 2025-06-06 23:45:21.940 DEBUG 87886 --- [ main] org.springblade.Application : Running with Spring Boot v3.2.4, Spring v6.1.5 2025-06-06 23:45:21.941 INFO 87886 --- [ main] org.springblade.Application : The following 1 profile is active: "dev" 2025-06-06 23:45:22.903 INFO 87886 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode 2025-06-06 23:45:22.904 INFO 87886 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2025-06-06 23:45:22.944 INFO 87886 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 32 ms. Found 0 Redis repository interfaces. 2025-06-06 23:45:23.013 WARN 87886 --- [ main] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'llmConfigMapper' and 'org.springblade.modules.aigc.llm.business.mapper.LlmConfigMapper' mapperInterface. Bean already defined with the same name! 2025-06-06 23:45:23.013 WARN 87886 --- [ main] o.m.s.mapper.ClassPathMapperScanner : Skipping MapperFactoryBean with name 'mcpConfigMapper' and 'org.springblade.modules.aigc.tool.business.mapper.McpConfigMapper' mapperInterface. Bean already defined with the same name! 2025-06-06 23:45:23.085 INFO 87886 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=5e0121de-ee3c-37e7-9c3b-57fecedc8537 2025-06-06 23:45:23.087 INFO 87886 --- [ main] s.c.l.p.BladePropertySourcePostProcessor : BladePropertySourcePostProcessor init. 2025-06-06 23:45:23.116 INFO 87886 --- [ main] s.c.l.p.BladePropertySourcePostProcessor : BladePropertySourcePostProcessor process @BladePropertySource bean. 2025-06-06 23:45:23.339 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springblade.core.redis.config.RedisPubSubConfiguration' of type [org.springblade.core.redis.config.RedisPubSubConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). The currently created BeanPostProcessor [topicListenerDetector] is declared through a non-static factory method on that class; consider declaring it as static instead. 2025-06-06 23:45:23.350 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.data.redis-org.springframework.boot.autoconfigure.data.redis.RedisProperties' of type [org.springframework.boot.autoconfigure.data.redis.RedisProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.354 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration' of type [org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.356 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'redisConnectionDetails' of type [org.springframework.boot.autoconfigure.data.redis.PropertiesRedisConnectionDetails] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.360 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.ssl-org.springframework.boot.autoconfigure.ssl.SslProperties' of type [org.springframework.boot.autoconfigure.ssl.SslProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.361 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.ssl.SslAutoConfiguration' of type [org.springframework.boot.autoconfigure.ssl.SslAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.363 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'fileWatcher' of type [org.springframework.boot.autoconfigure.ssl.FileWatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.365 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'sslPropertiesSslBundleRegistrar' of type [org.springframework.boot.autoconfigure.ssl.SslPropertiesBundleRegistrar] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.368 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'sslBundleRegistry' of type [org.springframework.boot.ssl.DefaultSslBundleRegistry] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.370 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.data.redis.LettuceConnectionConfiguration' of type [org.springframework.boot.autoconfigure.data.redis.LettuceConnectionConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.417 ERROR 87886 --- [ main] i.n.r.d.DnsServerAddressStreamProviders : Unable to load io.netty.resolver.dns.macos.MacOSDnsServerAddressStreamProvider, fallback to system defaults. This may result in incorrect DNS resolutions on MacOS. Check whether you have a dependency on 'io.netty:netty-resolver-dns-native-macos'. Use DEBUG level to see the full stack: java.lang.UnsatisfiedLinkError: failed to load the required native library 2025-06-06 23:45:23.437 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.actuate.autoconfigure.metrics.redis.LettuceMetricsAutoConfiguration' of type [org.springframework.boot.actuate.autoconfigure.metrics.redis.LettuceMetricsAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.439 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.actuate.autoconfigure.metrics.export.simple.SimpleMetricsExportAutoConfiguration' of type [org.springframework.boot.actuate.autoconfigure.metrics.export.simple.SimpleMetricsExportAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.441 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'management.simple.metrics.export-org.springframework.boot.actuate.autoconfigure.metrics.export.simple.SimpleProperties' of type [org.springframework.boot.actuate.autoconfigure.metrics.export.simple.SimpleProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.443 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'simpleConfig' of type [org.springframework.boot.actuate.autoconfigure.metrics.export.simple.SimplePropertiesConfigAdapter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.446 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.actuate.autoconfigure.metrics.MetricsAutoConfiguration' of type [org.springframework.boot.actuate.autoconfigure.metrics.MetricsAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.447 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'micrometerClock' of type [io.micrometer.core.instrument.Clock$1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.455 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'simpleMeterRegistry' of type [io.micrometer.core.instrument.simple.SimpleMeterRegistry] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.467 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'micrometerOptions' of type [io.lettuce.core.metrics.MicrometerOptions] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.469 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'lettuceMetrics' of type [org.springframework.boot.actuate.autoconfigure.metrics.redis.LettuceMetricsAutoConfiguration$$Lambda$808/0x000000b80163ad40] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.491 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'lettuceClientResources' of type [io.lettuce.core.resource.DefaultClientResources] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.531 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'redisConnectionFactory' of type [org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.553 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'redisMessageListenerContainer' of type [org.springframework.data.redis.listener.RedisMessageListenerContainer] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.561 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springblade.core.redis.config.ProtoStuffSerializerConfiguration' of type [org.springblade.core.redis.config.ProtoStuffSerializerConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.579 WARN 87886 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'redisSerializer' of type [org.springblade.core.redis.serializer.ProtoStuffSerializer] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [topicListenerDetector]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2025-06-06 23:45:23.749 WARN 87886 --- [ main] io.undertow.websockets.jsr : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used 2025-06-06 23:45:23.759 INFO 87886 --- [ main] io.undertow.servlet : Initializing Spring embedded WebApplicationContext 2025-06-06 23:45:23.759 INFO 87886 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1797 ms 2025-06-06 23:45:23.935 INFO 87886 --- [ main] c.b.d.d.p.AbstractJdbcDataSourceProvider : 成功加载数据库驱动程序 2025-06-06 23:45:24.021 INFO 87886 --- [ main] c.b.d.d.p.AbstractJdbcDataSourceProvider : 成功获取数据库连接 2025-06-06 23:45:24.065 INFO 87886 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1,master} inited 2025-06-06 23:45:24.068 INFO 87886 --- [ main] c.b.d.d.DynamicRoutingDataSource : dynamic-datasource - add a datasource named [master] success 2025-06-06 23:45:24.068 INFO 87886 --- [ main] c.b.d.d.DynamicRoutingDataSource : dynamic-datasource initial loaded [1] datasource,primary datasource named [master] _ _ |_ _ _|_. ___ _ | _ | | |\/|_)(_| | |_\ |_)||_|_\ / | 3.5.8 2025-06-06 23:45:25.347 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: csv -> CsvFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: tsv -> CsvFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: xls -> ExcelFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: xlsx -> ExcelFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: html -> HtmlFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: htm -> HtmlFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: xhtml -> HtmlFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: java -> JavaFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: json -> JsonFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: md -> MarkdownFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: markdown -> MarkdownFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: pdf -> PdfFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: sql -> SqlFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: txt -> TextFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: text -> TextFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: log -> TextFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: doc -> WordFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: docx -> WordFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: xml -> XmlFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: xhtml -> XmlFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: svg -> XmlFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: yaml -> YamlFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : 注册文件处理器: yml -> YamlFileHandler 2025-06-06 23:45:25.348 INFO 87886 --- [ main] o.s.m.a.k.e.handler.FileHandlerFactory : [文件处理器初始化完成,共支持 22 种文件类型] 2025-06-06 23:45:25.359 INFO 87886 --- [ main] o.s.m.a.k.e.segment.FileSegmentFactory : 注册文件分段器: FIXED_LENGTH -> FixedLengthSegment 2025-06-06 23:45:25.359 INFO 87886 --- [ main] o.s.m.a.k.e.segment.FileSegmentFactory : 注册文件分段器: LLM_SEMANTIC -> LLMSemanticSegment 2025-06-06 23:45:25.359 INFO 87886 --- [ main] o.s.m.a.k.e.segment.FileSegmentFactory : 注册文件分段器: PARAGRAPH -> ParagraphSegment 2025-06-06 23:45:25.359 INFO 87886 --- [ main] o.s.m.a.k.e.segment.FileSegmentFactory : 注册文件分段器: SEMANTIC -> SemanticSegment 2025-06-06 23:45:25.359 INFO 87886 --- [ main] o.s.m.a.k.e.segment.FileSegmentFactory : 注册文件分段器: STRUCTURED -> StructuredSegment 2025-06-06 23:45:25.359 INFO 87886 --- [ main] o.s.m.a.k.e.segment.FileSegmentFactory : 注册文件分段器: SYMBOL -> SymbolSegment 2025-06-06 23:45:25.359 INFO 87886 --- [ main] o.s.m.a.k.e.segment.FileSegmentFactory : [文件分段器初始化完成,共支持 6 种分段类型] 2025-06-06 23:45:26.585 INFO 87886 --- [ main] o.s.core.boot.config.RetryConfiguration : configServerRetryInterceptor: Changing backOffOptions to initial: 1000, multiplier: 1.2, maxInterval: 5000 2025-06-06 23:45:26.601 INFO 87886 --- [ main] o.s.core.log.logger.BladeLogger : blade-ai: BladeLogger init success! 2025-06-06 23:45:26.712 INFO 87886 --- [ main] o.s.c.redis.pubsub.RedisPubSubPublisher : RPubSubPublisher init success. 2025-06-06 23:45:27.214 INFO 87886 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint(s) beneath base path '/actuator' 2025-06-06 23:45:27.492 INFO 87886 --- [ main] o.s.m.a.l.e.p.BladeLlmClientLoader : 注册大模型客户端: deepseek-r1-250120 -> VolcEngineTemplate 2025-06-06 23:45:27.493 INFO 87886 --- [ main] o.s.m.a.l.e.p.BladeLlmClientLoader : 注册大模型客户端: deepseek-v3-241226 -> VolcEngineTemplate 2025-06-06 23:45:27.493 INFO 87886 --- [ main] o.s.m.a.l.e.p.BladeLlmClientLoader : 注册大模型客户端: deepseek-ai/DeepSeek-V3 -> SiliconFlowTemplate 2025-06-06 23:45:27.493 INFO 87886 --- [ main] o.s.m.a.l.e.p.BladeLlmClientLoader : 注册大模型客户端: deepseek-chat -> DeepSeekTemplate 2025-06-06 23:45:27.493 INFO 87886 --- [ main] o.s.m.a.l.e.p.BladeLlmClientLoader : 注册大模型客户端: deepseek-reasoner -> DeepSeekTemplate 2025-06-06 23:45:27.493 INFO 87886 --- [ main] o.s.m.a.l.e.p.BladeLlmClientLoader : 注册大模型客户端: Qwen/Qwen3-235B-A22B -> SiliconFlowTemplate 2025-06-06 23:45:27.493 INFO 87886 --- [ main] o.s.m.a.l.e.p.BladeLlmClientLoader : [大模型客户端初始化完成,共支持 6 种大模型] 2025-06-06 23:45:27.516 INFO 87886 --- [ main] o.s.m.a.r.engine.process.BladeRagLoader : 已从数据库加载向量模型: BAAI/bge-m3, 向量维度: 1024 2025-06-06 23:45:27.516 INFO 87886 --- [ main] o.s.m.a.r.engine.process.BladeRagLoader : 已从数据库加载向量模型: bge-m3, 向量维度: 1024 2025-06-06 23:45:27.529 INFO 87886 --- [ main] o.s.m.a.r.engine.process.BladeRagLoader : 已从数据库加载向量模型: tao-8k, 向量维度: 1024 2025-06-06 23:45:27.533 INFO 87886 --- [ main] o.s.m.a.r.engine.process.BladeRagLoader : 已从数据库加载向量模型: text-embedding-3-large, 向量维度: 768 2025-06-06 23:45:27.533 INFO 87886 --- [ main] o.s.m.a.r.engine.process.BladeRagLoader : [向量模型初始化完成,共支持 4 种模型] 2025-06-06 23:45:27.936 INFO 87886 --- [ main] o.s.m.a.r.engine.process.BladeRagLoader : 已从数据库加载向量库: milvus, 向量维度: 1024 2025-06-06 23:45:27.981 INFO 87886 --- [ main] o.s.m.a.r.engine.process.BladeRagLoader : [向量库初始化完成,共支持 1 种向量库] 2025-06-06 23:45:27.990 INFO 87886 --- [ main] o.s.m.a.t.e.c.p.BladeChatModelLoader : 已从数据库加载聊天模型: Qwen/Qwen3-235B-A22B, 类型: siliconflow 2025-06-06 23:45:27.991 INFO 87886 --- [ main] o.s.m.a.t.e.c.p.BladeChatModelLoader : 已从数据库加载聊天模型: deepseek-v3-241226, 类型: volcengine 2025-06-06 23:45:27.992 INFO 87886 --- [ main] o.s.m.a.t.e.c.p.BladeChatModelLoader : 已从数据库加载聊天模型: deepseek-r1-250120, 类型: volcengine 2025-06-06 23:45:27.994 INFO 87886 --- [ main] o.s.m.a.t.e.c.p.BladeChatModelLoader : 已从数据库加载聊天模型: deepseek-ai/DeepSeek-V3, 类型: siliconflow 2025-06-06 23:45:27.995 INFO 87886 --- [ main] o.s.m.a.t.e.c.p.BladeChatModelLoader : 已从数据库加载聊天模型: deepseek-chat, 类型: deepseek 2025-06-06 23:45:27.996 INFO 87886 --- [ main] o.s.m.a.t.e.c.p.BladeChatModelLoader : 已从数据库加载聊天模型: deepseek-reasoner, 类型: deepseek 2025-06-06 23:45:27.996 INFO 87886 --- [ main] o.s.m.a.t.e.c.p.BladeChatModelLoader : [聊天模型初始化完成,共支持 6 种模型] 2025-06-06 23:45:28.016 INFO 87886 --- [ main] io.undertow : starting server: Undertow - 2.3.12.Final 2025-06-06 23:45:28.022 INFO 87886 --- [ main] org.xnio : XNIO version 3.8.8.Final 2025-06-06 23:45:28.026 INFO 87886 --- [ main] org.xnio.nio : XNIO NIO Implementation Version 3.8.8.Final 2025-06-06 23:45:28.037 INFO 87886 --- [ main] org.jboss.threads : JBoss Threads version 3.5.0.Final 2025-06-06 23:45:28.054 INFO 87886 --- [ main] o.s.b.w.e.undertow.UndertowWebServer : Undertow started on port 8060 (http) 2025-06-06 23:45:28.056 INFO 87886 --- [sync-executor-1] o.s.core.launch.StartEventListener : ---[BLADE-AI]---启动完成,当前使用的端口:[8060],环境变量:[dev]--- 2025-06-06 23:45:28.067 INFO 87886 --- [ main] org.springblade.Application : Started Application in 6.387 seconds (process running for 6.959) 2025-06-06 23:45:28.217 INFO 87886 --- [-192.168.31.254] io.undertow.servlet : Initializing Spring DispatcherServlet 'dispatcherServlet' 2025-06-06 23:45:28.217 INFO 87886 --- [-192.168.31.254] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2025-06-06 23:45:28.219 INFO 87886 --- [-192.168.31.254] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms
三、注意事项
生产安全必看
- 上线后必须修改admin密码,防止被人恶意登录影响系统安全。
- 必须修改各数据库、redis的端口密码,防止被恶意程序扫描到。
- 熟读Blade安全手册,解决系统的安全隐患:点击查看