- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 7
OpenAI.AudioTranslation.CreateRaw
Andrew Lambert edited this page Jul 7, 2023
·
2 revisions
OpenAI.AudioTranslation.CreateRaw
Shared Function CreateRaw(Request As OpenAI.Request) As String
Shared Function CreateRaw(AudioFile As FolderItem, ResponseFormat 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 translate into English. |
ResponseFormat | String | The output format of the translation. One of: "json" , "text" , "srt" , "verbose_json" , or "vtt" . |
Prompt | String | Optional. A prompt to hint the AI about how to interpret the AudioFile . |
FileMIMEType | String | Optional. Specifies the MIMEtype of the AudioFile . |
Returns the raw response as a String. The format 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.