File tree Expand file tree Collapse file tree
src/main/resources/com/github/jlangch/venice Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 """
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))
You can’t perform that action at this time.
0 commit comments