Skip to content

Commit 72369d5

Browse files
authored
Fix typos in openai-transcriptions.adoc (#1217)
1 parent 2d6117b commit 72369d5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Exporting an environment variable is one way to set that configuration property:
1313

1414
== Auto-configuration
1515

16-
Spring AI provides Spring Boot auto-configuration for the OpenAI Image Generation Client.
16+
Spring AI provides Spring Boot auto-configuration for the OpenAI Transcription Client.
1717
To enable it add the following dependency to your project's Maven `pom.xml` file:
1818

1919
[source, xml]
@@ -55,7 +55,7 @@ Usage from these API requests will count as usage for the specified organization
5555

5656
==== Configuraiton Properties
5757

58-
The prefix `spring.ai.openai.audio.transcription` is used as the property prefix that lets you configure the retry mechanism for the OpenAI image model.
58+
The prefix `spring.ai.openai.audio.transcription` is used as the property prefix that lets you configure the retry mechanism for the OpenAI transcription model.
5959

6060
[cols="3,5,2"]
6161
|====
@@ -77,9 +77,9 @@ NOTE: You can override the common `spring.ai.openai.base-url`, `spring.ai.openai
7777
The `spring.ai.openai.audio.transcription.base-url`, `spring.ai.openai.audio.transcription.api-key`, `spring.ai.openai.audio.transcription.organization-id` and `spring.ai.openai.audio.transcription.project-id` properties if set take precedence over the common properties.
7878
This is useful if you want to use different OpenAI accounts for different models and different model endpoints.
7979

80-
TIP: All properties prefixed with `spring.ai.openai.image.options` can be overridden at runtime.
80+
TIP: All properties prefixed with `spring.ai.openai.transcription.options` can be overridden at runtime.
8181

82-
== Runtime Options [[image-options]]
82+
== Runtime Options [[transcription-options]]
8383

8484
The `OpenAiAudioTranscriptionOptions` class provides the options to use when making a transcription.
8585
On start-up, the options specified by `spring.ai.openai.audio.transcription` are used but you can override these at runtime.
@@ -143,4 +143,4 @@ AudioTranscriptionResponse response = openAiTranscriptionModel.call(transcriptio
143143
----
144144

145145
== Example Code
146-
* The link:https://github.com/spring-projects/spring-ai/blob/main/models/spring-ai-openai/src/test/java/org/springframework/ai/openai/audio/transcription/OpenAiTranscriptionModelIT.java[OpenAiTranscriptionModelIT.java] test provides some general examples how to use the library.
146+
* The link:https://github.com/spring-projects/spring-ai/blob/main/models/spring-ai-openai/src/test/java/org/springframework/ai/openai/audio/transcription/OpenAiTranscriptionModelIT.java[OpenAiTranscriptionModelIT.java] test provides some general examples how to use the library.

0 commit comments

Comments
 (0)