spring-projects / spring-ai

An Application Framework for AI Engineering
https://docs.spring.io/spring-ai/reference/1.0-SNAPSHOT/index.html
Apache License 2.0
2.85k stars 711 forks source link

Consolidate google vertex starters into one starter #1101

Open markpollack opened 1 month ago

markpollack commented 1 month ago

There are separate boot starters for chat and embedding. To be consistent in the starters across the project, these two starters should be merged into a single boot starter for google vertex.

markpollack commented 1 month ago

from

<dependency>
    <groupId>org.springframework.ai</groupId>
    <artifactId>spring-ai-vertex-ai-embedding-spring-boot-starter</artifactId>
</dependency>

and

<dependency>
    <groupId>org.springframework.ai</groupId>
    <artifactId>spring-ai-vertex-ai-gemini-spring-boot-starter</artifactId>
</dependency>

to

<dependency>
    <groupId>org.springframework.ai</groupId>
    <artifactId>spring-ai-vertex-ai-spring-boot-starter</artifactId>
</dependency>

which would autoconfigure both the embedding and chat models. We can deprecate the current starters in M2 and remove them in RC.