Build SwiftUI App with ChatGPT (2023 Tutorial)

preview_player
Показать описание
In this video we will learn how to build a SwiftUI chat bot app using the GPT API in Xcode with Swift. You'll build an interactive UI to converse with an AI at the end of an API. We'll leverage a client library to connect to the API – making integration simple and quick.

** Popular Series

** Get Skillshare free for 2 Months and learn iOS

** Manage all your investments from app earnings on Betterment!

** Grow your own Youtube tech channel with TubeBuddy:

#chatgpt #Swift #iOSDeveloper
Рекомендации по теме
Комментарии
Автор

Thank you for this! Quick to the point, fast coding, and shows examples! Just what I was looking for. Preciate it.

Caden_Burleson
Автор

This is cool but I thought you were going to show us how you built a SwiftUI App using ChatGPT. Not making API calls to ChatGPT 🤣

software-sage
Автор

Incorrect argument label in call (have 'authToken:', expected 'config:')

If this error comes up

client = OpenAISwift(config: "*YOUR API KEY*"))

harikeeshan
Автор

This tutorial is so incredible. love that !

zaneo
Автор

Great tutorial - thanks. ChatGPT training was finished in 2021, that's why iPhone predictions mentioned 5G.

dominikjanczak
Автор

Quick question, how do packages work and how do you know they are secure? I know it may be a dumb question but I am curious to know.
Thanks for the content.

KnowFactum
Автор

THANK YOU! is there any way for me to customize it with my own data?

yarasultan
Автор

How do I secure my api key? I wouldn't want to put it in the code if I want to submit to the app store correct?

MoStudios-io
Автор

thank you for the video. I did exactly what you did and I got errors :

Cannot convert value of type 'String' to expected argument type 'OpenAISwift.Config'

Incorrect argument label in call (have 'authToken:', expected 'config:')
Replace 'authToken' with 'config'

Value of optional type '[TextResult]?' must be unwrapped to refer to member 'first' of wrapped base type '[TextResult]'

Chain the optional using '?' to access member 'first' only for non-'nil' base values

what to do?

טלרוזכרמי
Автор

Thanks! I was able to successfully reproduce this for watchOS!

The difficult part was switching to an older version of the OpenAISwift package.

bryceellis
Автор

why do i have error trying to add package? openaiswift could not be resolved it says

shhdevon
Автор

How can we reduce the temperature for the responses, seems it's not included in the OpenAISwift package?

bernardn.
Автор

Is there an easy way to modify this to use gtp-3.5-turbo?

darlene
Автор

Thanks for this tutorial, would like to see you do more AI based apps tutorials

btodywb
Автор

How did you train your model to actually get relevant results?

patrickm
Автор

Cannot convert value of type 'String' to expected argument type 'OpenAlSwift.Config' x
Incorrect argument label in call (have 'authToken:, expected 'config:')
Replace 'authToken' with 'config'

Error I am getting:
Inside my function with my API key.

TidalBeats
Автор

hi im still new to swift and tried to understand your code and did the same steps you did, but in my ChatAi2app window it is saying that xcode cannot find contentview in scope

milinagarwal
Автор

Is there something similar to chatgpt with a free API?

btodywb
Автор

Is this available for Xcode 11.7? I got the following error message trying to add the OpenAI Swift package.


"because every version of OpenAISwift contains incompatible tools version and root depends on OpenAISwift 1.3.0..<2.0.0, version solving failed."

jbaictocbh
Автор

Pretty sure this is interacting with GPT-3 and not with ChatGPT as the latter does not have an actual API released yet?

kuldarkalvik
welcome to shbcf.ru