Skip to content

Commit 318bdfc

Browse files
committed
Add missing chat memory entries to BOM
Also, create new memory chat starters for cassandra and neo4j. Signed-off-by: Eddú Meléndez <[email protected]>
1 parent 5864255 commit 318bdfc

File tree

4 files changed

+143
-1
lines changed
  • spring-ai-bom
  • spring-ai-spring-boot-starters
    • spring-ai-starter-model-chat-memory-cassandra
    • spring-ai-starter-model-chat-memory-neo4j

4 files changed

+143
-1
lines changed

Diff for: pom.xml

+2
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,9 @@
181181
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-azure-openai</module>
182182
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-bedrock</module>
183183
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-bedrock-converse</module>
184+
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-chat-memory-cassandra</module>
184185
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-chat-memory-jdbc</module>
186+
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-chat-memory-neo4j</module>
185187
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-huggingface</module>
186188
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-minimax</module>
187189
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-mistral-ai</module>

Diff for: spring-ai-bom/pom.xml

+25-1
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,19 @@
425425

426426
<dependency>
427427
<groupId>org.springframework.ai</groupId>
428-
<artifactId>spring-ai-autoconfigure-model-chat-memory</artifactId>
428+
<artifactId>spring-ai-autoconfigure-model-chat-memory-cassandra</artifactId>
429+
<version>${project.version}</version>
430+
</dependency>
431+
432+
<dependency>
433+
<groupId>org.springframework.ai</groupId>
434+
<artifactId>spring-ai-autoconfigure-model-chat-memory-jdbc</artifactId>
435+
<version>${project.version}</version>
436+
</dependency>
437+
438+
<dependency>
439+
<groupId>org.springframework.ai</groupId>
440+
<artifactId>spring-ai-autoconfigure-model-chat-memory-neo4j</artifactId>
429441
<version>${project.version}</version>
430442
</dependency>
431443

@@ -981,12 +993,24 @@
981993

982994
<!-- Spring AI Spring Boot starters for Chat Memory -->
983995

996+
<dependency>
997+
<groupId>org.springframework.ai</groupId>
998+
<artifactId>spring-ai-starter-model-chat-memory-cassandra</artifactId>
999+
<version>${project.version}</version>
1000+
</dependency>
1001+
9841002
<dependency>
9851003
<groupId>org.springframework.ai</groupId>
9861004
<artifactId>spring-ai-starter-model-chat-memory-jdbc</artifactId>
9871005
<version>${project.version}</version>
9881006
</dependency>
9891007

1008+
<dependency>
1009+
<groupId>org.springframework.ai</groupId>
1010+
<artifactId>spring-ai-starter-model-chat-memory-neo4j</artifactId>
1011+
<version>${project.version}</version>
1012+
</dependency>
1013+
9901014
<!-- Utilities -->
9911015

9921016
<dependency>
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-cassandra</artifactId>
27+
<packaging>jar</packaging>
28+
<name>Spring AI Starter - Cassandra Chat Memory</name>
29+
<description>Spring AI Cassandra 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-cassandra</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-cassandra</artifactId>
54+
<version>${project.parent.version}</version>
55+
</dependency>
56+
</dependencies>
57+
58+
</project>
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-neo4j</artifactId>
27+
<packaging>jar</packaging>
28+
<name>Spring AI Starter - Neo4j Chat Memory</name>
29+
<description>Spring AI Neo4j 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-neo4j</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-neo4j</artifactId>
54+
<version>${project.parent.version}</version>
55+
</dependency>
56+
</dependencies>
57+
58+
</project>

0 commit comments

Comments
 (0)