Skip to content

Aakanksha-Desai/ChatGPT-Mobile-App---CS536-Project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS536 Project

A mobile application that integrates with the ChatGPT API to provide responses to user queries. This application incorporates speech recognition and text-to-speech technologies to enable users to engage with ChatGPT through voice commnads and receive spoken responses.

  • Target devices: iPhone / iPad / Mac with M1/M2 (Designed for iPad)
  • Target OS: iOS 16.0+, iPadOS 16.0+, macOS 13.0+
  • Build system: Xcode 15.0.1
  • SDK: SwiftUI, AVFoundation, Speech
  • Swift Packages: OpenAISwift (OpenAI API Client Library in Swift)

Note The code was initially developed by Yasuhito Nagatomo (https://github.com/ynagatomo/HeyChatGPT) and modified by us.

Features

  • Users can input questions by voice.
  • Users can get answers for the questions from ChatGPT, OpenAI's language AI.
  • Users can listen answers by voice.
  • Users can see their interaction history.

Team Member

Aakanksha Desai - [email protected]
Ellen Duan - [email protected]
Peter Xu - [email protected]

Build and Run the Project

Get the OpenAI API Key

The API Key for OpenAI API is required. You need to sign up to OpenAI site (https://openai.com/api/) and get the key at the account management page. (https://platform.openai.com/account/) Then add the key to the file App/APIKey.swift.

// APIKey.swift
enum OpenAIAPIKey {
    static let key = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}

About

iOS mobile application interface for ChatGPT API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%