-
-
Notifications
You must be signed in to change notification settings - Fork 9
OpenAI.AudioTranscription.CreateRaw
Andrew Lambert edited this page Jul 7, 2023
·
4 revisions
OpenAI.AudioTranscription.CreateRaw
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| Name | Type | Comment |
|---|---|---|
| Request | Request | An OpenAI request object. |
| 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. |
Returns a string of the raw response. The type of response depends on the ResponseFormat specified by the request.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2023-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.