From 3c17750a002be3b89dec863504c2f1c5250c8137 Mon Sep 17 00:00:00 2001 From: Ilayaperumal Gopinathan Date: Thu, 27 Mar 2025 12:06:52 +0000 Subject: [PATCH] Documentation updates for image/audio docs - Fix to include the correct top level property to enable/disable image/audio models Signed-off-by: Ilayaperumal Gopinathan --- .../modules/ROOT/pages/api/audio/speech/openai-speech.adoc | 2 +- .../api/audio/transcriptions/azure-openai-transcriptions.adoc | 2 +- .../pages/api/audio/transcriptions/openai-transcriptions.adoc | 2 +- .../antora/modules/ROOT/pages/api/image/azure-openai-image.adoc | 2 +- .../main/antora/modules/ROOT/pages/api/image/openai-image.adoc | 2 +- .../main/antora/modules/ROOT/pages/api/image/qianfan-image.adoc | 2 +- .../antora/modules/ROOT/pages/api/image/stabilityai-image.adoc | 2 +- .../main/antora/modules/ROOT/pages/api/image/zhipuai-image.adoc | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) 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 95035a68f..4f5a13a88 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 @@ -65,7 +65,7 @@ Usage from these API requests will count as usage for the specified organization [NOTE] ==== -Enabling and disabling of the embedding auto-configurations are now configured via top level properties with the prefix `spring.ai.model.embedding`. +Enabling and disabling of the audio speech auto-configurations are now configured via top level properties with the prefix `spring.ai.model.audio.speech`. To enable, spring.ai.model.audio.speech=openai (It is enabled by default) 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 351d2c68c..173104d4a 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 @@ -43,7 +43,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man [NOTE] ==== -Enabling and disabling of the embedding auto-configurations are now configured via top level properties with the prefix `spring.ai.model.embedding`. +Enabling and disabling of the audio transcription auto-configurations are now configured via top level properties with the prefix `spring.ai.model.audio.transcription`. To enable, spring.ai.model.audio.transcription=azure-openai (It is enabled by default) 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 4e471e12b..f993e499d 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 @@ -63,7 +63,7 @@ Usage from these API requests will count as usage for the specified organization [NOTE] ==== -Enabling and disabling of the embedding auto-configurations are now configured via top level properties with the prefix `spring.ai.model.embedding`. +Enabling and disabling of the audio transcription auto-configurations are now configured via top level properties with the prefix `spring.ai.model.audio.transcription`. To enable, spring.ai.model.audio.transcription=openai (It is enabled by default) 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 5180f7d76..2d16b3d93 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 @@ -84,7 +84,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man [NOTE] ==== -Enabling and disabling of the embedding auto-configurations are now configured via top level properties with the prefix `spring.ai.model.embedding`. +Enabling and disabling of the image auto-configurations are now configured via top level properties with the prefix `spring.ai.model.image`. To enable, spring.ai.model.image=azure-openai (It is enabled by default) 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 254d7d59a..e227e204e 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 @@ -85,7 +85,7 @@ The prefix `spring.ai.retry` is used as the property prefix that lets you config [NOTE] ==== -Enabling and disabling of the embedding auto-configurations are now configured via top level properties with the prefix `spring.ai.model.embedding`. +Enabling and disabling of the image auto-configurations are now configured via top level properties with the prefix `spring.ai.model.image`. To enable, spring.ai.model.image=openai (It is enabled by default) 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 f31185248..d1d43f81e 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 @@ -58,7 +58,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man [NOTE] ==== -Enabling and disabling of the embedding auto-configurations are now configured via top level properties with the prefix `spring.ai.model.embedding`. +Enabling and disabling of the image auto-configurations are now configured via top level properties with the prefix `spring.ai.model.image`. To enable, spring.ai.model.image=qianfan (It is enabled by default) 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 907c0282b..3ef193068 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 @@ -59,7 +59,7 @@ The prefix `spring.ai.stabilityai` is used as the property prefix that lets you [NOTE] ==== -Enabling and disabling of the embedding auto-configurations are now configured via top level properties with the prefix `spring.ai.model.embedding`. +Enabling and disabling of the image auto-configurations are now configured via top level properties with the prefix `spring.ai.model.image`. To enable, spring.ai.model.image=stabilityai (It is enabled by default) 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 3f554c8a3..7e1c7c25e 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 @@ -56,7 +56,7 @@ TIP: Refer to the xref:getting-started.adoc#dependency-management[Dependency Man [NOTE] ==== -Enabling and disabling of the embedding auto-configurations are now configured via top level properties with the prefix `spring.ai.model.embedding`. +Enabling and disabling of the image auto-configurations are now configured via top level properties with the prefix `spring.ai.model.image`. To enable, spring.ai.model.image=stabilityai (It is enabled by default)