This repository contains an AI Voice Assistant app built using SwiftUI and integrated with OpenAI APIs, including GPT4 Chat Completion, Whisper, and Text-to-Speech (TTS) functionalities.
- Utilizes advanced AI models such as GPT4, GPT4V, GPT4-turbo, and GPT3.5-Turbo for intelligent conversational interactions.
- Allows users to select from various voice types for Text-to-Speech (TTS) output.
- Supports multiple platforms including iOS, macOS, and visionOS.
To run the app, you'll need the following:
- Xcode 15 or later
- iOS 17 or later
- macOS 14 or later
- visionOS 1.0 or later
- OpenAI API Key for accessing GPT4, Whisper, and TTS functionalities
- Clone this repository to your local machine.
- Open the project in Xcode.
- Open the
Constants.swift
file located in theShared
folder. - Replace
OPENAI_API_KEY
in the Constants struct with your actual OpenAI API Key.struct Constants { static let apiKey = "OPENAI_API_KEY" }
- Build and run the project on your desired platform (iOS, macOS, or visionOS).
- Launch the app on your preferred platform.
- Use the AI Voice Assistant to engage in natural language conversations, receive whisper responses, and listen to Text-to-Speech outputs in various voice styles.
Special thanks to Alfian Losari for inspiration.
This project is licensed under the MIT License.