Python Chatbot Tutorial | Using OpenAI API to Create a Smart Chatbot

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ม.ค. 2025

ความคิดเห็น • 29

  • @randallblake1213
    @randallblake1213 4 หลายเดือนก่อน +3

    I needed this discussion of how to enable ChatGPT to remember the previous interactions. Thank you. I also appreciate very much that this video is short and “to the point”.

    • @CodeYoga22524
      @CodeYoga22524  4 หลายเดือนก่อน

      Thanks for your nice words. I am glad my content helped you.

  • @uktamhudoyarov7410
    @uktamhudoyarov7410 หลายเดือนก่อน

    Hello bro. What is that blue window which you are having your chat . I work on windows and how can open this window in windows.

    • @CodeYoga22524
      @CodeYoga22524  หลายเดือนก่อน

      Thanks for reaching out. I guess you are referring to the terminal. In windows it’s known as the command prompt. The command prompt in windows is black in color by default. Let me know if you face any problems. Happy to help

  • @UmaMaheswari-f8l
    @UmaMaheswari-f8l 10 วันที่ผ่านมา

    after run the program the output came as 'you=___' after entering hello it shows error what should i do ?

    • @CodeYoga22524
      @CodeYoga22524  10 วันที่ผ่านมา

      What is the error? Send me the error and I will help you.

  • @raya7390
    @raya7390 5 หลายเดือนก่อน +4

    what do u put on select debugger .......i m not able to use it

    • @CodeYoga22524
      @CodeYoga22524  5 หลายเดือนก่อน

      I am sorry but I do not understand your question. Can you explain in bit detail ? I have not used any debugger.
      I am happy to help more on this. Please email me the exact issue you are facing along with the screenshot at code.yogi.channel@gmail.com
      I will definitely respond

    • @raya7390
      @raya7390 5 หลายเดือนก่อน

      Ok

    • @raya7390
      @raya7390 5 หลายเดือนก่อน

      I will email

    • @CodeYoga22524
      @CodeYoga22524  5 หลายเดือนก่อน +1

      I have replied to your email

    • @raya7390
      @raya7390 5 หลายเดือนก่อน

      @@CodeYoga22524 👍👍👍

  • @sanjanakashimath7793
    @sanjanakashimath7793 5 หลายเดือนก่อน

    hello sir, which IDE are you using? and after installing pip, if i enter the command pip3 install openai.... it shows syntax error... could you please help me?

    • @CodeYoga22524
      @CodeYoga22524  5 หลายเดือนก่อน +1

      For IDE I am using visual studio code.
      Can you also try “pip install openai” command also instead of “pip3 install openai”? Let me know if you still face problems. We can work on it together to solve the issue.

    • @sanjanakashimath7793
      @sanjanakashimath7793 5 หลายเดือนก่อน

      @@CodeYoga22524 sure sir, thanks a lot☺️

    • @CodeYoga22524
      @CodeYoga22524  5 หลายเดือนก่อน

      I have replied to your email

  • @Hari81189-l
    @Hari81189-l 6 หลายเดือนก่อน +1

    For this subscription is required??

    • @CodeYoga22524
      @CodeYoga22524  6 หลายเดือนก่อน +1

      OpenAI was providing free credits earlier to use the API but not anymore now.
      So you need to go to billing section in your OpenAI account dashboard and add some credits there. No subscription needed though.
      You can also set an usage limit so that you do not accidentally spend too much while calling the API.
      Hope this helps.

  • @Iambruh07
    @Iambruh07 หลายเดือนก่อน

    Hello bro can u please clear my this confusion -:
    I have done whole the process but it's saying i haven't paid bill.
    So what does it mean, Is it's API paid or can be used for free too ?

    • @CodeYoga22524
      @CodeYoga22524  หลายเดือนก่อน

      At the time of making this video this was free. However now it needs you to add some credits to ise the API. You just need very little amount to get started. For complex projects you will need a lot more credits. To add credits go to your openAI dashboard and click on billing section. Here you can add credits. Hope it helps.

    • @Iambruh07
      @Iambruh07 หลายเดือนก่อน

      @CodeYoga22524 Thanks a lot for your clarification.
      As I am just a student learning about AIs I just read in grade 10.
      So, I want a chatbot API that's fully free to use. And will give me responses with it's own knowledge like chat-gpt.
      Also 1 more question is that -:
      Is Claude's API is free ?

    • @CodeYoga22524
      @CodeYoga22524  29 วันที่ผ่านมา +1

      @@Iambruh07 The Claude API is not completely free, but it does offer a free tier with limited usage. I have another video for you which is free. Please check it out: th-cam.com/video/gr9E6fN_fLk/w-d-xo.html

  • @ssrisaran4943
    @ssrisaran4943 6 หลายเดือนก่อน

    SEND CODE HERE

    • @CodeYoga22524
      @CodeYoga22524  6 หลายเดือนก่อน +1

      Here you go: github.com/debeshm/Python-ChatGPT/blob/main/chatbot.py

    • @gassbuilds
      @gassbuilds 6 หลายเดือนก่อน

      @@CodeYoga22524 how do i get the web version of this

    • @CodeYoga22524
      @CodeYoga22524  6 หลายเดือนก่อน +2

      @samuelsarpong1736 Please follow this video to create the web version of chatbot: th-cam.com/video/v8LAQHlLuRs/w-d-xo.htmlsi=uj7bKqLdFBt86znr

    • @gassbuilds
      @gassbuilds 6 หลายเดือนก่อน

      @@CodeYoga22524 thanks

    • @CodeYoga22524
      @CodeYoga22524  6 หลายเดือนก่อน +1

      Consider subscribing to my channel for more updates. I plan to add more tutorials on this topic as well.