From 836c01b048bb4a0a1c7ddee2d3f61b741fbc06f3 Mon Sep 17 00:00:00 2001 From: Ilayaperumal Gopinathan Date: Mon, 17 Mar 2025 12:34:30 +0000 Subject: [PATCH] Update docs references for the Spring AI model starters - Update the documentation references to replace the artifact ID name change for the model starters Signed-off-by: Ilayaperumal Gopinathan --- README.md | 4 ++-- .../pages/api/audio/speech/openai-speech.adoc | 4 ++-- .../azure-openai-transcriptions.adoc | 4 ++-- .../transcriptions/openai-transcriptions.adoc | 4 ++-- .../antora/modules/ROOT/pages/api/bedrock.adoc | 4 ++-- .../ROOT/pages/api/chat/anthropic-chat.adoc | 6 +++--- .../ROOT/pages/api/chat/azure-openai-chat.adoc | 8 ++++---- .../ROOT/pages/api/chat/bedrock-converse.adoc | 8 ++++---- .../ROOT/pages/api/chat/deepseek-chat.adoc | 6 +++--- .../functions/anthropic-chat-functions.adoc | 4 ++-- .../azure-open-ai-chat-functions.adoc | 6 +++--- .../chat/functions/minimax-chat-functions.adoc | 6 +++--- .../functions/mistralai-chat-functions.adoc | 6 +++--- .../functions/moonshot-chat-functions.adoc | 6 +++--- .../chat/functions/ollama-chat-functions.adoc | 4 ++-- .../chat/functions/openai-chat-functions.adoc | 6 +++--- .../chat/functions/zhipuai-chat-functions.adoc | 6 +++--- .../modules/ROOT/pages/api/chat/groq-chat.adoc | 6 +++--- .../ROOT/pages/api/chat/huggingface.adoc | 6 +++--- .../ROOT/pages/api/chat/minimax-chat.adoc | 6 +++--- .../ROOT/pages/api/chat/mistralai-chat.adoc | 6 +++--- .../ROOT/pages/api/chat/moonshot-chat.adoc | 6 +++--- .../ROOT/pages/api/chat/nvidia-chat.adoc | 6 +++--- .../pages/api/chat/oci-genai/cohere-chat.adoc | 6 +++--- .../ROOT/pages/api/chat/ollama-chat.adoc | 6 +++--- .../ROOT/pages/api/chat/openai-chat.adoc | 6 +++--- .../ROOT/pages/api/chat/perplexity-chat.adoc | 6 +++--- .../ROOT/pages/api/chat/qianfan-chat.adoc | 6 +++--- .../pages/api/chat/vertexai-gemini-chat.adoc | 6 +++--- .../ROOT/pages/api/chat/watsonx-ai-chat.adoc | 4 ++-- .../ROOT/pages/api/chat/zhipuai-chat.adoc | 6 +++--- .../embeddings/azure-openai-embeddings.adoc | 4 ++-- .../embeddings/bedrock-cohere-embedding.adoc | 8 ++++---- .../embeddings/bedrock-titan-embedding.adoc | 8 ++++---- .../api/embeddings/minimax-embeddings.adoc | 4 ++-- .../api/embeddings/mistralai-embeddings.adoc | 4 ++-- .../api/embeddings/oci-genai-embeddings.adoc | 4 ++-- .../api/embeddings/ollama-embeddings.adoc | 4 ++-- .../ROOT/pages/api/embeddings/onnx.adoc | 4 ++-- .../api/embeddings/openai-embeddings.adoc | 4 ++-- .../api/embeddings/postgresml-embeddings.adoc | 4 ++-- .../api/embeddings/qianfan-embeddings.adoc | 4 ++-- .../vertexai-embeddings-multimodal.adoc | 4 ++-- .../embeddings/vertexai-embeddings-text.adoc | 6 +++--- .../api/embeddings/watsonx-ai-embeddings.adoc | 4 ++-- .../api/embeddings/zhipuai-embeddings.adoc | 4 ++-- .../modules/ROOT/pages/api/functions.adoc | 4 ++-- .../pages/api/image/azure-openai-image.adoc | 4 ++-- .../ROOT/pages/api/image/openai-image.adoc | 4 ++-- .../ROOT/pages/api/image/qianfan-image.adoc | 4 ++-- .../pages/api/image/stabilityai-image.adoc | 4 ++-- .../ROOT/pages/api/image/zhipuai-image.adoc | 4 ++-- .../api/mcp/mcp-client-boot-starter-docs.adoc | 14 +++++++------- .../ROOT/pages/api/mcp/mcp-overview.adoc | 10 +++++----- .../api/mcp/mcp-server-boot-starter-docs.adoc | 18 +++++++++--------- .../api/moderation/openai-moderation.adoc | 4 ++-- .../ROOT/pages/api/vectordbs/azure.adoc | 6 +++--- .../ROOT/pages/api/vectordbs/chroma.adoc | 2 +- .../modules/ROOT/pages/api/vectordbs/hana.adoc | 2 +- .../ROOT/pages/api/vectordbs/mariadb.adoc | 2 +- .../ROOT/pages/api/vectordbs/oracle.adoc | 4 ++-- .../ROOT/pages/api/vectordbs/pgvector.adoc | 4 ++-- .../ROOT/pages/api/vectordbs/pinecone.adoc | 2 +- 63 files changed, 168 insertions(+), 168 deletions(-) diff --git a/README.md b/README.md index db3d9fb3d..1f53d37cd 100644 --- a/README.md +++ b/README.md @@ -101,9 +101,9 @@ One way to run integration tests on part of the code is to first do a quick comp ```shell ./mvnw clean install -DskipTests -Dmaven.javadoc.skip=true ``` -Then run the integration test for a specifi module using the `-pl` option +Then run the integration test for a specific module using the `-pl` option ```shell -./mvnw verify -Pintegration-tests -pl spring-ai-spring-boot-autoconfigure +./mvnw verify -Pintegration-tests -pl spring-ai-spring-boot-testcontainers ``` ### Documentation diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/audio/speech/openai-speech.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/audio/speech/openai-speech.adoc index a72107b08..3e1ecf6c7 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/audio/speech/openai-speech.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/audio/speech/openai-speech.adoc @@ -22,7 +22,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai ---- @@ -31,7 +31,7 @@ or to your Gradle `build.gradle` build file: [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-openai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-openai' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/audio/transcriptions/azure-openai-transcriptions.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/audio/transcriptions/azure-openai-transcriptions.adoc index 4a21e1a30..50bbee9b6 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/audio/transcriptions/azure-openai-transcriptions.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/audio/transcriptions/azure-openai-transcriptions.adoc @@ -18,7 +18,7 @@ To enable it, add the following dependency to your project's Maven `pom.xml` fil ---- org.springframework.ai - spring-ai-azure-openai-spring-boot-starter + spring-ai-starter-model-azure-openai ---- @@ -27,7 +27,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-azure-openai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-azure-openai' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/audio/transcriptions/openai-transcriptions.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/audio/transcriptions/openai-transcriptions.adoc index fa9377206..519f3d702 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/audio/transcriptions/openai-transcriptions.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/audio/transcriptions/openai-transcriptions.adoc @@ -20,7 +20,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai ---- @@ -29,7 +29,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-openai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-openai' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/bedrock.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/bedrock.adoc index 03d332a8a..172312845 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/bedrock.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/bedrock.adoc @@ -37,7 +37,7 @@ Then add the Spring Boot Starter dependency to your project's Maven `pom.xml` bu [source,xml] ---- - spring-ai-bedrock-ai-spring-boot-starter + spring-ai-starter-model-bedrock org.springframework.ai ---- @@ -47,7 +47,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-bedrock-ai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-bedrock' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/anthropic-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/anthropic-chat.adoc index 12f7f5e42..44da3c4e2 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/anthropic-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/anthropic-chat.adoc @@ -41,7 +41,7 @@ Maven:: ---- org.springframework.ai - spring-ai-anthropic-spring-boot-starter + spring-ai-starter-model-anthropic ---- @@ -50,7 +50,7 @@ Gradle:: [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-anthropic-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-anthropic' } ---- ====== @@ -203,7 +203,7 @@ var response = this.chatModel.call(new Prompt(List.of(userMessage))); == Sample Controller -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-anthropic-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-anthropic` to your pom (or gradle) dependencies. Add a `application.properties` file, under the `src/main/resources` directory, to enable and configure the Anthropic chat model: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/azure-openai-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/azure-openai-chat.adoc index e584825bc..8566e6f59 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/azure-openai-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/azure-openai-chat.adoc @@ -95,7 +95,7 @@ Maven:: ---- org.springframework.ai - spring-ai-azure-openai-spring-boot-starter + spring-ai-starter-model-azure-openai ---- @@ -104,14 +104,14 @@ Gradle:: [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-azure-openai-spring-boot-starter' + implementation 'spring-ai-starter-model-azure-openai' } ---- ====== TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Management] section to add the Spring AI BOM to your build file. -The Azure OpenAI Chat Client is created using the link:https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/OpenAIClientBuilder.java[OpenAIClientBuilder] provided by the Azure SDK. Spring AI allows to customize the builder by providing link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/main/java/org/springframework/ai/autoconfigure/azure/openai/AzureOpenAIClientBuilderCustomizer.java[AzureOpenAIClientBuilderCustomizer] beans. +The Azure OpenAI Chat Client is created using the link:https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/openai/azure-ai-openai/src/main/java/com/azure/ai/openai/OpenAIClientBuilder.java[OpenAIClientBuilder] provided by the Azure SDK. Spring AI allows to customize the builder by providing link:https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-azure-openai/src/main/java/org/springframework/ai/model/azure/openai/autoconfigure/AzureOpenAIClientBuilderCustomizer.java[AzureOpenAIClientBuilderCustomizer] beans. A customizer might be used for example to change the default response timeout: @@ -262,7 +262,7 @@ String response = ChatClient.create(chatModel).prompt() == Sample Controller -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-azure-openai-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-azure-openai` to your pom (or gradle) dependencies. Add a `application.properties` file, under the `src/main/resources` directory, to enable and configure the OpenAi chat model: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/bedrock-converse.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/bedrock-converse.adoc index 810d4d22d..9c3022d3c 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/bedrock-converse.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/bedrock-converse.adoc @@ -32,7 +32,7 @@ Refer to https://docs.aws.amazon.com/bedrock/latest/userguide/getting-started.ht == Auto-configuration -Add the `spring-ai-bedrock-converse-spring-boot-starter` dependency to your project's Maven `pom.xml` or Gradle `build.gradle` build files: +Add the `spring-ai-starter-model-bedrock-converse` dependency to your project's Maven `pom.xml` or Gradle `build.gradle` build files: [tabs] ====== @@ -42,7 +42,7 @@ Maven:: ---- org.springframework.ai - spring-ai-bedrock-converse-spring-boot-starter + spring-ai-starter-model-bedrock-converse ---- @@ -51,7 +51,7 @@ Gradle:: [source,gradle] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-bedrock-converse-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-bedrock-converse' } ---- ====== @@ -274,7 +274,7 @@ along with the text message "You are a very professional document summarization == Sample Controller -Create a new Spring Boot project and add the `spring-ai-bedrock-converse-spring-boot-starter` to your dependencies. +Create a new Spring Boot project and add the `spring-ai-starter-model-bedrock-converse` to your dependencies. Add an `application.properties` file under `src/main/resources`: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/deepseek-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/deepseek-chat.adoc index 27fc93de7..c68b03b5e 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/deepseek-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/deepseek-chat.adoc @@ -52,7 +52,7 @@ Maven:: ---- org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai ---- @@ -61,7 +61,7 @@ Gradle:: [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-openai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-openai' } ---- ====== @@ -163,7 +163,7 @@ NOTE: Currently, the DeepSeek API doesn't support media content. == Sample Controller -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-openai-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-openai` to your pom (or gradle) dependencies. Add a `application.properties` file, under the `src/main/resources` directory, to enable and configure the OpenAi chat model: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/anthropic-chat-functions.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/anthropic-chat-functions.adoc index 52c7ce8da..11d3e35d6 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/anthropic-chat-functions.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/anthropic-chat-functions.adoc @@ -114,7 +114,7 @@ public record Request(String location, Unit unit) {} It is a best practice to annotate the request object with information such that the generated JSON schema of that function is as descriptive as possible to help the AI model pick the correct function to invoke. -The link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/anthropic/tool/FunctionCallWithFunctionBeanIT.java[FunctionCallWithFunctionBeanIT.java] demonstrates this approach. +The link:https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-anthropic/src/test/java/org/springframework/ai/model/anthropic/autoconfigure/tool/FunctionCallWithFunctionBeanIT.java[FunctionCallWithFunctionBeanIT.java] demonstrates this approach. ==== FunctionCallback @@ -191,4 +191,4 @@ NOTE: The in-prompt registered functions are enabled by default for the duration This approach allows to dynamically chose different functions to be called based on the user input. -The https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/anthropic/tool/FunctionCallWithPromptFunctionIT.java[FunctionCallWithPromptFunctionIT.java] integration test provides a complete example of how to register a function with the `AnthropicChatModel` and use it in a prompt request. +The https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-anthropic/src/test/java/org/springframework/ai/model/anthropic/autoconfigure/tool/FunctionCallWithPromptFunctionIT.java[FunctionCallWithPromptFunctionIT.java] integration test provides a complete example of how to register a function with the `AnthropicChatModel` and use it in a prompt request. diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/azure-open-ai-chat-functions.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/azure-open-ai-chat-functions.adoc index 882ec73e3..d6dfbb7ef 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/azure-open-ai-chat-functions.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/azure-open-ai-chat-functions.adoc @@ -111,7 +111,7 @@ public record Request(String location, Unit unit) {} It is a best practice to annotate the request object with information such that the generated JSON schema of that function is as descriptive as possible to help the AI model pick the correct function to invoke. -The link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/azure/tool/FunctionCallWithFunctionBeanIT.java[FunctionCallWithFunctionBeanIT.java] demonstrates this approach. +The link:https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-anthropic/src/test/java/org/springframework/ai/model/azure/openai/autoconfigure/tool/FunctionCallWithFunctionBeanIT.java[FunctionCallWithFunctionBeanIT.java] demonstrates this approach. ==== FunctionCallback Wrapper @@ -168,7 +168,7 @@ Here is the current weather for the requested cities: - Paris, France: 15.0°C ---- -The link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/azure/tool/FunctionCallWithFunctionWrapperIT.java[FunctionCallWithFunctionWrapperIT.java] test demo this approach. +The link:https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-azure-openai/src/test/java/org/springframework/ai/model/azure/openai/autoconfigure/tool/FunctionCallWithFunctionWrapperIT.java[FunctionCallWithFunctionWrapperIT.java] test demo this approach. === Register/Call Functions with Prompt Options @@ -196,5 +196,5 @@ NOTE: The in-prompt registered functions are enabled by default for the duration This approach allows to dynamically chose different functions to be called based on the user input. -The https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/azure/tool/FunctionCallWithPromptFunctionIT.java[FunctionCallWithPromptFunctionIT.java] integration test provides a complete example of how to register a function with the `AzureOpenAiChatModel` and use it in a prompt request. +The https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-azure-openai/src/test/java/org/springframework/ai/model/azure/openai/autoconfigure/tool/FunctionCallWithPromptFunctionIT.java[FunctionCallWithPromptFunctionIT.java] integration test provides a complete example of how to register a function with the `AzureOpenAiChatModel` and use it in a prompt request. diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/minimax-chat-functions.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/minimax-chat-functions.adoc index adf41e2d0..5df3c5009 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/minimax-chat-functions.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/minimax-chat-functions.adoc @@ -112,7 +112,7 @@ public record Request(String location, Unit unit) {} It is a best practice to annotate the request object with information such that the generates JSON schema of that function is as descriptive as possible to help the AI model pick the correct function to invoke. -The link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/minimax/FunctionCallbackWithPlainFunctionBeanIT.java[FunctionCallbackWithPlainFunctionBeanIT.java] demonstrates this approach. +The link:https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-minimax/src/test/java/org/springframework/ai/model/minimax/autoconfigure/FunctionCallbackWithPlainFunctionBeanIT.java[FunctionCallbackWithPlainFunctionBeanIT.java] demonstrates this approach. ==== FunctionCallback Wrapper @@ -171,7 +171,7 @@ Here is the current weather for the requested cities: - Paris, France: 15.0°C ---- -The link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/minimax/tool/MiniMaxFunctionCallbackIT.java[MiniMaxFunctionCallbackIT.java] test demo this approach. +The link:https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-minimax/src/test/java/org/springframework/ai/model/minimax/autoconfigure/tool/MiniMaxFunctionCallbackIT.java[MiniMaxFunctionCallbackIT.java] test demo this approach. === Register/Call Functions with Prompt Options @@ -199,4 +199,4 @@ NOTE: The in-prompt registered functions are enabled by default for the duration This approach allows to dynamically chose different functions to be called based on the user input. -The https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/minimax/FunctionCallbackInPromptIT.java[FunctionCallbackInPromptIT.java] integration test provides a complete example of how to register a function with the `MiniMaxChatModel` and use it in a prompt request. +The https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-minimax/src/test/java/org/springframework/ai/model/minimax/autoconfigure/FunctionCallbackInPromptIT.java[FunctionCallbackInPromptIT.java] integration test provides a complete example of how to register a function with the `MiniMaxChatModel` and use it in a prompt request. diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/mistralai-chat-functions.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/mistralai-chat-functions.adoc index bcddf3fb6..3402361de 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/mistralai-chat-functions.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/mistralai-chat-functions.adoc @@ -110,9 +110,9 @@ public record Request(String location, Unit unit) {} It is a best practice to annotate the request object with information such that the generated JSON schema of that function is as descriptive as possible to help the AI model pick the correct function to invoke. -The link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/mistralai/tool/PaymentStatusBeanIT.java[PaymentStatusBeanIT.java] demonstrates this approach. +The link:https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-mistral-ai/src/test/java/org/springframework/ai/model/mistralai/autoconfigure/tool/PaymentStatusBeanIT.java[PaymentStatusBeanIT.java] demonstrates this approach. -TIP: The Mistral AI link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/mistralai/tool/PaymentStatusBeanOpenAiIT.java[PaymentStatusBeanOpenAiIT] implements the same function using the OpenAI API. +TIP: The Mistral AI link:https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-mistral-ai/src/test/java/org/springframework/ai/model/mistralai/autoconfigure/tool/PaymentStatusBeanOpenAiIT.java[PaymentStatusBeanOpenAiIT] implements the same function using the OpenAI API. Mistral AI is almost identical to OpenAI in this regard. ==== FunctionCallback Wrapper @@ -189,7 +189,7 @@ NOTE: The in-prompt registered functions are enabled by default for the duration This approach allows to choose dynamically different functions to be called based on the user input. -The https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/mistralai/tool/PaymentStatusPromptIT.java[PaymentStatusPromptIT.java] integration test provides a complete example of how to register a function with the `MistralAiChatModel` and use it in a prompt request. +The https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-mistral-ai/src/test/java/org/springframework/ai/model/mistralai/autoconfigure/tool/PaymentStatusPromptIT.java[PaymentStatusPromptIT.java] integration test provides a complete example of how to register a function with the `MistralAiChatModel` and use it in a prompt request. == Appendices diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/moonshot-chat-functions.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/moonshot-chat-functions.adoc index 1e37414a6..189dd671b 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/moonshot-chat-functions.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/moonshot-chat-functions.adoc @@ -112,7 +112,7 @@ public record Request(String location, Unit unit) {} It is a best practice to annotate the request object with information such that the generates JSON schema of that function is as descriptive as possible to help the AI model pick the correct function to invoke. -The link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/moonshot/tool/FunctionCallbackWithPlainFunctionBeanIT.java[FunctionCallbackWithPlainFunctionBeanIT.java] demonstrates this approach. +The link:https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-moonshot/src/test/java/org/springframework/ai/model/moonshot/autoconfigure/tool/FunctionCallbackWithPlainFunctionBeanIT.java[FunctionCallbackWithPlainFunctionBeanIT.java] demonstrates this approach. ==== FunctionCallback Wrapper @@ -171,7 +171,7 @@ Here is the current weather for the requested cities: - Paris, France: 15.0°C ---- -The link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/moonshot/tool/MoonshotFunctionCallbackIT.java[MoonshotFunctionCallbackIT.java] test demo this approach. +The link:https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-moonshot/src/test/java/org/springframework/ai/model/moonshot/autoconfigure/tool/MoonshotFunctionCallbackIT.java[MoonshotFunctionCallbackIT.java] test demo this approach. === Register/Call Functions with Prompt Options @@ -199,4 +199,4 @@ NOTE: The in-prompt registered functions are enabled by default for the duration This approach allows to dynamically chose different functions to be called based on the user input. -The https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/moonshot/tool/FunctionCallbackInPromptIT.java[FunctionCallbackInPromptIT.java] integration test provides a complete example of how to register a function with the `MoonshotChatModel` and use it in a prompt request. +The https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-moonshot/src/test/java/org/springframework/ai/model/moonshot/autoconfigure/tool/FunctionCallbackInPromptIT.java[FunctionCallbackInPromptIT.java] integration test provides a complete example of how to register a function with the `MoonshotChatModel` and use it in a prompt request. diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/ollama-chat-functions.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/ollama-chat-functions.adoc index fd45efa18..28597370f 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/ollama-chat-functions.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/ollama-chat-functions.adoc @@ -173,7 +173,7 @@ Here is the current weather for the requested cities: - Paris, France: 15.0°C ---- -The link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/ollama/tool/OllamaFunctionCallbackIT.java[OllamaFunctionCallbackIT.java] test demo this approach. +The link:https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-ollama/src/test/java/org/springframework/ai/model/ollama/autoconfigure/tool/OllamaFunctionCallbackIT.java[OllamaFunctionCallbackIT.java] test demo this approach. === Register/Call Functions with Prompt Options @@ -200,7 +200,7 @@ NOTE: The in-prompt registered functions are enabled by default for the duration This approach allows you to dynamically choose different functions to be called based on the user input. -The link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/ollama/tool/FunctionCallbackInPromptIT.java[FunctionCallbackInPromptIT.java] integration test provides a complete example of how to register a function with the `OllamaChatModel` and use it in a prompt request. +The link:https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-ollama/src/test/java/org/springframework/ai/model/ollama/autoconfigure/tool/auto-configurations/models/spring-ai-autoconfigure-model-ollama/src/test/java/org/springframework/ai/model/ollama/autoconfigure/tool/FunctionCallbackInPromptIT.java[FunctionCallbackInPromptIT.java] integration test provides a complete example of how to register a function with the `OllamaChatModel` and use it in a prompt request. == Appendices: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/openai-chat-functions.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/openai-chat-functions.adoc index 61d40c613..ae910ca6c 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/openai-chat-functions.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/openai-chat-functions.adoc @@ -110,7 +110,7 @@ public record Request(String location, Unit unit) {} It is a best practice to annotate the request object with information such that the generated JSON schema of that function is as descriptive as possible to help the AI model pick the correct function to invoke. -The link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/openai/tool/FunctionCallbackWithPlainFunctionBeanIT.java[FunctionCallbackWithPlainFunctionBeanIT.java] demonstrates this approach. +The link:https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-openai/src/test/java/org/springframework/ai/model/openai/autoconfigure/tool/FunctionCallbackWithPlainFunctionBeanIT.java[FunctionCallbackWithPlainFunctionBeanIT.java] demonstrates this approach. ==== FunctionCallback Wrapper @@ -168,7 +168,7 @@ Here is the current weather for the requested cities: - Paris, France: 15.0°C ---- -The link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/openai/tool/OpenAiFunctionCallbackIT.java[OpenAiFunctionCallbackIT.java] test demo this approach. +The link:https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-openai/src/test/java/org/springframework/ai/model/openai/autoconfigure/tool/OpenAiFunctionCallbackIT.java[OpenAiFunctionCallbackIT.java] test demo this approach. === Register/Call Functions with Prompt Options @@ -195,7 +195,7 @@ NOTE: The in-prompt registered functions are enabled by default for the duration This approach allows to choose dynamically different functions to be called based on the user input. -The https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/openai/tool/FunctionCallbackInPromptIT.java[FunctionCallbackInPromptIT.java] integration test provides a complete example of how to register a function with the `OpenAiChatModel` and use it in a prompt request. +The https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-openai/src/test/java/org/springframework/ai/model/openai/autoconfigure/tool/FunctionCallbackInPromptIT.java[FunctionCallbackInPromptIT.java] integration test provides a complete example of how to register a function with the `OpenAiChatModel` and use it in a prompt request. === Tool Context Support diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/zhipuai-chat-functions.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/zhipuai-chat-functions.adoc index c05b37b00..af7680910 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/zhipuai-chat-functions.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/functions/zhipuai-chat-functions.adoc @@ -112,7 +112,7 @@ public record Request(String location, Unit unit) {} It is a best practice to annotate the request object with information such that the generates JSON schema of that function is as descriptive as possible to help the AI model pick the correct function to invoke. -The link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/zhipuai/tool/FunctionCallbackWithPlainFunctionBeanIT.java[FunctionCallbackWithPlainFunctionBeanIT.java] demonstrates this approach. +The link:https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-zhipuai/src/test/java/org/springframework/ai/model/zhipuai/autoconfigure/tool/FunctionCallbackWithPlainFunctionBeanIT.java[FunctionCallbackWithPlainFunctionBeanIT.java] demonstrates this approach. ==== FunctionCallback Wrapper @@ -171,7 +171,7 @@ Here is the current weather for the requested cities: - Paris, France: 15.0°C ---- -The link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/zhipuai/tool/ZhipuAiFunctionCallbackIT.java[ZhipuAiFunctionCallbackIT.java] test demo this approach. +The link:https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-zhipuai/src/test/java/org/springframework/ai/model/zhipuai/autoconfigure/tool/ZhipuAiFunctionCallbackIT.java[ZhipuAiFunctionCallbackIT.java] test demo this approach. === Register/Call Functions with Prompt Options @@ -199,4 +199,4 @@ NOTE: The in-prompt registered functions are enabled by default for the duration This approach allows to dynamically chose different functions to be called based on the user input. -The https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/zhipuai/tool/FunctionCallbackInPromptIT.java[FunctionCallbackInPromptIT.java] integration test provides a complete example of how to register a function with the `ZhiPuAiChatModel` and use it in a prompt request. +The https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-zhipuai/src/test/java/org/springframework/ai/model/zhipuai/autoconfigure/tool/FunctionCallbackInPromptIT.java[FunctionCallbackInPromptIT.java] integration test provides a complete example of how to register a function with the `ZhiPuAiChatModel` and use it in a prompt request. diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/groq-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/groq-chat.adoc index a5a7a182f..bd75d202c 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/groq-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/groq-chat.adoc @@ -56,7 +56,7 @@ Maven:: ---- org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai ---- @@ -65,7 +65,7 @@ Gradle:: [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-openai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-openai' } ---- ====== @@ -230,7 +230,7 @@ NOTE: Currently the Groq API doesn't support media content. == Sample Controller -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-openai-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-openai` to your pom (or gradle) dependencies. Add a `application.properties` file, under the `src/main/resources` directory, to enable and configure the OpenAi chat model: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/huggingface.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/huggingface.adoc index 1890b788f..632cca919 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/huggingface.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/huggingface.adoc @@ -37,7 +37,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-huggingface-spring-boot-starter + spring-ai-starter-model-huggingface ---- @@ -46,7 +46,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-huggingface-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-huggingface' } ---- @@ -66,7 +66,7 @@ The prefix `spring.ai.huggingface` is the property prefix that lets you configur == Sample Controller (Auto-configuration) -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-huggingface-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-huggingface` to your pom (or gradle) dependencies. Add an `application.properties` file, under the `src/main/resources` directory, to enable and configure the Hugging Face chat model: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/minimax-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/minimax-chat.adoc index c6bd03e39..999be17a5 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/minimax-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/minimax-chat.adoc @@ -33,7 +33,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-minimax-spring-boot-starter + spring-ai-starter-model-minimax ---- @@ -42,7 +42,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-minimax-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-minimax' } ---- @@ -131,7 +131,7 @@ TIP: In addition to the model specific link:https://github.com/spring-projects/s == Sample Controller -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-minimax-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-minimax` to your pom (or gradle) dependencies. Add a `application.properties` file, under the `src/main/resources` directory, to enable and configure the MiniMax chat model: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/mistralai-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/mistralai-chat.adoc index b68749eff..36fadc20d 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/mistralai-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/mistralai-chat.adoc @@ -33,7 +33,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-mistral-ai-spring-boot-starter + spring-ai-starter-model-mistral-ai ---- @@ -42,7 +42,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-mistral-ai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-mistral-ai' } ---- @@ -205,7 +205,7 @@ Check the link:https://github.com/spring-projects/spring-ai/blob/main/models/spr == Sample Controller (Auto-configuration) -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-mistral-ai-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-mistral-ai` to your pom (or gradle) dependencies. Add a `application.properties` file under the `src/main/resources` directory to enable and configure the Mistral AI chat model: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/moonshot-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/moonshot-chat.adoc index eafbd7c12..6af165d8c 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/moonshot-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/moonshot-chat.adoc @@ -32,7 +32,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-moonshot-spring-boot-starter + spring-ai-starter-model-moonshot ---- @@ -41,7 +41,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-moonshot-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-moonshot' } ---- @@ -130,7 +130,7 @@ TIP: In addition to the model specific link:https://github.com/spring-projects/s == Sample Controller (Auto-configuration) -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-moonshot-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-moonshot` to your pom (or gradle) dependencies. Add a `application.properties` file, under the `src/main/resources` directory, to enable and configure the Moonshot Chat model: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/nvidia-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/nvidia-chat.adoc index 44ccda71a..0c6311947 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/nvidia-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/nvidia-chat.adoc @@ -29,7 +29,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai ---- @@ -38,7 +38,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-openai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-openai' } ---- @@ -202,7 +202,7 @@ Read more about OpenAI link:https://docs.spring.io/spring-ai/reference/api/chat/ == Sample Controller -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-openai-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-openai` to your pom (or gradle) dependencies. Add a `application.properties` file, under the `src/main/resources` directory, to enable and configure the OpenAi chat model: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/oci-genai/cohere-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/oci-genai/cohere-chat.adoc index 4058591b5..d6352aa09 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/oci-genai/cohere-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/oci-genai/cohere-chat.adoc @@ -24,7 +24,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-oci-genai-spring-boot-starter + spring-ai-starter-model-oci-genai ---- @@ -33,7 +33,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-oci-genai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-oci-genai' } ---- @@ -111,7 +111,7 @@ ChatResponse response = chatModel.call( == Sample Controller -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-oci-genai-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-oci-genai` to your pom (or gradle) dependencies. Add a `application.properties` file, under the `src/main/resources` directory, to enable and configure the OCI GenAI Cohere chat model: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/ollama-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/ollama-chat.adoc index 7e6a0b40a..3acf81f65 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/ollama-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/ollama-chat.adoc @@ -43,7 +43,7 @@ Maven:: ---- org.springframework.ai - spring-ai-ollama-spring-boot-starter + spring-ai-starter-model-ollama ---- @@ -52,7 +52,7 @@ Gradle:: [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-ollama-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-ollama' } ---- ====== @@ -379,7 +379,7 @@ For production, you should pre-download the models to avoid delays: `ollama pull == Sample Controller -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-ollama-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-ollama` to your pom (or gradle) dependencies. Add a `application.yaml` file, under the `src/main/resources` directory, to enable and configure the Ollama chat model: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/openai-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/openai-chat.adoc index eeadf462e..4231038c0 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/openai-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/openai-chat.adoc @@ -34,7 +34,7 @@ Maven:: ---- org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai ---- @@ -43,7 +43,7 @@ Gradle:: [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-openai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-openai' } ---- ====== @@ -426,7 +426,7 @@ spring.ai.openai.chat.options.response-format.strict=true == Sample Controller -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-openai-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-openai` to your pom (or gradle) dependencies. Add an `application.properties` file under the `src/main/resources` directory to enable and configure the OpenAi chat model: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/perplexity-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/perplexity-chat.adoc index ceeafcd50..2f21f307f 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/perplexity-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/perplexity-chat.adoc @@ -58,7 +58,7 @@ Maven:: ---- org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai ---- @@ -67,7 +67,7 @@ Gradle:: [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-openai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-openai' } ---- ====== @@ -160,7 +160,7 @@ NOTE: Currently, the Perplexity API doesn't support media content. == Sample Controller -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-openai-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-openai` to your pom (or gradle) dependencies. Add a `application.properties` file, under the `src/main/resources` directory, to enable and configure the OpenAi chat model: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/qianfan-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/qianfan-chat.adoc index 04540307f..ea51ea6a9 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/qianfan-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/qianfan-chat.adoc @@ -35,7 +35,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-qianfan-spring-boot-starter + spring-ai-starter-model-qianfan ---- @@ -44,7 +44,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-qianfan-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-qianfan' } ---- @@ -134,7 +134,7 @@ TIP: In addition to the model specific link:https://github.com/spring-projects/s == Sample Controller -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-qianfan-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-qianfan` to your pom (or gradle) dependencies. Add a `application.properties` file, under the `src/main/resources` directory, to enable and configure the QianFan Chat client: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/vertexai-gemini-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/vertexai-gemini-chat.adoc index 07d4253e9..207320768 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/vertexai-gemini-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/vertexai-gemini-chat.adoc @@ -33,7 +33,7 @@ Maven:: ---- org.springframework.ai - spring-ai-vertex-ai-gemini-spring-boot-starter + spring-ai-starter-model-vertex-ai-gemini ---- @@ -42,7 +42,7 @@ Gradle:: [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-vertex-ai-gemini-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-vertex-ai-gemini' } ---- ====== @@ -201,7 +201,7 @@ var response = this.chatModel.call(new Prompt(List.of(userMessage))); == Sample Controller -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-vertex-ai-gemini-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-vertex-ai-gemini` to your pom (or gradle) dependencies. Add a `application.properties` file, under the `src/main/resources` directory, to enable and configure the VertexAi chat model: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/watsonx-ai-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/watsonx-ai-chat.adoc index fec302050..d8afc717a 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/watsonx-ai-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/watsonx-ai-chat.adoc @@ -21,7 +21,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-watsonx-ai-spring-boot-starter + spring-ai-starter-model-watsonx-ai ---- @@ -30,7 +30,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-watsonx-ai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-watsonx-ai' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/zhipuai-chat.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/zhipuai-chat.adoc index be258f376..186d08d38 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/zhipuai-chat.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/zhipuai-chat.adoc @@ -33,7 +33,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-zhipuai-spring-boot-starter + spring-ai-starter-model-zhipuai ---- @@ -42,7 +42,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-zhipuai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-zhipuai' } ---- @@ -132,7 +132,7 @@ TIP: In addition to the model specific link:https://github.com/spring-projects/s == Sample Controller -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-zhipuai-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-zhipuai` to your pom (or gradle) dependencies. Add a `application.properties` file, under the `src/main/resources` directory, to enable and configure the ZhiPuAi chat model: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/azure-openai-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/azure-openai-embeddings.adoc index cacd3948d..f05079e0c 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/azure-openai-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/azure-openai-embeddings.adoc @@ -67,7 +67,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-azure-openai-spring-boot-starter + spring-ai-starter-model-azure-openai ---- @@ -76,7 +76,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-azure-openai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-azure-openai' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/bedrock-cohere-embedding.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/bedrock-cohere-embedding.adoc index f43d11a18..c395c112a 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/bedrock-cohere-embedding.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/bedrock-cohere-embedding.adoc @@ -18,13 +18,13 @@ To help with dependency management, Spring AI provides a BOM (bill of materials) == Auto-configuration -Add the `spring-ai-bedrock-ai-spring-boot-starter` dependency to your project's Maven `pom.xml` file: +Add the `spring-ai-starter-model-bedrock` dependency to your project's Maven `pom.xml` file: [source,xml] ---- org.springframework.ai - spring-ai-bedrock-ai-spring-boot-starter + spring-ai-starter-model-bedrock ---- @@ -33,7 +33,7 @@ or to your Gradle `build.gradle` build file. [source,gradle] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-bedrock-ai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-bedrock' } ---- @@ -102,7 +102,7 @@ EmbeddingResponse embeddingResponse = embeddingModel.call( == Sample Controller -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-bedrock-ai-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-bedrock` to your pom (or gradle) dependencies. Add a `application.properties` file, under the `src/main/resources` directory, to enable and configure the Cohere Embedding model: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/bedrock-titan-embedding.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/bedrock-titan-embedding.adoc index 3a01ba650..a781539bc 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/bedrock-titan-embedding.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/bedrock-titan-embedding.adoc @@ -25,13 +25,13 @@ To help with dependency management, Spring AI provides a BOM (bill of materials) == Auto-configuration -Add the `spring-ai-bedrock-ai-spring-boot-starter` dependency to your project's Maven `pom.xml` file: +Add the `spring-ai-starter-model-bedrock` dependency to your project's Maven `pom.xml` file: [source,xml] ---- org.springframework.ai - spring-ai-bedrock-ai-spring-boot-starter + spring-ai-starter-model-bedrock ---- @@ -40,7 +40,7 @@ or to your Gradle `build.gradle` build file. [source,gradle] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-bedrock-ai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-bedrock' } ---- @@ -101,7 +101,7 @@ EmbeddingResponse embeddingResponse = embeddingModel.call( == Sample Controller -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-bedrock-ai-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-bedrock` to your pom (or gradle) dependencies. Add a `application.properties` file, under the `src/main/resources` directory, to enable and configure the Titan Embedding model: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/minimax-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/minimax-embeddings.adoc index 7237aa4c5..1c7505114 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/minimax-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/minimax-embeddings.adoc @@ -33,7 +33,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-minimax-spring-boot-starter + spring-ai-starter-model-minimax ---- @@ -42,7 +42,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-minimax-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-minimax' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/mistralai-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/mistralai-embeddings.adoc index e60355051..1a6ac802f 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/mistralai-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/mistralai-embeddings.adoc @@ -33,7 +33,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-mistral-ai-spring-boot-starter + spring-ai-starter-model-mistral-ai ---- @@ -42,7 +42,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-mistral-ai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-mistral-ai' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/oci-genai-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/oci-genai-embeddings.adoc index dea5878e7..4e7049a6b 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/oci-genai-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/oci-genai-embeddings.adoc @@ -22,7 +22,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-oci-genai-spring-boot-starter + spring-ai-starter-model-oci-genai ---- @@ -31,7 +31,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-oci-genai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-oci-genai' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/ollama-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/ollama-embeddings.adoc index ed99ad97f..eba1883ad 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/ollama-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/ollama-embeddings.adoc @@ -45,7 +45,7 @@ Maven:: ---- org.springframework.ai - spring-ai-ollama-spring-boot-starter + spring-ai-starter-model-ollama ---- @@ -54,7 +54,7 @@ Gradle:: [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-ollama-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-ollama' } ---- ====== diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/onnx.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/onnx.adoc index 51a53bb43..528910e51 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/onnx.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/onnx.adoc @@ -37,7 +37,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-transformers-spring-boot-starter + spring-ai-starter-model-transformers ---- @@ -46,7 +46,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-transformers-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-transformers' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/openai-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/openai-embeddings.adoc index e9d6a9dd0..84222b9f8 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/openai-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/openai-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-openai-spring-boot-starter + spring-ai-starter-model-openai ---- @@ -43,7 +43,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-openai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-openai' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/postgresml-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/postgresml-embeddings.adoc index ebc41cea2..f0b600315 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/postgresml-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/postgresml-embeddings.adoc @@ -26,7 +26,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-postgresml-spring-boot-starter + spring-ai-starter-model-postgresml-embedding ---- @@ -35,7 +35,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-postgresml-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-postgresml-embedding' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/qianfan-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/qianfan-embeddings.adoc index 69d11af28..3e934520d 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/qianfan-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/qianfan-embeddings.adoc @@ -35,7 +35,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-qianfan-spring-boot-starter + spring-ai-starter-model-qianfan ---- @@ -44,7 +44,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-qianfan-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-qianfan' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-multimodal.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-multimodal.adoc index 031338eaa..96c0cc318 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-multimodal.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-multimodal.adoc @@ -44,7 +44,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-vertex-ai-embedding-spring-boot-starter + spring-ai-starter-model-vertex-ai-embedding ---- @@ -53,7 +53,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-vertex-ai-embedding-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-vertex-ai-embedding' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-text.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-text.adoc index 473a2b37c..8344fc582 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-text.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/vertexai-embeddings-text.adoc @@ -36,7 +36,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-vertex-ai-embedding-spring-boot-starter + spring-ai-starter-model-vertex-ai-embedding ---- @@ -45,7 +45,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-vertex-ai-embedding-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-vertex-ai-embedding' } ---- @@ -81,7 +81,7 @@ The prefix `spring.ai.vertex.ai.embedding.text` is the property prefix that lets == Sample Controller -https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-vertex-ai-embedding-spring-boot-starter` to your pom (or gradle) dependencies. +https://start.spring.io/[Create] a new Spring Boot project and add the `spring-ai-starter-model-vertex-ai-embedding` to your pom (or gradle) dependencies. Add a `application.properties` file, under the `src/main/resources` directory, to enable and configure the VertexAi chat model: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/watsonx-ai-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/watsonx-ai-embeddings.adoc index ca3226cbd..4b0497dc8 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/watsonx-ai-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/watsonx-ai-embeddings.adoc @@ -32,7 +32,7 @@ To enable it add the following dependency to your Maven `pom.xml` file: ---- org.springframework.ai - spring-ai-watsonx-ai-spring-boot-starter + spring-ai-starter-model-watsonx-ai ---- @@ -41,7 +41,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-watsonx-ai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-watsonx-ai' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/zhipuai-embeddings.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/zhipuai-embeddings.adoc index 63b7d74a4..88c31638b 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/zhipuai-embeddings.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/embeddings/zhipuai-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-zhipuai-spring-boot-starter + spring-ai-starter-model-zhipuai ---- @@ -43,7 +43,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-zhipuai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-zhipuai' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/functions.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/functions.adoc index 00e450f32..9ee2d34db 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/functions.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/functions.adoc @@ -273,7 +273,7 @@ Here is the current weather for the requested cities: - Paris, France: 15.0°C ---- -The link:https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/openai/tool/FunctionCallbackWithPlainFunctionBeanIT.java[FunctionCallbackWithPlainFunctionBeanIT.java] test demo this approach. +The link:https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-openai/src/test/java/org/springframework/ai/model/openai/autoconfigure/tool/FunctionCallbackWithPlainFunctionBeanIT.java[FunctionCallbackWithPlainFunctionBeanIT.java] test demo this approach. == Client-Side Registration @@ -302,7 +302,7 @@ NOTE: The on the fly functions are enabled by default for the duration of this r This approach allows to choose dynamically different functions to be called based on the user input. -The https://github.com/spring-projects/spring-ai/blob/main/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/openai/tool/FunctionCallbackInPromptIT.java[FunctionCallbackInPromptIT.java] integration test provides a complete example of how to register a function with the `ChatClient` and use it in a prompt request. +The https://github.com/spring-projects/spring-ai/blob/main/auto-configurations/models/spring-ai-autoconfigure-model-openai/src/test/java/org/springframework/ai/model/openai/autoconfigure/tool/FunctionCallbackInPromptIT.java[FunctionCallbackInPromptIT.java] integration test provides a complete example of how to register a function with the `ChatClient` and use it in a prompt request. === Method Invoking diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/azure-openai-image.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/azure-openai-image.adoc index d8177ec3a..d400dbe6c 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/azure-openai-image.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/azure-openai-image.adoc @@ -59,7 +59,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-azure-openai-spring-boot-starter + spring-ai-starter-model-azure-openai ---- @@ -68,7 +68,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-azure-openai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-azure-openai' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/openai-image.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/openai-image.adoc index 77044b015..82f993acf 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/openai-image.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/openai-image.adoc @@ -24,7 +24,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai ---- @@ -33,7 +33,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-openai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-openai' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/qianfan-image.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/qianfan-image.adoc index 895d8fb65..6c97e372a 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/qianfan-image.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/qianfan-image.adoc @@ -33,7 +33,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-qianfan-spring-boot-starter + spring-ai-starter-model-qianfan ---- @@ -42,7 +42,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-qianfan-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-qianfan' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/stabilityai-image.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/stabilityai-image.adoc index f488b03dd..4d280a250 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/stabilityai-image.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/stabilityai-image.adoc @@ -23,7 +23,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-stability-ai-spring-boot-starter + spring-ai-starter-model-stability-ai ---- @@ -32,7 +32,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-stability-ai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-stability-ai' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/zhipuai-image.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/zhipuai-image.adoc index 0826f7d5e..f0327de7c 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/zhipuai-image.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/image/zhipuai-image.adoc @@ -31,7 +31,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-zhipuai-spring-boot-starter + spring-ai-starter-model-zhipuai ---- @@ -40,7 +40,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-zhipuai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-zhipuai' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-client-boot-starter-docs.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-client-boot-starter-docs.adoc index 9b1b8e632..1a05a805b 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-client-boot-starter-docs.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-client-boot-starter-docs.adoc @@ -19,7 +19,7 @@ The MCP Client Boot Starter provides: ---- org.springframework.ai - spring-ai-mcp-client-spring-boot-starter + spring-ai-starter-mcp-client ---- @@ -27,7 +27,7 @@ The standard starter connects simultaneously to one or more MCP servers over `ST The SSE connection uses the HttpClient-based transport implementation. Each connection to an MCP server creates a new MCP client instance. You can choose either `SYNC` or `ASYNC` MCP clients (note: you cannot mix sync and async clients). -For production deployment, we recommend using the WebFlux-based SSE connection with the `spring-ai-mcp-client-webflux-spring-boot-starter`. +For production deployment, we recommend using the WebFlux-based SSE connection with the `spring-ai-starter-mcp-client-webflux`. === WebFlux Client @@ -37,7 +37,7 @@ The WebFlux starter provides similar functionality to the standard starter but u ---- org.springframework.ai - spring-ai-mcp-client-webflux-spring-boot-starter + spring-ai-starter-mcp-client-webflux ---- @@ -296,8 +296,8 @@ The MCP client auto-configuration automatically detects and applies any customiz The auto-configuration supports multiple transport types: -* Standard I/O (Stdio) (activated by the `spring-ai-mcp-client-spring-boot-starter`) -* SSE HTTP (activated by the `spring-ai-mcp-client-spring-boot-starter`) +* Standard I/O (Stdio) (activated by the `spring-ai-starter-mcp-client`) +* SSE HTTP (activated by the `spring-ai-starter-mcp-client`) * SSE WebFlux (activated by the `spring-ai-starter-mcp-client-webflux`) === Integration with Spring AI @@ -364,8 +364,8 @@ ToolCallback[] toolCallbacks = toolCallbackProvider.getToolCallbacks(); == Example Applications - link:https://github.com/spring-projects/spring-ai-examples/tree/main/model-context-protocol/web-search/brave-chatbot[Brave Wet Search Chatbot] - A chatbot that uses the Model Context Protocol to interact with a web search server. -- link:https://github.com/spring-projects/spring-ai-examples/tree/main/model-context-protocol/client-starter/starter-default-client[Default MCP Client Starter] - A simple example of using the the default `spring-ai-mcp-client-spring-boot-starter` MCP Client Boot Starter. -- link:https://github.com/spring-projects/spring-ai-examples/tree/main/model-context-protocol/client-starter/starter-webflux-client[WebFlux MCP Client Starter] - A simple example of using the `spring-ai-mcp-client-webflux-spring-boot-starter` the MCP Client Boot Starter. +- link:https://github.com/spring-projects/spring-ai-examples/tree/main/model-context-protocol/client-starter/starter-default-client[Default MCP Client Starter] - A simple example of using the the default `spring-ai-starter-mcp-client` MCP Client Boot Starter. +- link:https://github.com/spring-projects/spring-ai-examples/tree/main/model-context-protocol/client-starter/starter-webflux-client[WebFlux MCP Client Starter] - A simple example of using the `spring-ai-starter-mcp-client-webflux` the MCP Client Boot Starter. == Additional Resources diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-overview.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-overview.adoc index 41fa3fdb5..f31200ebf 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-overview.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-overview.adoc @@ -76,13 +76,13 @@ For simplified setup using Spring Boot, use the MCP Boot Starters described belo Spring AI provides MCP integration through the following Spring Boot starters: === link:mcp-client-boot-starter-docs.html[Client Starters] -* `spring-ai-mcp-client-spring-boot-starter` - Core starter providing STDIO and HTTP-based SSE support -* `spring-ai-mcp-client-webflux-spring-boot-starter` - WebFlux-based SSE transport implementation +* `spring-ai-starter-mcp-client` - Core starter providing STDIO and HTTP-based SSE support +* `spring-ai-starter-mcp-client-webflux` - WebFlux-based SSE transport implementation === link:mcp-server-boot-starter-docs.html[Server Starters] -* `spring-ai-mcp-server-spring-boot-starter` - Core server with STDIO transport support -* `spring-ai-mcp-server-webmvc-spring-boot-starter` - Spring MVC-based SSE transport implementation -* `spring-ai-mcp-server-webflux-spring-boot-starter` - WebFlux-based SSE transport implementation +* `spring-ai-starter-mcp-server` - Core server with STDIO transport support +* `spring-ai-starter-mcp-server-webmvc` - Spring MVC-based SSE transport implementation +* `spring-ai-starter-mcp-server-webflux` - WebFlux-based SSE transport implementation == Additional Resources diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-server-boot-starter-docs.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-server-boot-starter-docs.adoc index ed0d20359..c8ffe56fc 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-server-boot-starter-docs.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-server-boot-starter-docs.adoc @@ -22,7 +22,7 @@ Full MCP Server features support with `STDIO` server transport. ---- org.springframework.ai - spring-ai-mcp-server-spring-boot-starter + spring-ai-starter-mcp-server ---- @@ -44,7 +44,7 @@ Full MCP Server features support with `SSE` (Server-Sent Events) server transpor ---- org.springframework.ai - spring-ai-mcp-server-webmvc-spring-boot-starter + spring-ai-starter-mcp-server-webmvc ---- @@ -63,7 +63,7 @@ Full MCP Server features support with `SSE` (Server-Sent Events) server transpor ---- org.springframework.ai - spring-ai-mcp-server-webflux-spring-boot-starter + spring-ai-starter-mcp-server-webflux ---- @@ -108,9 +108,9 @@ This server type automatically sets up asynchronous tool registrations with buil The MCP Server supports three transport mechanisms, each with its dedicated starter: -* Standard Input/Output (STDIO) - `spring-ai-mcp-server-spring-boot-starter` -* Spring MVC (Server-Sent Events) - `spring-ai-mcp-server-webmvc-spring-boot-starter` -* Spring WebFlux (Reactive SSE) - `spring-ai-mcp-server-webflux-spring-boot-starter` +* Standard Input/Output (STDIO) - `spring-ai-starter-mcp-server` +* Spring MVC (Server-Sent Events) - `spring-ai-starter-mcp-server-webmvc` +* Spring WebFlux (Reactive SSE) - `spring-ai-starter-mcp-server-webflux` == Features and Capabilities @@ -225,7 +225,7 @@ public Consumer> rootsChangeConsumer() { === Standard STDIO Server Configuration [source,yaml] ---- -# Using spring-ai-mcp-server-spring-boot-starter +# Using spring-ai-starter-mcp-server spring: ai: mcp: @@ -238,7 +238,7 @@ spring: === WebMVC Server Configuration [source,yaml] ---- -# Using spring-ai-mcp-server-webmvc-spring-boot-starter +# Using spring-ai-starter-mcp-server-webmvc spring: ai: mcp: @@ -252,7 +252,7 @@ spring: === WebFlux Server Configuration [source,yaml] ---- -# Using spring-ai-mcp-server-webflux-spring-boot-starter +# Using spring-ai-starter-mcp-server-webflux spring: ai: mcp: diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/moderation/openai-moderation.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/moderation/openai-moderation.adoc index 909d7deaf..858dfe7da 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/moderation/openai-moderation.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/moderation/openai-moderation.adoc @@ -20,7 +20,7 @@ To enable it add the following dependency to your project's Maven `pom.xml` file ---- org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai ---- @@ -29,7 +29,7 @@ or to your Gradle `build.gradle` build file: [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-openai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-openai' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/azure.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/azure.adoc index 78a3f306f..19f85b895 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/azure.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/azure.adoc @@ -54,7 +54,7 @@ OpenAI Embedding:: ---- org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai ---- @@ -64,7 +64,7 @@ Azure AI Embedding:: ---- org.springframework.ai - spring-ai-azure-openai-spring-boot-starter + spring-ai-starter-model-azure-openai ---- @@ -74,7 +74,7 @@ Local Sentence Transformers Embedding:: ---- org.springframework.ai - spring-ai-transformers-spring-boot-starter + spring-ai-starter-model-transformers ---- ====== diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/chroma.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/chroma.adoc index 0ff3e6f10..8083e8653 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/chroma.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/chroma.adoc @@ -198,7 +198,7 @@ Add these dependencies to your project: ---- org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/hana.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/hana.adoc index fee75724f..426567174 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/hana.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/hana.adoc @@ -99,7 +99,7 @@ You may set the property `spring-ai-version` as `1.0.0-SNAPSH org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/mariadb.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/mariadb.adoc index 5729c128c..daa00c466 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/mariadb.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/mariadb.adoc @@ -49,7 +49,7 @@ For example, to use the xref:api/embeddings/openai-embeddings.adoc[OpenAI Embedd ---- org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/oracle.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/oracle.adoc index 3072bc699..1c2020894 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/oracle.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/oracle.adoc @@ -38,7 +38,7 @@ For example to use the xref:api/embeddings/openai-embeddings.adoc[OpenAI Embeddi ---- org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai ---- @@ -47,7 +47,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-openai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-openai' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/pgvector.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/pgvector.adoc index d5d570cb5..510a10be2 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/pgvector.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/pgvector.adoc @@ -68,7 +68,7 @@ For example, to use the xref:api/embeddings/openai-embeddings.adoc[OpenAI Embedd ---- org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai ---- @@ -77,7 +77,7 @@ or to your Gradle `build.gradle` build file. [source,groovy] ---- dependencies { - implementation 'org.springframework.ai:spring-ai-openai-spring-boot-starter' + implementation 'org.springframework.ai:spring-ai-starter-model-openai' } ---- diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/pinecone.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/pinecone.adoc index 2c615e606..98732cc6a 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/pinecone.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/vectordbs/pinecone.adoc @@ -159,7 +159,7 @@ Add these dependencies to your project: ---- org.springframework.ai - spring-ai-openai-spring-boot-starter + spring-ai-starter-model-openai ----