Skip to content

Commit ef8f413

Browse files
committed
Add boot starter for Cosmos DB chat memory repository
Signed-off-by: Ilayaperumal Gopinathan <[email protected]>
1 parent 9970432 commit ef8f413

File tree

3 files changed

+65
-0
lines changed
  • spring-ai-bom
  • spring-ai-spring-boot-starters/spring-ai-starter-model-chat-memory-repository-cosmos-db

3 files changed

+65
-0
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@
213213

214214
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-chat-memory</module>
215215
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-chat-memory-repository-cassandra</module>
216+
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-chat-memory-repository-cosmos-db</module>
216217
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-chat-memory-repository-jdbc</module>
217218
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-chat-memory-repository-mongodb</module>
218219
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-chat-memory-repository-neo4j</module>

spring-ai-bom/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,6 +1145,12 @@
11451145
<version>${project.version}</version>
11461146
</dependency>
11471147

1148+
<dependency>
1149+
<groupId>org.springframework.ai</groupId>
1150+
<artifactId>spring-ai-starter-model-chat-memory-repository-cosmos-db</artifactId>
1151+
<version>${project.version}</version>
1152+
</dependency>
1153+
11481154
<dependency>
11491155
<groupId>org.springframework.ai</groupId>
11501156
<artifactId>spring-ai-starter-model-chat-memory-repository-jdbc</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.1.1-SNAPSHOT</version>
24+
<relativePath>../../pom.xml</relativePath>
25+
</parent>
26+
<artifactId>spring-ai-starter-model-chat-memory-repository-cosmos-db</artifactId>
27+
<packaging>jar</packaging>
28+
<name>Spring AI Starter - Cosmos DB Chat Memory</name>
29+
<description>Spring AI Cosmos DB 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-repository-cosmos-db</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-repository-cosmos-db</artifactId>
54+
<version>${project.parent.version}</version>
55+
</dependency>
56+
</dependencies>
57+
58+
</project>

0 commit comments

Comments
 (0)