- 新增 llmhub-core-service 模块,实现聊天和嵌入功能 - 添加 LLMService 接口及其实现类 LLMServiceImpl - 实现了与 LLM 提供商的交互接口 LLMProvider- 新增模型路由管理器 ModelRouteManager 和相关配置 - 添加开发和生产环境配置文件 - 更新项目依赖,引入 Spring Cloud 和 Nacos
23 lines
637 B
Plaintext
23 lines
637 B
Plaintext
extra {
|
|
// 开启springboot
|
|
setProperty(ProjectFlags.USE_SPRING_BOOT, true)
|
|
}
|
|
dependencies {
|
|
val libs = rootProject.libs
|
|
// Nacos 服务发现和配置
|
|
implementation(libs.springCloudStarter.alibaba.nacos.discovery)
|
|
|
|
// WebClient 和 Spring Cloud LoadBalancer
|
|
implementation(libs.springBootStarter.webflux)
|
|
implementation(libs.springCloudStarter.loadbalancer)
|
|
|
|
implementation(project(Modules.Core.SPI))
|
|
|
|
// Kotlin Coroutines
|
|
implementation(libs.kotlinx.coruntes.reactor)
|
|
|
|
implementation(libs.forgeBoot.webmvc.version.springBootStarter)
|
|
implementation(libs.forgeBoot.core.extension)
|
|
|
|
}
|