Skip to content

Commit 4d79ff5

Browse files
authored
openai-moderation.doc fix typo (#3162)
Signed-off-by: Ricken Bazolo <ricken.bazolo@gmail.com>
1 parent 1ede664 commit 4d79ff5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/moderation/openai-moderation.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ There has been a significant change in the Spring AI auto-configuration, starter
1919
Please refer to the https://docs.spring.io/spring-ai/reference/upgrade-notes.html[upgrade notes] for more information.
2020
====
2121

22-
Spring AI provides Spring Boot auto-configuration for the OpenAI Text-to-Speech Client.
22+
Spring AI provides Spring Boot auto-configuration for the OpenAI Moderation Model.
2323
To enable it add the following dependency to your project's Maven `pom.xml` file:
2424

2525
[source,xml]
@@ -61,7 +61,7 @@ Usage from these API requests will count as usage for the specified organization
6161

6262
[NOTE]
6363
====
64-
Enabling and disabling of the embedding auto-configurations are now configured via top level properties with the prefix `spring.ai.model.embedding`.
64+
Enabling and disabling of the embedding auto-configurations are now configured via top level properties with the prefix `spring.ai.model.moderation`.
6565
6666
To enable, spring.ai.model.moderation=openai (It is enabled by default)
6767
@@ -188,4 +188,4 @@ ModerationResponse response = this.openAiModerationModel.call(this.moderationPro
188188
----
189189

190190
== Example Code
191-
The `OpenAiModerationModelIT` test provides some general examples of how to use the library. You can refer to this test for more detailed usage examples.
191+
The `OpenAiModerationModelIT` test provides some general examples of how to use the library. You can refer to this test for more detailed usage examples.

0 commit comments

Comments
 (0)