Commit 20ac7c64510696870f0fefba043bbf2bb5d54b91
1 parent
dda09098
创建 yudao-module-ai 模块
Showing
7 changed files
with
92 additions
and
0 deletions
pom.xml
| ... | ... | @@ -15,6 +15,7 @@ |
| 15 | 15 | <!-- 各种 module 拓展 --> |
| 16 | 16 | <module>yudao-module-system</module> |
| 17 | 17 | <module>yudao-module-infra</module> |
| 18 | + <module>yudao-module-ai</module> | |
| 18 | 19 | <!-- <module>yudao-module-member</module>--> |
| 19 | 20 | <!-- <module>yudao-module-bpm</module>--> |
| 20 | 21 | <!-- <module>yudao-module-report</module>--> | ... | ... |
yudao-module-ai/pom.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" | |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| 5 | + <modelVersion>4.0.0</modelVersion> | |
| 6 | + <parent> | |
| 7 | + <groupId>cn.iocoder.boot</groupId> | |
| 8 | + <artifactId>yudao</artifactId> | |
| 9 | + <version>${revision}</version> | |
| 10 | + </parent> | |
| 11 | + <packaging>pom</packaging> | |
| 12 | + <artifactId>yudao-module-ai</artifactId> | |
| 13 | + | |
| 14 | + <modules> | |
| 15 | + <module>yudao-module-ai-api</module> | |
| 16 | + <module>/yudao-module-ai-biz</module> | |
| 17 | + </modules> | |
| 18 | + | |
| 19 | + <properties> | |
| 20 | + <maven.compiler.source>8</maven.compiler.source> | |
| 21 | + <maven.compiler.target>8</maven.compiler.target> | |
| 22 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| 23 | + </properties> | |
| 24 | + | |
| 25 | + <dependencies> | |
| 26 | + <!-- 增加 openai --> | |
| 27 | + <dependency> | |
| 28 | + <groupId>org.springframework.ai</groupId> | |
| 29 | + <artifactId>spring-ai-openai-spring-boot-starter</artifactId> | |
| 30 | + </dependency> | |
| 31 | + </dependencies> | |
| 32 | + | |
| 33 | +</project> | |
| 0 | 34 | \ No newline at end of file | ... | ... |
yudao-module-ai/yudao-module-ai-api/pom.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" | |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| 5 | + <modelVersion>4.0.0</modelVersion> | |
| 6 | + <parent> | |
| 7 | + <groupId>cn.iocoder.boot</groupId> | |
| 8 | + <artifactId>yudao-module-ai</artifactId> | |
| 9 | + <version>${revision}</version> | |
| 10 | + </parent> | |
| 11 | + | |
| 12 | + <artifactId>yudao-module-ai-api</artifactId> | |
| 13 | + | |
| 14 | + <properties> | |
| 15 | + <maven.compiler.source>17</maven.compiler.source> | |
| 16 | + <maven.compiler.target>17</maven.compiler.target> | |
| 17 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| 18 | + </properties> | |
| 19 | + | |
| 20 | +</project> | |
| 0 | 21 | \ No newline at end of file | ... | ... |
yudao-module-ai/yudao-module-ai-api/src/main/java/cn/iocoder/yudao/module/ai/package-info.java
0 → 100644
yudao-module-ai/yudao-module-ai-biz/pom.xml
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" | |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| 5 | + <modelVersion>4.0.0</modelVersion> | |
| 6 | + <parent> | |
| 7 | + <groupId>cn.iocoder.boot</groupId> | |
| 8 | + <artifactId>yudao-module-ai</artifactId> | |
| 9 | + <version>${revision}</version> | |
| 10 | + </parent> | |
| 11 | + | |
| 12 | + <artifactId>yudao-module-ai-biz</artifactId> | |
| 13 | + | |
| 14 | + <properties> | |
| 15 | + <maven.compiler.source>8</maven.compiler.source> | |
| 16 | + <maven.compiler.target>8</maven.compiler.target> | |
| 17 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| 18 | + </properties> | |
| 19 | + | |
| 20 | + | |
| 21 | + <dependencies> | |
| 22 | + <!-- 增加 openai --> | |
| 23 | + <dependency> | |
| 24 | + <groupId>org.springframework.ai</groupId> | |
| 25 | + <artifactId>spring-ai-openai-spring-boot-starter</artifactId> | |
| 26 | + </dependency> | |
| 27 | + </dependencies> | |
| 28 | +</project> | |
| 0 | 29 | \ No newline at end of file | ... | ... |
yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/package-info.java
0 → 100644
yudao-module-ai/yudao-module-ai-biz/src/main/resources/application.yaml
0 → 100644