This repository hosts the source code for Argmax Playground. It is open-sourced to demonstrate best practices when using the Argmax SDK through an end-to-end example app. Specifically, this app demonstrates Real-time Transcription, File Transcription and Diarized Transcription.
git clone https://github.com/argmaxinc/argmax-sdk-swift-playground.git
cd argmax-sdk-swift-playground
open Playground.xcodeproj
Before running the app, you must complete these setup steps:
In Xcode, select your app target and go to Signing & Capabilities. Choose your Development Team from the dropdown to enable code signing.
In order to unlock the SDK, you will need to provide your API key. You can create one at https://app.argmaxinc.com.
In DefaultEnvInitializer.swift
, update the following code with your credentials:
public class DefaultEnvInitializer: PlaygroundEnvInitializer {
public func createAPIKeyProvider() -> APIKeyProvider {
return PlainTextAPIKeyProvider(
apiKey: "", // TODO: Add your Argmax SDK API key
)
}
}
Do not commit your API key..