a SwiftUI chat bot app using the GPT API in Xcode with Swift. I developed an iOS application that serves as an artificial intelligence assistant, capable of engaging in natural language conversations. To accomplish this, I followed instructional videos on YouTube.
Welcome to the SwiftUI Chat Bot App project. This iOS application serves as an artificial intelligence assistant, capable of engaging in natural language conversations. The development of this app was guided by instructional videos available on YouTube.
To use this application, you must follow these steps:
-
API Key Setup:
- Visit https://platform.openai.com/account/api-keys to create an API key for yourself.
- Copy the API key you've generated, as you'll need to add it to the project.
-
Project Setup:
- Clone or download this repository to your local machine.
- Open the project in Xcode.
-
Configure API Key:
- Open the
ContentView.swift
file. - Find the placeholder where the API key should be added.
- Replace
"YOUR_API_KEY_HERE"
with the API key you obtained in step 1.
- Open the
-
Build and Run:
- Build and run the application on your iOS device or simulator.
- Launch the app to initiate a conversation with the AI assistant.
- Enjoy natural language interactions and explore the capabilities of the chatbot.
- Xcode: You will need Xcode installed on your macOS system to open and run this project.
Contributions are welcome! Feel free to submit issues or pull requests to improve this project.
If you have any questions or need assistance, please contact Saruhan Sandokan Köle.
Special thanks to the creators of the instructional videos on YouTube that helped make this project possible.
Happy Chatting!