Create a Python GPT Chatbot - In Under 4 Minutes

  Рет қаралды 351,640

Tech With Tim

Tech With Tim

Күн бұрын

Пікірлер: 323
@TechWithTim
@TechWithTim Жыл бұрын
To learn programming and Python - check out Datacamp! 💻 Learn Python - datacamp.pxf.io/oqm3ao 💻 Learn Programming - datacamp.pxf.io/Jze0Y2
@HunaBopa
@HunaBopa Жыл бұрын
I didn't even imagine building a Chatbot, however simple it is, is so easy. Thanks Tim for opening up my mind.
@Thriftxxxx
@Thriftxxxx Жыл бұрын
This isnt building one this is important one
@amanshaw7121
@amanshaw7121 6 ай бұрын
You are just importing a chatbot using API. You are not building it practically.
@mauricioposadapalma3526
@mauricioposadapalma3526 3 ай бұрын
you're not building one , take an API as a bridge , so you're just connecting to the backend of OpenAI using the gpt 3.5 model
@marcobakkara
@marcobakkara Ай бұрын
@@amanshaw7121 while making API you can add much more so that your chatbot is smarter than ChatGPT gives you
@JanKowalski-dm5vr
@JanKowalski-dm5vr Жыл бұрын
So it's not a conversation, every time it's just a prompt and a response, because the chat doesn't remember previous posts. So I added a few lines of code to upgrade this: " import openai openai.api_key = "paste your key" def chat_with_gpt(chat_log): response = openai.ChatCompletion.create(model='gpt-3.5-turbo', messages=chat_log ) return response.choices[0].message.content.strip() chat_log = [] # Remembering more posts is more expensive n_remembered_post = 2 if __name__ == "__main__": while True: user_input = input("You: ") if user_input.lower() in ['quit', "exit", "bye"]: break chat_log.append({'role': 'user', 'content': user_input}) if len(chat_log) > n_remembered_post: del chat_log[:len(chat_log)-n_remembered_post] response = chat_with_gpt(chat_log) print("Chatbot:", response) chat_log.append({'role': "assistant", 'content': response}) "
@Chieftiger-n9h
@Chieftiger-n9h 9 күн бұрын
Its saying name is not defined what do I do to fix that?
@fishmaster-fq5fg
@fishmaster-fq5fg 7 күн бұрын
@@Chieftiger-n9h make sure its __name__
@fishmaster-fq5fg
@fishmaster-fq5fg 7 күн бұрын
@@Chieftiger-n9h with two underscores before and after name
@GeobotPY
@GeobotPY Жыл бұрын
Love this! Would love to see more in-depth vids about function calling, deployment and chatbot use-cases for businesses. Keep it up!
@ChannelMantle
@ChannelMantle Жыл бұрын
As beginner who has been struggling with different methods of having a user exit a program or loop, and having used various ways of doing so, I really loved the idea of defining options in a list like that. It might be super obvious now that I have seen it, but what a great little snippet of code - I am definitly bringing it with me going forwards.
@giorgioripani8469
@giorgioripani8469 5 күн бұрын
try: ..do stuff except KeyboardInterrupt: exit(1) Simple as that
@AIDummy101
@AIDummy101 Жыл бұрын
Thanks for breaking it down in under 4 minutes. This tutorial is incredibly helpful!
@christianbjerregaard2549
@christianbjerregaard2549 Жыл бұрын
But this requires a paid plan. Probably worth mentioning.
@TechWithTim
@TechWithTim Жыл бұрын
Yes, but it costs fractions of a cent!
@maxfarouk3407
@maxfarouk3407 Жыл бұрын
​@TechWithTim still worth mentioning. Especially with your last video on openai. Not everyone has that immediate opptunity. It's not fair for your audience to follow your tutorials only to be met with a pay wall because they weren't informed. Sure its cheap, but it only takes two seconds of your time to save others a lot of time.
@TechWithTim
@TechWithTim Жыл бұрын
You're right, an oversight by me, I appreciate the feedback and will be more careful in future videos! @@maxfarouk3407
@collinsmwaura3056
@collinsmwaura3056 Жыл бұрын
This is usually a nightmare for devs in 3rd world countries
@maxfarouk3407
@maxfarouk3407 Жыл бұрын
@@TechWithTim Sweet man, Its not a huge deal.
@Hggdrhjfddg
@Hggdrhjfddg Жыл бұрын
This was awesome I would love to see some content about deploying the ai's on different platforms
@HamedEmine
@HamedEmine Жыл бұрын
Thanks Tim for making everything easier for us
@msvcpdll3735
@msvcpdll3735 Жыл бұрын
for Canada as well
@Yogesh-zt7bm
@Yogesh-zt7bm 8 ай бұрын
@@msvcpdll3735 😂
@allfires4957
@allfires4957 Жыл бұрын
Yooo dude this is sick 🎉
@AndreiDante
@AndreiDante Жыл бұрын
I've searched for stuff like this when I've discovered chatGPT and thinking that I can improve my virtual assistant. Now I can give my virtual assistant some new neurons to provide some information directly. Thanks a lot!!
@ritam4382
@ritam4382 4 ай бұрын
Can I see your code in github? Or u can just say what functionalities u have added. Actually I have my own but it only uses if else statements with pyttsx3. I want to add much more features and make it a good project. So wanted to have some insight.
@krzysztofmydowski
@krzysztofmydowski Жыл бұрын
Hello, I have a problem because I have the key but it shows me that I have exceeded my current amount of available resources on OpenAI and I haven't even used it. Is it possible to have this without providing a credit card?
@lifeofriko
@lifeofriko 7 ай бұрын
you cant
@giorgioripani8469
@giorgioripani8469 5 күн бұрын
Nope.
@strudelman1288
@strudelman1288 Жыл бұрын
Thank you very much for this video. It will make my work much easier. I am making a script that will take your voice, convert it to text, run it through ChatGPT, and then throw it into Text To Speech.
@STEFFMUSICOFFICIAL
@STEFFMUSICOFFICIAL 2 ай бұрын
any update on this? i'm actually looking to do something like this. I'd be curious to hear how you've managed to accomplish this.
@strudelman1288
@strudelman1288 2 ай бұрын
@STEFFMUSICOFFICIAL Uh, that was a whole ago, and the project kinda goofed up since I realized I have no knowledge in Python, until me and a friend got some motivation and used Llama api to create an AI discord bot. I honestly would recommend Llama if you don't mind rate limits, since it's absolutely free.
@GamerShuaib991
@GamerShuaib991 Ай бұрын
​@@STEFFMUSICOFFICIALSame
@김민지-z9p-t6n
@김민지-z9p-t6n 11 ай бұрын
It helps me a lot! Thank you.
@alexcroome2955
@alexcroome2955 Жыл бұрын
I was considering designing a skill system using chat gpt to create random skills based on character actions. You could have chat gpt respond with .json style skills, titles, etc based on player actions and achievements.
@TechWithTim
@TechWithTim Жыл бұрын
Check out my recent choose your own adventure game using ai, it does a similar thing!
@alejandroreyna5952
@alejandroreyna5952 10 ай бұрын
Wow .. Excelent !!! . Thank you very much
@sojeyusuf149
@sojeyusuf149 Жыл бұрын
This is brilliant, good work...
@defriheri4608
@defriheri4608 3 ай бұрын
kau sungguh hebat tim......good job
@monusacademyforgrade8702
@monusacademyforgrade8702 5 ай бұрын
Its not working
@footie4k
@footie4k 11 ай бұрын
This is great... Thanks man
@artistpw
@artistpw 8 ай бұрын
You make great content, thanks!
@fortnitegaminggrandma
@fortnitegaminggrandma Жыл бұрын
You gotta love it when only outdated youtube tutorials are your only source of doing something and the creator never says it outdated
@TechWithTim
@TechWithTim Жыл бұрын
Well at the time of filming it wasn’t outdated?
@fortnitegaminggrandma
@fortnitegaminggrandma Жыл бұрын
@@TechWithTim just make a pinned comment and I’ll delete the comment, I didn’t expect you to see this lol it’s just that I’ve been going at this for the past 4 hours and gave up just 10 minutes ago
@JohnDwightLPaye
@JohnDwightLPaye 8 ай бұрын
@@TechWithTim this is pure bait. you never told us anything about the RateLimitError.
@proflead
@proflead 7 ай бұрын
Oh! So fast! :) Thanks for sharing!
@roadto8band246
@roadto8band246 Жыл бұрын
Can't wait to see more tutorials about AI!!!🎉🎉
@robertl.andersonii5926
@robertl.andersonii5926 7 күн бұрын
Thanks for this tutorial. I hit some snags, but a little Googling helped me get past them. Either way, this was a great way to learn the integration between Python and the CGPT API. So thanks!
@abdullahmahir8478
@abdullahmahir8478 3 ай бұрын
you are freakin awesome bruhh, thank u so much mate 🔥
@NateYaquinto
@NateYaquinto Жыл бұрын
Really appreciate this video! The only problem I ran into is that the chatbot doesn't remember the context of the conversation. Its like creating a new chat every time you input something
@bdcash
@bdcash Жыл бұрын
You need to build up a list of responses in each direction and feed that to the openai api at each interation. But that would take more than five minutes....
@mr.tycoon7246
@mr.tycoon7246 3 ай бұрын
Oh I have made my own chat both, I suggest doing some filtering(watch it on youtube) and divide the task into steps like Understand_userinput(user_input), Understanding = Understand_userinput(*User input from string*), Divide_into_steps(Understanding), Complete_tasks(You get it by now). For AI to remember get some SQL code from Github or KZbin and add a function like Send_to_database to feed into it. Then at each function feed it the database array. Or you can go complex and use a vector database.
@lokeshG-uj6zz
@lokeshG-uj6zz 3 ай бұрын
Tim upload more videos like this,really it is very easy to create a chatbot
@godwin1049
@godwin1049 Жыл бұрын
Much love Tim My chatbot throws an error stating there is no attribute called 'ChatCompletion'
@amroosman4799
@amroosman4799 Жыл бұрын
mine too. did u find a solution?
@delsune
@delsune Жыл бұрын
Hey Tim, I wanted to make a version of this where the response would be read out bye a custom tts voice using pytts. What websites do you recommend using for creating this custom tts voice (based on manual training)?
@SaEeDsImP
@SaEeDsImP Жыл бұрын
عالي و آموزنده
@oliversimmons988
@oliversimmons988 8 ай бұрын
good video: super new to this, how did he do def in italics?
@trillius
@trillius Жыл бұрын
Thanks!
@عبدالغني-ب9ص
@عبدالغني-ب9ص Жыл бұрын
God bless you and your family Tim, you are a hero.
@TEDMinis
@TEDMinis Жыл бұрын
I understand that there is a payment to be done in order to get the API key. Since my account was created maybe a year ago, my 3 months free ran out. So would I have to buy the $20 a month purchase, or is there another way to just buy the API keys itself so it works?
@mrghost2130
@mrghost2130 5 ай бұрын
Hi Tim, this tutorial has been really helpful and I wanted to make this myself too, can you give me the name of the software you are working on? Thank you.
@JustWierd-YT
@JustWierd-YT 8 ай бұрын
Can you please tell the openai version as it doesn't seem to be working for me on the latest version
@YouKnowWhoIAm118
@YouKnowWhoIAm118 6 ай бұрын
Did you find an updated code that works with the current version?
@zephyr4482
@zephyr4482 Ай бұрын
@@YouKnowWhoIAm118 up, we have to use the old version ? openai==0.28 ?
@ArthasDKR
@ArthasDKR Жыл бұрын
My openai account is more than 3 months old so when I create a new API key, it doesn't working saying quota exceeded :( I dont wanna create a new account ;-;
@theanonymous92
@theanonymous92 4 ай бұрын
Thank you so much
@kaitygames
@kaitygames 7 ай бұрын
Thank you. That was awesome. Can you help us with a video about training the AI for specific tasks?
@danibaiju
@danibaiju Жыл бұрын
AttributeError: module 'openai' has no attribute 'ChatCompletion'
@boxofcrayons420
@boxofcrayons420 7 ай бұрын
The error should link the documentation telling you to change 'ChatCompletion' to 'chat.completions'
@michelangelomatteoda
@michelangelomatteoda 8 ай бұрын
Is the first software you use your terminal or another IDE? Thanks for clarifying
@souviksarkar6891
@souviksarkar6891 7 ай бұрын
another one, imo PyCharm
@armandoruggeri7798
@armandoruggeri7798 Жыл бұрын
Why I get an exceeded quota limit if I have got just errors? Moreover it seemd ChatCompletion doesn't exist and I should turn back to openai version o.28. How I sort it?
@BurgerSoda
@BurgerSoda 8 ай бұрын
i have the same problem with the quota limit, did you fix it yet?
@cosmos3797
@cosmos3797 11 ай бұрын
Now there's an update, it's not working anymore 😢. Can you please make a video based & working it work with the updates.
@connerrecoskie
@connerrecoskie 10 ай бұрын
Did you figure it out?
@Zeus56552
@Zeus56552 9 ай бұрын
@@connerrecoskie Facing the same issue. Did you figure it out ?
@connerrecoskie
@connerrecoskie 9 ай бұрын
@@Zeus56552Yes
@TheChannelOfDR
@TheChannelOfDR 9 ай бұрын
@@Zeus56552 Same here
@JustWierd-YT
@JustWierd-YT 8 ай бұрын
same problem here too
@massimilianoasara
@massimilianoasara 7 ай бұрын
Very well done. Is there any way to implement this with one of the customized "myGPT's"?
@GBroSM
@GBroSM 11 ай бұрын
amazing video Tim, you always create the best and most useful python content online! Thank you so much! can you please make the same video but based on 2024. because now its not free, and you could be the first one to show us how to make this tech in 2024!!
@mrpenk9720
@mrpenk9720 Жыл бұрын
hey Tim, knowing what you know about advancements in AI, would you still learn how to code if you wouldn't remember anything tomorrow, and had to start completely from the beginning again? i just need a yes or a no , I'd be so happy for your answer. thank you !
@amitpatel9670
@amitpatel9670 Жыл бұрын
Could you please make a video on using llama2 as well?
@arthureffrontmusic
@arthureffrontmusic 8 ай бұрын
Is there a way to give the api some rules so that the ai responds as if it were a predefined character ? Like a person with a specific name, age etc
@Athielmon
@Athielmon 9 ай бұрын
Very good tutorial. I been trying to make it work with different versions of code but everytime I get the same error: " You exceeded your current quota, please check your plan and billing details" I have tried several models and keep getting the same error
@boxofcrayons420
@boxofcrayons420 7 ай бұрын
It's not a free service. It's about $0.0015 per word I think.
@animateforfun4799
@animateforfun4799 5 ай бұрын
same
@sv2109
@sv2109 Жыл бұрын
Correct me if I'm wrong, but this code probably doesn't use history, so every new request is a new request for GPT and GPT doesn't remember what you asked before. You need to save all history and send it with every request. Isn't it? I didn't use this library with python, I worked with GPT in PHP.
@GreenAnonText
@GreenAnonText Жыл бұрын
Hello, I'm facing an issue where I can't import the OpenAI library. I have Python installed correctly and it's up-to-date. I also have the API key, but I'm unable to install the OpenAI library. Does anyone have a solution?
@patriciapurtill502
@patriciapurtill502 9 күн бұрын
are you getting an error that says you need to migrate openai? If so, it can't be migrated directly in windows. You have to open a Linux terminal and do it from there.
@kirpalshergill
@kirpalshergill Жыл бұрын
i wrote the same code but it keeps showing me the error
@Player_606
@Player_606 9 ай бұрын
How do you got that python? My python is different and i cant do that.
@mahrukhhafeez7398
@mahrukhhafeez7398 10 ай бұрын
It is very simple to make it indeed. But it is not working for me. It is only giving me option to write by myself. "You : " is showing only and no response is generated by the chatbot.
@Spedclover
@Spedclover Жыл бұрын
Can u explain please how to do the same thing but with the Google Bard
@superpayaseria
@superpayaseria 9 ай бұрын
As of April 12th - 2024' it say's these packages are no longer available.
@HeetDHAMELIYA-ds1hq
@HeetDHAMELIYA-ds1hq 10 ай бұрын
i'm Still faeing openai=0.28 type error please help
@brk.aep7
@brk.aep7 9 ай бұрын
instead of response = openai.ChatCompletion.create use response = openai.completions.create OpenAi removed that on the newer update, I hope this helps.
@wonsole
@wonsole 7 ай бұрын
@@brk.aep7 it didnt work, can u instead give me a full script of what you made?
@punwind7039
@punwind7039 Жыл бұрын
Thanks Tim! Can you make a video about pushing at chatbot like this to a unique website URL with Flask? (I have a domain with dreamhost and just can't seem to get it to work. Any tips would be greatly appreciated!)
@TechWithTim
@TechWithTim Жыл бұрын
Not a bad idea! Thanks :)
@daveys
@daveys Жыл бұрын
While it’s pretty cool to be able to do this, it’s easy enough to have a browser open and do it via there. Where I think this is useful, is if you pass things to gpt to summarise or do stuff with. Still got to be careful with what you feed any of these AI’s, but still being able to interact in python is useful.
@Seshhh..
@Seshhh.. Жыл бұрын
this is the error i am getting right now . What should i do ? You tried to access openai.Completion, but this is no longer supported in openai>=1.0.0
@Armaanveer-Singh
@Armaanveer-Singh 6 ай бұрын
migrate to openai v1
@masked00000
@masked00000 Жыл бұрын
How do you edit your videos?
@_BORT_
@_BORT_ 4 ай бұрын
Mine is so cool. when i talk to it it says error at line 20 its so cool
@EnglishRain
@EnglishRain Жыл бұрын
Look forward to more tiny videos
@eternalgamer496
@eternalgamer496 Жыл бұрын
I just added this to my discord bot and ran my first prompt, it says that I am rate limited cause it exceeds my quota limit. is the api paywalled or am I missing something?
@TechWithTim
@TechWithTim Жыл бұрын
U can use it for free but u need to pay if you over the free usage - that was how it worked last time I used it
@vg5675
@vg5675 6 ай бұрын
not working it shows that chatcompletion is no more there according to open ai
@jancovanderwesthuizen8070
@jancovanderwesthuizen8070 9 ай бұрын
Can you connect this to a custom GPT instead of just 3.5 Turbo?
@sarthakssupergaming8313
@sarthakssupergaming8313 3 ай бұрын
What was the app that he was using called?
@ElijahOsagie-f6q
@ElijahOsagie-f6q 5 ай бұрын
Did your use sny phyton extension
@abhirajgaikwad5511
@abhirajgaikwad5511 3 ай бұрын
This is free or we have to purchase and can we add photos in that just like student study material?
@MehwishKhanam-y4r
@MehwishKhanam-y4r 4 ай бұрын
2:09 can someone explain how _name_ was executed bcz mine is giving name error Undefined
@superpayaseria
@superpayaseria 9 ай бұрын
Didn't work, and how are we supposed to make these work if we actually make a human or robot or something and depend on these API keys and then it no longer offers the service or something you're pretty much screwed at that point.
@GiuliaSironi-fo2df
@GiuliaSironi-fo2df 8 ай бұрын
Hi, i'm totally new to programming. How can i do this on google collab? Which platform should i use?
@RANGADASCHAKRAVARTHY
@RANGADASCHAKRAVARTHY 4 күн бұрын
What should i do when it's showing limit exceeded even when i created a new api key
@richardsifeanyi6766
@richardsifeanyi6766 Жыл бұрын
Thanks Tim.
@paulthomas1052
@paulthomas1052 Жыл бұрын
Hi Tim, really enjoy your videos but on a Mac with Python 3.12 getting 'openai' to install seems to be an issue. Any ideas ?
@mupo000
@mupo000 6 ай бұрын
Hi, in the meantime congratulations for the video, I wanted to ask you some questions for a project that I would like to realize. 1) I would like to create an AI always with python, but customize it, give it a name for example, 2) How could I make sure that he remembers the information I give him? For example, that they remember my name or my date of birth? 3) All this of course I would like to pass in a text to talk to talk to him, and turn him into a friend, Thank you in advance if you will answer me :)
@MUNZY-h7x
@MUNZY-h7x 3 ай бұрын
how would you get it to output on a chatbot UI on a web page instead of the output going into the terminal so for example your using html,css and javascript for the front end
@sumedh2thakarey632
@sumedh2thakarey632 6 ай бұрын
actually i wanted to know what software used for coding in this mini project
@Walter.Quiroz
@Walter.Quiroz 3 ай бұрын
This might have worked when vid was recorded. There's a safer way to avoid including the API KEY in the code. Anyway, thanks for sharing.
@mehedihasanbabu2074
@mehedihasanbabu2074 2 ай бұрын
Can you share? I'm facing the same problem.
@fidaeariyan9376
@fidaeariyan9376 7 ай бұрын
i should have a paied account to get API KEY from open AI right
@samore11
@samore11 Жыл бұрын
Not sure I get how to use this. Prompt the chatbot in your code to get some data that you would use in your code later?
@foqsi_
@foqsi_ Жыл бұрын
You could use it for whatever you'd like. The first thing that came to my mind, was a support bot. Customize the prompt to correlate with a particular company and prevent specific texts, then it could be used to help end users with whatever it's set up for. For instance, IT chat bot would troubleshoot a user's hardware/software issues via text before routing to a person. We see this often on websites if you start a chat. Personally, I could use this for my own website that would help users understand that the data my site uses only supports content from the US, or why even some of that content is missing. This way, they could just ask the bot instead of sending me messages/emails. Maybe create a desktop application for yourself, so you don't have to open up the webpage anytime you want to communicate with it. Implement voice, so you can do talk to text. Maybe add a button that generates a random fact from it. haha. You could do whatever you'd like! AI is a great tool. Utilize it. The rate it's been growing over the past year, any and every developer should probably be working with AI. Many companies, small and large have already started implementation.
@vazquezsebastian9764
@vazquezsebastian9764 Жыл бұрын
Simply explayned and superbe quality content, would love to see more
@sanjanakashimath7793
@sanjanakashimath7793 4 ай бұрын
Hello sir, my command prompt isn’t functioning correctly, even though my code matches yours. How can I achieve the same output as you? Help me !
@BotturasStudios
@BotturasStudios Жыл бұрын
I'm getting the error: You exeeded your current quota, please check your plan and billing details. Do I need to pay for it to work?
@nicolanoventa5244
@nicolanoventa5244 Жыл бұрын
yes, for the API you have to pay. it's very low price based on how much you use it ($0.0015 / 1K tokens). for a quick calculation you can consider 1 word as approximately one token. if you stay under a few dollars they will not deduct anything from the card.
@JoeyGordon-t1b
@JoeyGordon-t1b Жыл бұрын
Yes :(
@bindubindu9753
@bindubindu9753 2 ай бұрын
Which software this
@hanshusyed-lq5ng
@hanshusyed-lq5ng 8 ай бұрын
Hi I got an error like this -"import openai" could not be resolved pylance(reportmissingimports)[ln1,col8]
@vasanthpragash854
@vasanthpragash854 Ай бұрын
Pip install openai
@MDArman-fk8iy
@MDArman-fk8iy 11 ай бұрын
Dear brother, I have a question, can I use these codes on the WordPress site?
@BlazeTheCatMan
@BlazeTheCatMan Жыл бұрын
can you run this offline like how dependent is is it when comes to the future like if open ai shuts down would mine that i made still work?
@k-ray6989
@k-ray6989 5 ай бұрын
do i have to pay for openai to be able to make this chatbot?
@willtaylor8260
@willtaylor8260 8 ай бұрын
Great video! I would love to see how to make this work on iOS or Android.
@fredrickomondi6558
@fredrickomondi6558 Жыл бұрын
The model `gtp-3.5-turbo` does not exist any help plz
@renzoblack5944
@renzoblack5944 Жыл бұрын
It's a spelling error bro. "gpt" not "gtp"
@GuilhermeCury-h5q
@GuilhermeCury-h5q 3 ай бұрын
how can i make it to have a defined prompt? like, alr act a certain way and have certain information
@vimmysaini
@vimmysaini 2 ай бұрын
What is this black window in which u r typing ?
@arunjolsaha
@arunjolsaha Жыл бұрын
is the free tokens over? or it is still there?
@techmindoficail
@techmindoficail 9 күн бұрын
Bro how I converted in web browser/ mobile application
@celfizy1512
@celfizy1512 7 ай бұрын
I’m planning on creating something just like this. But instead of the AI being able to give me information from all over the internet. I want to feed it a specific group of knowledge for a specific purpose. How can I do that? For example ( not what I’m doing ) creating an AI which explains a certain book in detail for example Harry Potter. How would you limit the AI to just Harry Potter and make sure it gives accurate data and not false, basically restricting the information input from the AI.
@Venex-qc1lq
@Venex-qc1lq 6 ай бұрын
what app is this
@AnushGohel
@AnushGohel Жыл бұрын
hello tim it is great project. can't imagine putting it in my resume. there is a little problem i am facing is there is some api error showing. I am doing exactly the same steps you are doing. can you please help to figure it out?
@marie-pierneault1035
@marie-pierneault1035 10 ай бұрын
Do I need to add token to my account to make it works or is model gpt-3.5-turbo gives you a amount of free token to use to practice? Thanks!
@marie-pierneault1035
@marie-pierneault1035 10 ай бұрын
Nevermind, I made it work by putting the api_key in the client = OpenAi(). Thanks!
@naghulpranavkk
@naghulpranavkk 9 ай бұрын
Could you elaborate on this please ​@@marie-pierneault1035
Create a LOCAL Python AI Chatbot In Minutes Using Ollama
13:17
Tech With Tim
Рет қаралды 142 М.
How to Build AI ChatBot with Custom Knowledge Base in 10 mins
10:46
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Web Scraping 101: A Million Dollar Project Idea
13:07
Tech With Tim
Рет қаралды 580 М.
'OXYGEN LEAK!'' Elon Musk Revealed WHY Starship Flight 7 Exploded...
11:01
AI Trends for 2025
7:32
IBM Technology
Рет қаралды 266 М.
Build an AI Chatbot on your Custom Data 🔥
21:34
CodeWithHarry
Рет қаралды 414 М.
Reinforcement Learning Course - Full Machine Learning Tutorial
3:55:27
freeCodeCamp.org
Рет қаралды 985 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН