Skip to content

Commit 2abe866

Browse files
garethjevanschedim
authored andcommitted
feat(google genai): add in the missing starters
Signed-off-by: Gareth Evans <[email protected]>
1 parent 8bc736e commit 2abe866

File tree

3 files changed

+130
-0
lines changed
  • spring-ai-spring-boot-starters
    • spring-ai-starter-model-google-genai-embedding
    • spring-ai-starter-model-google-genai

3 files changed

+130
-0
lines changed

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@
194194
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-azure-openai</module>
195195
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-bedrock</module>
196196
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-bedrock-converse</module>
197+
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-google-genai</module>
198+
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-google-genai-embedding</module>
197199
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-elevenlabs</module>
198200
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-huggingface</module>
199201
<module>spring-ai-spring-boot-starters/spring-ai-starter-model-minimax</module>
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.0-SNAPSHOT</version>
24+
<relativePath>../../pom.xml</relativePath>
25+
</parent>
26+
<artifactId>spring-ai-starter-model-google-genai-embedding</artifactId>
27+
<packaging>jar</packaging>
28+
<name>Spring AI Starter - Google Genai Embedding</name>
29+
<description>Spring AI Google Genai Embedding Spring Boot 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-google-genai</artifactId>
48+
<version>${project.parent.version}</version>
49+
</dependency>
50+
51+
<dependency>
52+
<groupId>org.springframework.ai</groupId>
53+
<artifactId>spring-ai-google-genai-embedding</artifactId>
54+
<version>${project.parent.version}</version>
55+
</dependency>
56+
</dependencies>
57+
58+
</project>
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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.0-SNAPSHOT</version>
24+
<relativePath>../../pom.xml</relativePath>
25+
</parent>
26+
<artifactId>spring-ai-starter-model-google-genai</artifactId>
27+
<packaging>jar</packaging>
28+
<name>Spring AI Starter - Google Genai</name>
29+
<description>Spring AI Google Genai Spring Boot 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-google-genai</artifactId>
48+
<version>${project.parent.version}</version>
49+
</dependency>
50+
51+
<dependency>
52+
<groupId>org.springframework.ai</groupId>
53+
<artifactId>spring-ai-google-genai</artifactId>
54+
<version>${project.parent.version}</version>
55+
</dependency>
56+
57+
<dependency>
58+
<groupId>org.springframework.ai</groupId>
59+
<artifactId>spring-ai-autoconfigure-model-chat-client</artifactId>
60+
<version>${project.parent.version}</version>
61+
</dependency>
62+
63+
<dependency>
64+
<groupId>org.springframework.ai</groupId>
65+
<artifactId>spring-ai-autoconfigure-model-chat-memory</artifactId>
66+
<version>${project.parent.version}</version>
67+
</dependency>
68+
</dependencies>
69+
70+
</project>

0 commit comments

Comments
 (0)