You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ChatGPTAPIManager.shared.audioTranscriptionRequest(fileUrl: url, prompt:"Translate this audio", language:"en", model:.whisper1, endPoint:.transcriptions, completion:{ result in
ChatGPTAPIManager.shared.audioTranscriptionRequest(fileUrl: url, prompt:"Translate this audio", language:"en", model:.whisper1, endPoint:.transcriptions, completion:{ result in
/// Requests audio translation based on the provided parameters.
@@ -203,7 +205,7 @@ final public class ChatGPTAPIManager {
203
205
/// - model: The ChatGPT model to use for translation.
204
206
/// - endPoint: The endpoint URL for the API request.
205
207
/// - completion: The completion block called with the result of the request. The block receives a Result object containing either the translated text as a String in case of success, or an Error in case of failure.
0 commit comments