/Chatbot_Swift

Primary LanguageSwiftGNU General Public License v3.0GPL-3.0

SwiftUI - ChatGPT and DALL·E 2 iOS

mbabicz
stars forks iOS Swift Swift

ABOUT THE PROJECT

SwiftUI MVVM application that contains OpenAI GPT-3.5 chat bot and OpenAI DALL·E 2 system. OpenAI client providing GPT-3.5 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
    here:
apiKey = "API_KEY"

OPENAI CHATBOT

OPENAI DALL·E 2

BUILT WITH


Swift