Skip to content

mbabicz/SwiftGPT

Repository files navigation

SwiftUI - ChatGPT and DALL·E 2 app

mbabicz
stars forks iOS Swift Swift

ABOUT THE PROJECT

SwiftUI MVVM application that contains OpenAI GPT-3 chat bot and OpenAI DALL·E 2 system. OpenAI client providing GPT3 is implemented with this library. The DALL·E client is provided by OpenAIKit. To use OpenAI you will need to obtain your API from the OpenAI website.

INSTALLATION

  • Install all required packages (OpenAIKit, ChatGPTSwift)
  • Enter your api key in these files:
    OpenAI chat-dalle/ViewModels/DalleViewModel.swift
    OpenAI chat-dalle/ViewModels/GPT3ViewModel.swift
    in this line:
apiKey = "API_KEY"

OPENAI CHATBOT

OPENAI DALL·E 2

BUILT WITH


Swift
Firebase

Releases

No releases published

Packages

No packages published

Languages