This repository hosts the source code for Argmax Playground for iOS and macOS.
It is open-sourced to demonstrate best practices when building with Argmax Pro SDK Swift through an end-to-end example app. Specifically, this app demonstrates Real-time Transcription with Speakers and Custom Vocabulary.
This project requires a secret token and an API key from that you may generate from your Argmax Dashboard.
Please see Installation for details
Then, update DefaultEnvInitializer.swift with your Argmax API key
class DefaultEnvInitializer: PlaygroundEnvInitializer {
public func createAPIKeyProvider() -> APIKeyProvider {
return PlainTextAPIKeyProvider(
apiKey: "", // TODO: Add your Argmax SDK API key
)
}
}Do not commit your API key..
In Xcode, select your app target and go to Signing & Capabilities. Choose your Development Team from the dropdown to enable code signing.