diff --git a/yudao-module-llm/pom.xml b/yudao-module-llm/pom.xml new file mode 100644 index 000000000..913ec9cff --- /dev/null +++ b/yudao-module-llm/pom.xml @@ -0,0 +1,22 @@ + + + 4.0.0 + + cn.iocoder.boot + yudao + ${revision} + + + yudao-module-llm + pom + + ${project.artifactId} + http://maven.apache.org + + yudao-module-llm-api + yudao-module-llm-biz + + + diff --git a/yudao-module-llm/yudao-module-llm-api/pom.xml b/yudao-module-llm/yudao-module-llm-api/pom.xml new file mode 100644 index 000000000..9057d875a --- /dev/null +++ b/yudao-module-llm/yudao-module-llm-api/pom.xml @@ -0,0 +1,30 @@ + + + + cn.iocoder.boot + yudao-module-llm + ${revision} + + 4.0.0 + yudao-module-llm-api + jar + + + UTF-8 + + + ${project.artifactId} + + llm-api + + + + + cn.iocoder.boot + yudao-common + + + + diff --git a/yudao-module-llm/yudao-module-llm-biz/pom.xml b/yudao-module-llm/yudao-module-llm-biz/pom.xml new file mode 100644 index 000000000..fa7b9a7c8 --- /dev/null +++ b/yudao-module-llm/yudao-module-llm-biz/pom.xml @@ -0,0 +1,61 @@ + + + + cn.iocoder.boot + yudao-module-llm + ${revision} + + 4.0.0 + yudao-module-llm-biz + jar + + ${project.artifactId} + http://maven.apache.org + + + UTF-8 + + + + + + cn.iocoder.boot + yudao-module-llm-api + ${revision} + + + + + cn.iocoder.boot + yudao-spring-boot-starter-web + + + + cn.iocoder.boot + yudao-spring-boot-starter-security + + + cn.iocoder.boot + yudao-spring-boot-starter-excel + + + + + cn.iocoder.boot + yudao-spring-boot-starter-mybatis + + + + cn.iocoder.boot + yudao-spring-boot-starter-redis + + + cn.iocoder.boot + yudao-spring-boot-starter-mybatis + + + + + diff --git a/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/framework/web/config/LlmWebConfiguration.java b/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/framework/web/config/LlmWebConfiguration.java new file mode 100644 index 000000000..7b98841bf --- /dev/null +++ b/yudao-module-llm/yudao-module-llm-biz/src/main/java/cn/iocoder/yudao/module/llm/framework/web/config/LlmWebConfiguration.java @@ -0,0 +1,21 @@ +package cn.iocoder.yudao.module.llm.framework.web.config; + +import cn.iocoder.yudao.framework.swagger.config.YudaoSwaggerAutoConfiguration; +import org.springdoc.core.GroupedOpenApi; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +/** + * llm 模块的 web 组件的 Configuration + */ +@Configuration(proxyBeanMethods = false) +public class LlmWebConfiguration { + + /** + * llm 模块的 API 分组 + */ + @Bean + public GroupedOpenApi llmGroupedOpenApi() { + return YudaoSwaggerAutoConfiguration.buildGroupedOpenApi("llm"); + } +}