GithubHelp home page GithubHelp logo

holmesshuan / swiftui-ai-voice-assistant Goto Github PK

View Code? Open in Web Editor NEW

This project forked from roynkem/swiftui-ai-voice-assistant

0.0 0.0 0.0 1.04 MB

A multi-platform app for voice-based interactions built using SwiftUI with advanced AI capabilities.

License: MIT License

Swift 100.00%

swiftui-ai-voice-assistant's Introduction

SwiftUI AI Voice Assistant

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.

Features

  • 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.

Requirements

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

Installation

  1. Clone this repository to your local machine.
  2. Open the project in Xcode.
  3. Open the Constants.swift file located in the Shared folder.
  4. Replace OPENAI_API_KEY in the Constants struct with your actual OpenAI API Key.
    struct Constants {
        static let apiKey = "OPENAI_API_KEY"
    }
  5. Build and run the project on your desired platform (iOS, macOS, or visionOS).

Usage

  • 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.

Acknowledgements

Special thanks to Alfian Losari for inspiration.

License

This project is licensed under the MIT License.

swiftui-ai-voice-assistant's People

Contributors

roynkem avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.