ACMOAIFineTunesManager
public final class ACMOAIFineTunesManager : BaseAPIManager
Fine tunes manager for calling fine tune endpoints of Open AI
-
Creates fine tune based on giving parameters and returns closure
Declaration
Swift
func create(request: ACMOAIFineTunesRequest.Create, onSuccess: FineTunesCallback.Create, onError: ACMGenericCallbacks.ErrorCallback)
Parameters
request
ACMOAIFineTunesRequest.Create
Model of possible requests -
List fine tunes based on giving parameters and returns closure
Declaration
Swift
func list(onSuccess: FineTunesCallback.List, onError: ACMGenericCallbacks.ErrorCallback)
-
Retrieves fine tune based on giving parameters and returns closure
Declaration
Swift
func retrieve(request: ACMOAIFineTunesRequest.Retrieve, onSuccess: FineTunesCallback.Retrieve, onError: ACMGenericCallbacks.ErrorCallback)
Parameters
request
ACMOAIFineTunesRequest.Retrieve
Model of possible requests -
Cancels fine tune based on giving parameters and returns closure
Declaration
Swift
func cancel(request: ACMOAIFineTunesRequest.Cancel, onSuccess: FineTunesCallback.Cancel, onError: ACMGenericCallbacks.ErrorCallback)
Parameters
request
ACMOAIFineTunesRequest.Cancel
Model of possible requests -
Lists fine tune events based on giving parameters and returns closure
Declaration
Swift
func listEvents(request: ACMOAIFineTunesRequest.ListEvents, onSuccess: FineTunesCallback.ListEvents, onError: ACMGenericCallbacks.ErrorCallback)
Parameters
request
ACMOAIFineTunesRequest.ListEvents
Model of possible requests -
Deletes fine tune based on giving parameters and returns closure
Declaration
Swift
func delete(request: ACMOAIFineTunesRequest.Delete, onSuccess: FineTunesCallback.Delete, onError: ACMGenericCallbacks.ErrorCallback)
Parameters
request
ACMOAIFineTunesRequest.Delete
Model of possible requests