Swiftpack.co - AppcentMobile/ACMOpenAI-iOS as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by AppcentMobile.
AppcentMobile/ACMOpenAI-iOS 1.0.8
Open AI Library helps developer interacts with API easily
⭐️ 5
🕓 1 week ago
iOS
.package(url: "https://github.com/AppcentMobile/ACMOpenAI-iOS.git", from: "1.0.8")

ACMOpenAI

ACMOpenAI is an unofficial 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)
organization (String|Optional)
  • Make request!
ACMOpenAI().manager(item: ACMOAIModelsManager.self)
.list { (response: ACMOAIModelsResponse.List) in
    print(response)
} onError: { error in
    print(error)
}

Documentation

view - Documentation

License

GitHub

link
Stars: 5
Last commit: 1 week ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

1.0.8
1 week ago

What's Changed

Full Changelog: https://github.com/AppcentMobile/ACMOpenAI-iOS/compare/1.0.7...1.0.8

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics