You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-ai-docs/src/main/antora/modules/ROOT/pages/api/audio/transcriptions/openai-transcriptions.adoc
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Exporting an environment variable is one way to set that configuration property:
13
13
14
14
== Auto-configuration
15
15
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.
17
17
To enable it add the following dependency to your project's Maven `pom.xml` file:
18
18
19
19
[source, xml]
@@ -55,7 +55,7 @@ Usage from these API requests will count as usage for the specified organization
55
55
56
56
==== Configuraiton Properties
57
57
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.
59
59
60
60
[cols="3,5,2"]
61
61
|====
@@ -77,9 +77,9 @@ NOTE: You can override the common `spring.ai.openai.base-url`, `spring.ai.openai
77
77
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.
78
78
This is useful if you want to use different OpenAI accounts for different models and different model endpoints.
79
79
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.
81
81
82
-
== Runtime Options [[image-options]]
82
+
== Runtime Options [[transcription-options]]
83
83
84
84
The `OpenAiAudioTranscriptionOptions` class provides the options to use when making a transcription.
85
85
On start-up, the options specified by `spring.ai.openai.audio.transcription` are used but you can override these at runtime.
* 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