Skip to content

Commit 290cacf

Browse files
committed
Add to BOM and create starter
1 parent 8b81e6a commit 290cacf

File tree

3 files changed

+77
-0
lines changed
  • spring-ai-bom
  • spring-ai-spring-boot-starters/spring-ai-starter-model-chat-memory-mongodb

3 files changed

+77
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@
185185
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-bedrock-converse</module>
186186
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-chat-memory-cassandra</module>
187187
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-chat-memory-jdbc</module>
188+
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-chat-memory-mongodb</module>
188189
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-chat-memory-neo4j</module>
189190
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-huggingface</module>
190191
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-minimax</module>

spring-ai-bom/pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,12 @@
154154
<version>${project.version}</version>
155155
</dependency>
156156

157+
<dependency>
158+
<groupId>org.springframework.ai</groupId>
159+
<artifactId>spring-ai-model-chat-memory-mongodb</artifactId>
160+
<version>${project.version}</version>
161+
</dependency>
162+
157163
<dependency>
158164
<groupId>org.springframework.ai</groupId>
159165
<artifactId>spring-ai-model-chat-memory-neo4j</artifactId>
@@ -435,6 +441,12 @@
435441
<version>${project.version}</version>
436442
</dependency>
437443

444+
<dependency>
445+
<groupId>org.springframework.ai</groupId>
446+
<artifactId>spring-ai-autoconfigure-model-chat-memory-mongodb</artifactId>
447+
<version>${project.version}</version>
448+
</dependency>
449+
438450
<dependency>
439451
<groupId>org.springframework.ai</groupId>
440452
<artifactId>spring-ai-autoconfigure-model-chat-memory-neo4j</artifactId>
@@ -1005,6 +1017,12 @@
10051017
<version>${project.version}</version>
10061018
</dependency>
10071019

1020+
<dependency>
1021+
<groupId>org.springframework.ai</groupId>
1022+
<artifactId>spring-ai-starter-model-chat-memory-mongodb</artifactId>
1023+
<version>${project.version}</version>
1024+
</dependency>
1025+
10081026
<dependency>
10091027
<groupId>org.springframework.ai</groupId>
10101028
<artifactId>spring-ai-starter-model-chat-memory-neo4j</artifactId>
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Copyright 2023-2024 the original author or authors.
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License");
6+
~ you may not use this file except in compliance with the License.
7+
~ You may obtain a copy of the License at
8+
~
9+
~ https://www.apache.org/licenses/LICENSE-2.0
10+
~
11+
~ Unless required by applicable law or agreed to in writing, software
12+
~ distributed under the License is distributed on an "AS IS" BASIS,
13+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
~ See the License for the specific language governing permissions and
15+
~ limitations under the License.
16+
-->
17+
18+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
19+
<modelVersion>4.0.0</modelVersion>
20+
<parent>
21+
<groupId>org.springframework.ai</groupId>
22+
<artifactId>spring-ai-parent</artifactId>
23+
<version>1.0.0-SNAPSHOT</version>
24+
<relativePath>../../pom.xml</relativePath>
25+
</parent>
26+
<artifactId>spring-ai-starter-model-chat-memory-mongodb</artifactId>
27+
<packaging>jar</packaging>
28+
<name>Spring AI Starter - MongoDB Chat Memory</name>
29+
<description>Spring AI MongoDB Chat Memory Starter</description>
30+
<url>https://github.com/spring-projects/spring-ai</url>
31+
32+
<scm>
33+
<url>https://github.com/spring-projects/spring-ai</url>
34+
<connection>git://github.com/spring-projects/spring-ai.git</connection>
35+
<developerConnection>[email protected]:spring-projects/spring-ai.git</developerConnection>
36+
</scm>
37+
38+
<dependencies>
39+
40+
<dependency>
41+
<groupId>org.springframework.boot</groupId>
42+
<artifactId>spring-boot-starter</artifactId>
43+
</dependency>
44+
45+
<dependency>
46+
<groupId>org.springframework.ai</groupId>
47+
<artifactId>spring-ai-autoconfigure-model-chat-memory-mongodb</artifactId>
48+
<version>${project.parent.version}</version>
49+
</dependency>
50+
51+
<dependency>
52+
<groupId>org.springframework.ai</groupId>
53+
<artifactId>spring-ai-model-chat-memory-mongodb</artifactId>
54+
<version>${project.parent.version}</version>
55+
</dependency>
56+
</dependencies>
57+
58+
</project>

0 commit comments

Comments
 (0)