Skip to content

mbabicz/SwiftGPT

Repository files navigation

SwiftUI - ChatGPT and DALL·E 2 app

SwiftUI app integrates with OpenAI's API and features a chat with GPT-3.5 Turbo and DALL-E

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 need to get your api here.

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