3535class Audio (SyncAPIResource ):
3636 @cached_property
3737 def transcriptions (self ) -> Transcriptions :
38+ """Turn audio into text or text into audio."""
3839 return Transcriptions (self ._client )
3940
4041 @cached_property
4142 def translations (self ) -> Translations :
43+ """Turn audio into text or text into audio."""
4244 return Translations (self ._client )
4345
4446 @cached_property
4547 def speech (self ) -> Speech :
48+ """Turn audio into text or text into audio."""
4649 return Speech (self ._client )
4750
4851 @cached_property
@@ -68,14 +71,17 @@ def with_streaming_response(self) -> AudioWithStreamingResponse:
6871class AsyncAudio (AsyncAPIResource ):
6972 @cached_property
7073 def transcriptions (self ) -> AsyncTranscriptions :
74+ """Turn audio into text or text into audio."""
7175 return AsyncTranscriptions (self ._client )
7276
7377 @cached_property
7478 def translations (self ) -> AsyncTranslations :
79+ """Turn audio into text or text into audio."""
7580 return AsyncTranslations (self ._client )
7681
7782 @cached_property
7883 def speech (self ) -> AsyncSpeech :
84+ """Turn audio into text or text into audio."""
7985 return AsyncSpeech (self ._client )
8086
8187 @cached_property
@@ -104,14 +110,17 @@ def __init__(self, audio: Audio) -> None:
104110
105111 @cached_property
106112 def transcriptions (self ) -> TranscriptionsWithRawResponse :
113+ """Turn audio into text or text into audio."""
107114 return TranscriptionsWithRawResponse (self ._audio .transcriptions )
108115
109116 @cached_property
110117 def translations (self ) -> TranslationsWithRawResponse :
118+ """Turn audio into text or text into audio."""
111119 return TranslationsWithRawResponse (self ._audio .translations )
112120
113121 @cached_property
114122 def speech (self ) -> SpeechWithRawResponse :
123+ """Turn audio into text or text into audio."""
115124 return SpeechWithRawResponse (self ._audio .speech )
116125
117126
@@ -121,14 +130,17 @@ def __init__(self, audio: AsyncAudio) -> None:
121130
122131 @cached_property
123132 def transcriptions (self ) -> AsyncTranscriptionsWithRawResponse :
133+ """Turn audio into text or text into audio."""
124134 return AsyncTranscriptionsWithRawResponse (self ._audio .transcriptions )
125135
126136 @cached_property
127137 def translations (self ) -> AsyncTranslationsWithRawResponse :
138+ """Turn audio into text or text into audio."""
128139 return AsyncTranslationsWithRawResponse (self ._audio .translations )
129140
130141 @cached_property
131142 def speech (self ) -> AsyncSpeechWithRawResponse :
143+ """Turn audio into text or text into audio."""
132144 return AsyncSpeechWithRawResponse (self ._audio .speech )
133145
134146
@@ -138,14 +150,17 @@ def __init__(self, audio: Audio) -> None:
138150
139151 @cached_property
140152 def transcriptions (self ) -> TranscriptionsWithStreamingResponse :
153+ """Turn audio into text or text into audio."""
141154 return TranscriptionsWithStreamingResponse (self ._audio .transcriptions )
142155
143156 @cached_property
144157 def translations (self ) -> TranslationsWithStreamingResponse :
158+ """Turn audio into text or text into audio."""
145159 return TranslationsWithStreamingResponse (self ._audio .translations )
146160
147161 @cached_property
148162 def speech (self ) -> SpeechWithStreamingResponse :
163+ """Turn audio into text or text into audio."""
149164 return SpeechWithStreamingResponse (self ._audio .speech )
150165
151166
@@ -155,12 +170,15 @@ def __init__(self, audio: AsyncAudio) -> None:
155170
156171 @cached_property
157172 def transcriptions (self ) -> AsyncTranscriptionsWithStreamingResponse :
173+ """Turn audio into text or text into audio."""
158174 return AsyncTranscriptionsWithStreamingResponse (self ._audio .transcriptions )
159175
160176 @cached_property
161177 def translations (self ) -> AsyncTranslationsWithStreamingResponse :
178+ """Turn audio into text or text into audio."""
162179 return AsyncTranslationsWithStreamingResponse (self ._audio .translations )
163180
164181 @cached_property
165182 def speech (self ) -> AsyncSpeechWithStreamingResponse :
183+ """Turn audio into text or text into audio."""
166184 return AsyncSpeechWithStreamingResponse (self ._audio .speech )
0 commit comments