The OpenAI (Python) API | Introduction & Example Code

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

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

  • @ShawhinTalebi
    @ShawhinTalebi  ปีที่แล้ว +1

    👉More on LLMs: th-cam.com/play/PLz-ep5RbHosU2hnz5ejezwaYpdMutMVB0.html

  • @johnturner4128
    @johnturner4128 10 หลายเดือนก่อน +5

    Have to say. Very clear and crisp delivery of material. I have been in software for 35 years … lots of great stuff. Not many have I run across with this guys rhetorical skills. Thanks!

    • @ShawhinTalebi
      @ShawhinTalebi  10 หลายเดือนก่อน +3

      Thanks John! It's been a long road to get here 😅

  • @Anton_De_Swardt
    @Anton_De_Swardt 9 หลายเดือนก่อน +2

    Like many others who've commented, I've found my guide to the world of AI, LLMs, etc, thanks Shaw!

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

      Glad it was helpful! 😁

  • @krishnavamsiyerrapatruni5385
    @krishnavamsiyerrapatruni5385 8 หลายเดือนก่อน +2

    Loving the series so far! I am 2 videos in and I feel like you are balancing very well between making these tutorials beginner-friendly and not giving just superficial knowledge.

  • @aihome242
    @aihome242 ปีที่แล้ว +5

    after looking for a logical simple explanation over and over in videos and text you video has made the most sense, Thank you for explaining it like that!

    • @ShawhinTalebi
      @ShawhinTalebi  ปีที่แล้ว +1

      Great to hear! Glad it helped :)

  • @ifycadeau
    @ifycadeau ปีที่แล้ว +20

    Finally! Someone explaining this well 🤩👏🏾

  • @AniHunsaker
    @AniHunsaker 8 หลายเดือนก่อน +1

    You're a real Ph.D. with extremely understandable way of explaining things you have an obvious expertise in.

    • @ShawhinTalebi
      @ShawhinTalebi  8 หลายเดือนก่อน +1

      Thanks, glad it was helpful 😁

  • @halle845
    @halle845 11 หลายเดือนก่อน +1

    Thanks!

    • @ShawhinTalebi
      @ShawhinTalebi  11 หลายเดือนก่อน +1

      Thanks so much! Glad it was helpful 😁

  • @serinevcim5390
    @serinevcim5390 7 หลายเดือนก่อน +4

    maaaan, you are explaining everything-every term that would make me feel like the most stupid person when I ask to another person. tysm!

    • @ShawhinTalebi
      @ShawhinTalebi  7 หลายเดือนก่อน +2

      Glad it's helpful :)

  • @kaikiefer8303
    @kaikiefer8303 9 หลายเดือนก่อน +1

    Well prepared and presented. This is super helpful and clear. can not wait to get started with a local LLM.

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

    Just amazing !!! Don't have words to say . The absolute appealing content for the audience . Just nailed it.

  • @孙姣姣
    @孙姣姣 9 หลายเดือนก่อน +1

    What you said is what I've been looking for, It is very clear and useful, thanks very much!

  • @60pluscrazy
    @60pluscrazy ปีที่แล้ว +2

    This play list is so important 🎉🎉🎉 thanks 🙏

    • @ShawhinTalebi
      @ShawhinTalebi  ปีที่แล้ว +1

      Thanks, glad it’s helpful 😁

  • @joachimguth6226
    @joachimguth6226 ปีที่แล้ว +2

    Well sized, well explained, go on, it is exceptional in this line

    • @ShawhinTalebi
      @ShawhinTalebi  ปีที่แล้ว +2

      Thanks, glad you liked it :)

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

    Really amazing explanation, for a beginner in LLMs it really really helps. Thank you so much!!

  • @jagtapjaidip8
    @jagtapjaidip8 7 หลายเดือนก่อน +1

    Thank you. Very nice information. I love your interpretation in the end about new genre.

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

    Very useful lectures!

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

    Loved it!

  • @ianbraganza3065
    @ianbraganza3065 9 หลายเดือนก่อน +1

    Thank you very much for this video! It was super helpful, I can now leverage Open AI's API and this is a game changer for me. I'm also now going to listen to Roxette :)

    • @ShawhinTalebi
      @ShawhinTalebi  9 หลายเดือนก่อน +1

      Their song was stuck in my head the whole time I was making this video😂😂

  • @girmayohannis4659
    @girmayohannis4659 9 หลายเดือนก่อน +1

    Super guide and content.I ever liked this.I more expect in NLP tutorial text classification.

  • @lekhoi8
    @lekhoi8 ปีที่แล้ว +1

    Pretty cool, thank you 🤩

  • @ammar_maamoun
    @ammar_maamoun 8 หลายเดือนก่อน +1

    From Egypt that amazing pro

  • @himanshupatidar8040
    @himanshupatidar8040 11 หลายเดือนก่อน +1

    awesome explanation.

    • @ShawhinTalebi
      @ShawhinTalebi  11 หลายเดือนก่อน +1

      Glad it was clear 🙂 -ShawGPT

  • @ajitdukale1980
    @ajitdukale1980 ปีที่แล้ว

    Amazing Explanation 👏👏

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

    thank you so so much

  • @usamaniaz2981
    @usamaniaz2981 ปีที่แล้ว

    Bravo! loved it...

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

    I am working as Data Engineer, I want to upgrade my skills and get AI/ML Engineer job. I attended few trainings in this but for beginners it is amazing videos.

  • @puchki2015
    @puchki2015 ปีที่แล้ว +2

    Hi, Can you please make a video of some real use cases of LLM with all the advanced features and code walkthrough. I really like your video because of the way you explain the technical and implementation details.

    • @ShawhinTalebi
      @ShawhinTalebi  ปีที่แล้ว +4

      Thanks for the feedback. Yes I definitely will.
      Here's what I have on my list, do you have any suggestions?
      - Text similarity using SBERT (request)
      - How to build a robust RAG system
      - How to fine-tune a model for domain-specific question answering

    • @spotnuru83
      @spotnuru83 ปีที่แล้ว +1

      @@ShawhinTalebi this will be of great help

  • @johnturner4128
    @johnturner4128 10 หลายเดือนก่อน +1

    Have a question. I have seen several surges in the software field over the past 35 years. One of the hardest parts of software developed by a company, for their use, is project management. A product owner see's some changes that will, ultimately, increase shareholder wealth, and writes them down. Lets say a scrum team is assigned the work ... in the case we have here - what are your thoughts on how AI can improve the predictability of quality tested software delivered on time? Again, software is software ... math is math. Thanks, John

    • @ShawhinTalebi
      @ShawhinTalebi  10 หลายเดือนก่อน +1

      Great question. The best predictor of project timelines are the durations of past projects with a similar scope. I could imagine an data-driven (AI) tool that integrates into Jira (or the like) that gives project estimates given factors such as scope and available resources.

  • @amparoconsuelo9451
    @amparoconsuelo9451 ปีที่แล้ว

    May I know the following:
    1) Can AI act as a code interpreter?
    2) Can AI compile and link source codes?
    3) Can AI code in different languages in one program?
    4) Can AI be instructed to create codes in 8-, 16-, 32-, 64-, 128- and so on bit?
    5) Can AI create a computer language and the compiler and interpreter therefor and operating system?
    6) Can AI disassemble a Lisp, Fortran, COBOL, or Ada application and create the code for the corresponding compiler?
    7) Can AI create a boot sector?
    8) Can AI convert a CD and flash drive into start up devices?
    9) Can AI make several copies of LLM?
    10) Can AI do pre-training, fine-tuning and re-fine-tuning?

    • @ShawhinTalebi
      @ShawhinTalebi  ปีที่แล้ว +2

      AI is a broad term so I will try to answer your questions in regards to LLMs. (Most) LLMs simply generate text. Therefore, it alone cannot do many of the things you mentioned. However, by embedding an LLM into a larger software product, you can accomplish just about any of these things and call it an AI.
      Happy to chat more during office hours: calendly.com/shawhintalebi/office-hours

  • @budsayalaohapensaeng6869
    @budsayalaohapensaeng6869 4 วันที่ผ่านมา

    Can I do with Ollama?

    • @ShawhinTalebi
      @ShawhinTalebi  2 วันที่ผ่านมา

      Yes! The syntax is very similar. I share an example here: th-cam.com/video/Ot2c5MKN_-w/w-d-xo.htmlsi=CYVqDM7agauuyCFI

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

    I keep getting rate limit error help.

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

      You may need to set up a payment method and set a sufficient usage limit.

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

    Does this still work?

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

      The API has been updated a couple times since I posted this example.
      See a more recent walkthrough here: th-cam.com/video/4RAvJt3fWoI/w-d-xo.html

  • @amparoconsuelo9451
    @amparoconsuelo9451 ปีที่แล้ว +1

    Please display the full code and mention the Python version and system configuration.

    • @ShawhinTalebi
      @ShawhinTalebi  ปีที่แล้ว +1

      Code and env files are available here: github.com/ShawhinT/TH-cam-Blog/tree/main/LLMs/openai-api

  • @brandonquinto4852
    @brandonquinto4852 8 หลายเดือนก่อน +1

    'ging ist' is German, for 'went is' and I have no idea why that would be a completion

    • @ShawhinTalebi
      @ShawhinTalebi  8 หลายเดือนก่อน +1

      Interesting! The Germans may be big Roxette fans 😂

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

    Iran?

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

      Born in Texas, but family came here from Iran :)

    • @mosihn-zj9gg
      @mosihn-zj9gg 5 หลายเดือนก่อน +2

      ​@@ShawhinTalebi Dear Shawhin ,I am proud of you❤

  • @md.mizanurrahmanxendpdc.369
    @md.mizanurrahmanxendpdc.369 8 หลายเดือนก่อน +1

    I just want to see the results first

  • @pewpewpew1177
    @pewpewpew1177 3 หลายเดือนก่อน +1

    cmon 😂, we are your viewers , let us use your 5$ 😂

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

      LOL, when I make my first million I'll give away $5 API credits 😜

  • @vcool
    @vcool 9 หลายเดือนก่อน +1

    Should've used GPT-4, not GPT-3.5.

    • @ShawhinTalebi
      @ShawhinTalebi  9 หลายเดือนก่อน +1

      I have an example with that here: th-cam.com/video/4RAvJt3fWoI/w-d-xo.html

  • @knusperkrusteamstitzel7251
    @knusperkrusteamstitzel7251 ปีที่แล้ว +1

    The way you pronounced "ging ist" makes me believe you also speak german. Stimmt's?

    • @ShawhinTalebi
      @ShawhinTalebi  11 หลายเดือนก่อน +1

      Interesting, my German is limited to what I learned watching a TH-cam tutorial 😂

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

    why do you have very less subscribers?
    i think google hates you for not using word Gemini instead of openai

    • @ShawhinTalebi
      @ShawhinTalebi  4 หลายเดือนก่อน +1

      I wonder the same thing everyday 😅

  • @fakecubed
    @fakecubed 9 หลายเดือนก่อน +2

    Seems counterproductive to teach people OpenAI, which is anything but open, when talking about programmatically working with LLMs. You should steer people towards the actually open LLMs that can be run locally for free. OpenAI is eventually going to be going out of business, once people realize the downsides outweigh any ease of use and first-mover advantage they once had, and the venture capital dries up. The open models with better licenses are already outperforming GPT anyway, and their approach to the technology is rapidly becoming obsolete. Teach people skills that will actually be useful for the open source AI development that will still be around in the future.

    • @ShawhinTalebi
      @ShawhinTalebi  9 หลายเดือนก่อน +1

      While OpenAI conceals their models behind their API, given the SOTA performance of their current models, there are still situations where using them makes sense (at least for now).
      I cover open-source technologies in other videos in this series: th-cam.com/play/PLz-ep5RbHosU2hnz5ejezwaYpdMutMVB0.html

    • @jakewastaken
      @jakewastaken 9 หลายเดือนก่อน +1

      The last minute of this video mentions that his next video actually gets into that. That said, I’m hoping we get a Poe and Perplexity api video sometime too.

    • @colinnivisi-q5n
      @colinnivisi-q5n 2 หลายเดือนก่อน

      @fakecubed would there possibly be anyway to ask you a question or email you? you seem to have some advanced knowledge regarding AI and python implementation. I wanted to see if it be possible to get your input on a question I have? I tried going to your TH-cam site couldn't find a way to contact, if possible would be greatly appreciated Thank you

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

    ayo , temp = 2 , is my drunk friend,😂

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

    Are you the SHA256? Sorry, geek's joke.