From e1462b86e31b76f99ada18bb80492f8370554bf2 Mon Sep 17 00:00:00 2001 From: Christian Tzolov Date: Wed, 28 Feb 2024 18:05:27 +0100 Subject: [PATCH] Fix Vertex AI PaLM2 Boot Starter name typo Rename spring-ai-vertex-ai-plam2-spring-boot-starter into spring-ai-vertex-ai-palm2-spring-boot-starter --- spring-ai-bom/pom.xml | 2 +- .../ROOT/pages/api/clients/vertexai-gemini-chat.adoc | 2 +- .../modules/ROOT/pages/api/clients/vertexai-palm2-chat.adoc | 6 +++--- .../ROOT/pages/api/embeddings/vertexai-embeddings.adoc | 6 +++--- .../spring-ai-starter-vertex-ai-palm2/pom.xml | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/spring-ai-bom/pom.xml b/spring-ai-bom/pom.xml index 766070295..c20f87609 100644 --- a/spring-ai-bom/pom.xml +++ b/spring-ai-bom/pom.xml @@ -261,7 +261,7 @@ org.springframework.ai - spring-ai-vertex-ai-plam2-spring-boot-starter + spring-ai-vertex-ai-palm2-spring-boot-starter ${project.version} diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/vertexai-gemini-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/vertexai-gemini-chat.adoc index 32dbf3ced..afb874a39 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/vertexai-gemini-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/vertexai-gemini-chat.adoc @@ -110,7 +110,7 @@ Read more about xref:api/clients/functions/vertexai-gemini-chat-functions.adoc[V === Sample Controller (Auto-configuration) -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-vertex-ai-plam2-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-vertex-ai-palm2-spring-boot-starter` to your pom (or gradle) dependencies. Add a `application.properties` file, under the `src/main/resources` directory, to enable and configure the VertexAi Chat client: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/vertexai-palm2-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/vertexai-palm2-chat.adoc index 6fbfbcbc6..674b22ac6 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/vertexai-palm2-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/clients/vertexai-palm2-chat.adoc @@ -34,7 +34,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-vertex-ai-plam2-spring-boot-starter + spring-ai-vertex-ai-palm2-spring-boot-starter ---- @@ -43,7 +43,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-vertex-ai-plam2-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-vertex-ai-palm2-spring-boot-starter' } ---- @@ -101,7 +101,7 @@ TIP: In addition to the model specific `VertexAiChatOptions` you can use a porta === Sample Controller (Auto-configuration) -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-vertex-ai-plam2-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-vertex-ai-palm2-spring-boot-starter` to your pom (or gradle) dependencies. Add a `application.properties` file, under the `src/main/resources` directory, to enable and configure the VertexAi Chat client: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings.adoc index cad5e12ae..edd0982d7 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings.adoc @@ -34,7 +34,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-vertex-ai-plam2-spring-boot-starter + spring-ai-vertex-ai-palm2-spring-boot-starter ---- @@ -43,7 +43,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-vertex-ai-plam2-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-vertex-ai-palm2-spring-boot-starter' } ---- @@ -74,7 +74,7 @@ The prefix `spring.ai.vertex.ai.embedding` is the property prefix that lets you === Sample Controller (Auto-configuration) -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-vertex-ai-plam2-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-vertex-ai-palm2-spring-boot-starter` to your pom (or gradle) dependencies. Add a `application.properties` file, under the `src/main/resources` directory, to enable and configure the VertexAi Chat client: diff --git a/spring-ai-spring-boot-starters/spring-ai-starter-vertex-ai-palm2/pom.xml b/spring-ai-spring-boot-starters/spring-ai-starter-vertex-ai-palm2/pom.xml index 8f2344042..c19de4a88 100644 --- a/spring-ai-spring-boot-starters/spring-ai-starter-vertex-ai-palm2/pom.xml +++ b/spring-ai-spring-boot-starters/spring-ai-starter-vertex-ai-palm2/pom.xml @@ -7,7 +7,7 @@ 0.8.1-SNAPSHOT ../../pom.xml - spring-ai-vertex-ai-plam2-spring-boot-starter + spring-ai-vertex-ai-palm2-spring-boot-starter jar Spring AI Starter - VertexAI PaLM2 Spring AI VertexAI PaLM2 Auto Configuration