OpenAI sample apps that have AIProxy already included (requires an AIProxy key to build and run). Each app uses the SwiftOpenAI community package to implement API calls.
- Watch the AIProxy integration video
- Replace the constants in
AppConstants.swift
files with the snippet you receive from the AIProxy dashboard in step 1 - Change the bundler identifier of the sample app to match the App ID you created in step 1
- Chat - A basic chat application and interface. Includes streaming responses and ability to stop stream.
- Image Classifier - An image classification app that identifies plants and provides a link to Wikipedia.
- Transriber - An app that transcribes audio recorded using the device microphone.
- Translator - A simple English to Spanish translation app with text to speech.
- Trivia Game - A trivia game that uses GPT to generate multiple choice questions from a JSON response.
- Stickers - An app that turns a prompt into a kawaii style sticker and extracts the foreground/background using Vision.