Skip to content

OpenAI.AudioTranscription.Create

Andrew Lambert edited this page Mar 6, 2023 · 2 revisions

Method signatures

 Shared Function Create(Request As OpenAI.Request) As OpenAI.AudioTranscription
 Shared Function Create(AudioFile As FolderItem, Language As String = "", Prompt As String = "", FileMIMEType As String = "") As OpenAI.AudioTranscription

Parameters

Create(OpenAI.Request)

Name Type Comment
Request Request An OpenAI request object.

Create(FolderItem, String, String, String)

Name Type Comment
AudioFile FolderItem The media file to transcribe.
Language String Optional. The language of the AudioFile.
Prompt String Optional. A prompt to hint the AI about how to interpret the AudioFile.
FileMIMEType String Optional. Specifies the MIMEtype of the AudioFile.

Return value

Returns a new instance of OpenAI.AudioTranscription containing the response to the request.

See also

Clone this wiki locally