Skip to content

Commit f26e09b

Browse files
committed
fixed doc typos
1 parent 9d9926b commit f26e09b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/main/resources/com/github/jlangch/venice/openai-java.venice

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1525,7 +1525,7 @@
15251525
probability to automatically increase the temperature \
15261526
until certain thresholds are hit.|
15271527

1528-
Returns an `:InputStream` with the created audio
1528+
Returns the audio transcription response.
15291529
"""
15301530
:examples '(
15311531
"""
@@ -1586,14 +1586,15 @@
15861586
^{ :arglists '(
15871587
"(transcription-text response)" )
15881588
:doc """
1589-
Returns the transcription text of transcription response.
1589+
Returns the transcription text of a transcription response.
15901590
"""
15911591
:see-also '(
15921592
"openai-java/transcribe") }
15931593

15941594
transcription-text [response]
15951595

15961596
{ :pre [(instance-of? :TranscriptionCreateResponse response) ] }
1597+
15971598
(if-let [transcription (java-unwrap-optional (. response :transcription))]
15981599
(. transcription :text)
15991600
nil))

0 commit comments

Comments
 (0)