ACMOpenAI

ACMOpenAI is a library that help developers to use Open AI API easily.

GitHub tag License issues - ACMOpenAI-iOS

Install

Via Cocoapods

pod 'ACMOpenAI'

Via SPM, add new package, search url below

https://github.com/AppcentMobile/ACMOpenAI-iOS

Basic Usage

  • Create plist file called ACMConfig
  • Add these keys

    baseURL (String)(without http(s))
    isLogEnabled (Bool)
    timeout (Number)
    apiKey (String)
    
  • Make request!

    ACMOpenAI().manager(item: ACMOAIModelsManager.self)
    .list { (response: ACMOAIModelsResponse.List) in
    print(response)
    } onError: { error in
    print(error)
    }
    

Documentation

view - Documentation

License