|
@@ -7,36 +7,49 @@
|
|
|
<groupId>space.anyi</groupId>
|
|
<groupId>space.anyi</groupId>
|
|
|
<artifactId>SpringAiAlibaba-learn</artifactId>
|
|
<artifactId>SpringAiAlibaba-learn</artifactId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
+ <packaging>pom</packaging>
|
|
|
<description>学习Spring AI Alibaba的项目</description>
|
|
<description>学习Spring AI Alibaba的项目</description>
|
|
|
|
|
+ <modules>
|
|
|
|
|
+ <module>mcp-server</module>
|
|
|
|
|
+ <module>spring-ai-learn</module>
|
|
|
|
|
+ </modules>
|
|
|
|
|
|
|
|
<properties>
|
|
<properties>
|
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
<maven.compiler.source>21</maven.compiler.source>
|
|
|
<maven.compiler.target>21</maven.compiler.target>
|
|
<maven.compiler.target>21</maven.compiler.target>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
+ <spring.ai.version>1.1.2</spring.ai.version>
|
|
|
|
|
+ <spring.boot.version>3.5.10</spring.boot.version>
|
|
|
</properties>
|
|
</properties>
|
|
|
-
|
|
|
|
|
- <dependencies>
|
|
|
|
|
- <!-- Source: https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-web -->
|
|
|
|
|
- <dependency>
|
|
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
|
|
- <artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
- <version>3.5.10</version>
|
|
|
|
|
- </dependency>
|
|
|
|
|
- <dependency>
|
|
|
|
|
- <groupId>org.springframework.ai</groupId>
|
|
|
|
|
- <artifactId>spring-ai-starter-model-openai</artifactId>
|
|
|
|
|
- <version>1.1.2</version>
|
|
|
|
|
- </dependency>
|
|
|
|
|
- <dependency>
|
|
|
|
|
- <groupId>org.springframework.ai</groupId>
|
|
|
|
|
- <artifactId>spring-ai-starter-vector-store-pgvector</artifactId>
|
|
|
|
|
- <version>1.1.2</version>
|
|
|
|
|
- </dependency>
|
|
|
|
|
- <dependency>
|
|
|
|
|
- <groupId>org.springframework.ai</groupId>
|
|
|
|
|
- <artifactId>spring-ai-rag</artifactId>
|
|
|
|
|
- <version>1.1.2</version>
|
|
|
|
|
- </dependency>
|
|
|
|
|
- </dependencies>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <dependencyManagement>
|
|
|
|
|
+ <dependencies>
|
|
|
|
|
+ <!-- Source: https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-web -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
+ <version>${spring.boot.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.ai</groupId>
|
|
|
|
|
+ <artifactId>spring-ai-starter-model-openai</artifactId>
|
|
|
|
|
+ <version>${spring.ai.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.ai</groupId>
|
|
|
|
|
+ <artifactId>spring-ai-starter-vector-store-pgvector</artifactId>
|
|
|
|
|
+ <version>${spring.ai.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.ai</groupId>
|
|
|
|
|
+ <artifactId>spring-ai-rag</artifactId>
|
|
|
|
|
+ <version>${spring.ai.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!-- Source: https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-starter-mcp-server-webflux -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.ai</groupId>
|
|
|
|
|
+ <artifactId>spring-ai-starter-mcp-server-webflux</artifactId>
|
|
|
|
|
+ <version>${spring.ai.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ </dependencies>
|
|
|
|
|
+ </dependencyManagement>
|
|
|
</project>
|
|
</project>
|