-
Notifications
You must be signed in to change notification settings - Fork 10
/
pom.xml
361 lines (354 loc) · 18 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
<?xml version="1.0" encoding="UTF-8"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.3</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.github.teachingai</groupId>
<artifactId>spring-ai-examples</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>spring-ai-examples</name>
<description>Example For Spring AI</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<fastjson2.version>2.0.52</fastjson2.version>
<java.version>17</java.version>
<spring-ai.version>1.0.3</spring-ai.version>
<testcontainers.version>1.20.1</testcontainers.version>
</properties>
<modules>
<module>spring-ai-anthropic</module>
<module>spring-ai-azure-openai</module>
<module>spring-ai-bedrockai</module>
<module>spring-ai-coze</module>
<module>spring-ai-huaweiai-gallery</module>
<module>spring-ai-huaweiai-pangu</module>
<module>spring-ai-huggingface</module>
<module>spring-ai-llmsfreeapi</module>
<module>spring-ai-minimax</module>
<module>spring-ai-mistralai</module>
<module>spring-ai-moonshotai</module>
<!-- 基于 ollama 的相关整合示例 -->
<module>spring-ai-ollama</module>
<module>spring-ai-ollama-local-model</module>
<module>spring-ai-ollama-prompt</module>
<module>spring-ai-ollama-function-calling</module>
<module>spring-ai-ollama-embedding</module>
<module>spring-ai-ollama-fine-tuning</module>
<module>spring-ai-ollama-rag-cassandra</module>
<module>spring-ai-ollama-rag-chroma</module>
<module>spring-ai-ollama-rag-es</module>
<module>spring-ai-ollama-rag-milvus</module>
<module>spring-ai-ollama-rag-mongodb</module>
<module>spring-ai-ollama-rag-neo4j</module>
<module>spring-ai-ollama-rag-pgvector</module>
<module>spring-ai-ollama-rag-pinecone</module>
<module>spring-ai-ollama-rag-qdrant</module>
<module>spring-ai-ollama-rag-redis</module>
<module>spring-ai-ollama-rag-weaviate</module>
<module>spring-ai-ollama-voice-chattts</module>
<module>spring-ai-ollama-voice-edgetts</module>
<module>spring-ai-ollama-voice-emoti</module>
<module>spring-ai-ollama-voice-mars5tts</module>
<module>spring-ai-ollama-voice-whisper</module>
<module>spring-ai-ollama-voice-assistant</module>
<module>spring-ai-ollama-langfuse</module>
<module>spring-ai-ollama-prometheus</module>
<module>spring-ai-ollama-agents</module>
<module>spring-ai-openai</module>
<module>spring-ai-qianfan</module>
<module>spring-ai-qwen</module>
<module>spring-ai-sql</module>
<module>spring-ai-stabilityai</module>
<module>spring-ai-vertexai-palm2</module>
<module>spring-ai-vertexai-gemini</module>
<module>spring-ai-watsonxai</module>
<module>spring-ai-zhipuai</module>
</modules>
<!--
<repositories>
<repository>
<id>central</id>
<url>https://repo1.maven.org/maven2/</url>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>-->
<dependencyManagement>
<dependencies>
<!-- https://mvnrepository.com/artifact/org.testcontainers/testcontainers-bom -->
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-bom</artifactId>
<version>${testcontainers.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java -->
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>4.27.5</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.google.api.grpc/proto-google-common-protos -->
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-common-protos</artifactId>
<version>2.40.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>33.2.1-jre</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2 -->
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>
<version>${fastjson2.version}</version>
</dependency>
<!-- Spring AI Document Reader -->
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-pdf-document-reader -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-pdf-document-reader</artifactId>
<version>1.0.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-tika-document-reader -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-tika-document-reader</artifactId>
<version>1.0.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-retry -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-retry</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- For Chat Completion & Embedding -->
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-azure-openai-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-azure-openai-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-anthropic-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-anthropic-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<dependency>
<groupId>com.github.teachingai</groupId>
<artifactId>spring-ai-baidu-ai-qianfan-spring-boot-starter</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-bedrock-ai-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-bedrock-ai-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-huggingface -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-huggingface</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<dependency>
<groupId>com.github.teachingai</groupId>
<artifactId>spring-ai-llms-free-api-spring-boot-starter</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.github.teachingai</groupId>
<artifactId>spring-ai-huawei-ai-pangu-spring-boot-starter</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.github.teachingai</groupId>
<artifactId>spring-ai-huawei-ai-gallery-spring-boot-starter</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-mistral-ai-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-mistral-ai-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<dependency>
<groupId>com.github.teachingai</groupId>
<artifactId>spring-ai-moonshotai-spring-boot-starter</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-ollama-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-qwen-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-qwen-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-openai-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-openai-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-stability-ai-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-vertex-ai-palm2-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-vertex-ai-palm2-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-vertex-ai-gemini-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-vertex-ai-gemini-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-watsonx-ai-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-watsonx-ai-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-zhipu-ai-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-zhipu-ai-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- For Embedding -->
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-postgresml-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-postgresml-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-transformers-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-transformers-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- For Vector Store -->
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-cassandra-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-cassandra-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-azure-vector-store-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-azure-vector-store-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-chroma-store-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-chroma-store-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-elasticsearch-store-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-elasticsearch-store-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-milvus-store-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-milvus-store-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-mongodb-atlas-store-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-mongodb-atlas-store-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-neo4j-store-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-neo4j-store-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-pgvector-store-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-pgvector-store-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-pinecone-store-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-pinecone-store-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-qdrant-store-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-qdrant-store-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-redis-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-redis-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.springboot.ai/spring-ai-weaviate-store-spring-boot-starter -->
<dependency>
<groupId>io.springboot.ai</groupId>
<artifactId>spring-ai-weaviate-store-spring-boot-starter</artifactId>
<version>${spring-ai.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>