Skip to content

Commit 67bcb70

Browse files
authored
Merge pull request #18540 from Bipinkumar27/JAVA-45628_1
JAVA-45628 Moved code of article of spring-ai-amazon-nova from spring…
2 parents 0a3896f + 4e251e3 commit 67bcb70

File tree

79 files changed

+180
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+180
-102
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,6 +1439,7 @@
14391439
<modules>
14401440
<module>parent-boot-1</module>
14411441
<module>parent-boot-2</module>
1442+
<module>parent-boot-3</module>
14421443
<module>parent-spring-5</module>
14431444
<module>parent-spring-6</module>
14441445
</modules>

spring-ai-2/pom.xml

Lines changed: 9 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,6 @@
4747
<groupId>org.springframework.ai</groupId>
4848
<artifactId>spring-ai-markdown-document-reader</artifactId>
4949
</dependency>
50-
<dependency>
51-
<groupId>org.springframework.ai</groupId>
52-
<artifactId>spring-ai-mcp-client-spring-boot-starter</artifactId>
53-
</dependency>
54-
<dependency>
55-
<groupId>org.springframework.ai</groupId>
56-
<artifactId>spring-ai-mcp-server-webmvc-spring-boot-starter</artifactId>
57-
</dependency>
5850
<dependency>
5951
<groupId>org.springframework.ai</groupId>
6052
<artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
@@ -113,8 +105,16 @@
113105
<dependency>
114106
<groupId>org.springframework.boot</groupId>
115107
<artifactId>spring-boot-docker-compose</artifactId>
116-
<version>${spring-boot-docker-compose.version}</version>
108+
<version>${spring-boot-docker-compose.version}</version>
117109
</dependency>
110+
<dependency>
111+
<groupId>org.springframework.ai</groupId>
112+
<artifactId>spring-ai-redis-store-spring-boot-starter</artifactId>
113+
</dependency>
114+
<dependency>
115+
<groupId>org.springframework.ai</groupId>
116+
<artifactId>spring-ai-pdf-document-reader</artifactId>
117+
</dependency>
118118
</dependencies>
119119

120120
<profiles>
@@ -139,12 +139,6 @@
139139
<spring.boot.mainclass>com.baeldung.springai.anthropic.Application</spring.boot.mainclass>
140140
</properties>
141141
</profile>
142-
<profile>
143-
<id>deepseek</id>
144-
<properties>
145-
<spring.boot.mainclass>com.baeldung.springai.deepseek.Application</spring.boot.mainclass>
146-
</properties>
147-
</profile>
148142
<profile>
149143
<id>evaluator</id>
150144
<properties>
@@ -157,30 +151,12 @@
157151
<spring.boot.mainclass>com.baeldung.springai.huggingface.Application</spring.boot.mainclass>
158152
</properties>
159153
</profile>
160-
<profile>
161-
<id>mcp-server</id>
162-
<properties>
163-
<spring.boot.mainclass>com.baeldung.springai.mcp.server.ServerApplication</spring.boot.mainclass>
164-
</properties>
165-
</profile>
166-
<profile>
167-
<id>mcp-client</id>
168-
<properties>
169-
<spring.boot.mainclass>com.baeldung.springai.mcp.client.ClientApplication</spring.boot.mainclass>
170-
</properties>
171-
</profile>
172154
<profile>
173155
<id>amazon-nova</id>
174156
<properties>
175157
<spring.boot.mainclass>com.baeldung.springai.nova.Application</spring.boot.mainclass>
176158
</properties>
177159
</profile>
178-
<profile>
179-
<id>pgvector</id>
180-
<properties>
181-
<spring.boot.mainclass>com.baeldung.springai.semanticsearch.Application</spring.boot.mainclass>
182-
</properties>
183-
</profile>
184160
</profiles>
185161

186162
<build>

spring-ai/src/main/java/com/baeldung/airag/service/DataLoaderService.java renamed to spring-ai-2/src/main/java/com/baeldung/airag/service/DataLoaderService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import org.springframework.ai.reader.pdf.PagePdfDocumentReader;
99
import org.springframework.ai.reader.pdf.config.PdfDocumentReaderConfig;
1010
import org.springframework.ai.transformer.splitter.TokenTextSplitter;
11-
import org.springframework.ai.vectorstore.RedisVectorStore;
11+
import org.springframework.ai.vectorstore.redis.RedisVectorStore;
1212
import org.springframework.ai.vectorstore.VectorStore;
1313
import org.springframework.beans.factory.annotation.Autowired;
1414
import org.springframework.beans.factory.annotation.Value;

0 commit comments

Comments
 (0)