Skip to content

OpenAI.AudioTranscription.CreateRaw

Andrew Lambert edited this page Jul 7, 2023 · 4 revisions

Method signatures

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

Parameters

CreateRaw(OpenAI.Request)

Name Type Comment
Request Request An OpenAI request object.

CreateRaw(FolderItem, String, String, String, String)

Name Type Comment
AudioFile FolderItem The media file to transcribe.
ResponseFormat String The output format of the transcript. One of: "json", "text", "srt", "verbose_json", or "vtt".
Language String Optional. The language of the AudioFile. Ideally, but not necessarily, its ISO 639-1 language code.
Prompt String Optional. A hint the AI about how to interpret the AudioFile.
FileMIMEType String Optional. Specifies the MIMEtype of the AudioFile.

Return value

Returns a string of the raw response. The type of response depends on the ResponseFormat specified by the request.

See also

Clone this wiki locally