OpenAI Assistants API - Course for Beginners

Поделиться
HTML-код
  • Опубликовано: 10 янв 2025

Комментарии • 247

  • @vincibits
    @vincibits 11 месяцев назад +226

    Thank you so much for watching, Everone. I hope you find this course valuable and if you have any question don’t hesitate to reach out to me :) again, thank you for the opportunity 🎉

    • @noNullMoments
      @noNullMoments 11 месяцев назад +14

      Love your style. Subscribed. Waiting for more quality videos.

    • @vincibits
      @vincibits 11 месяцев назад +7

      @@noNullMoments Thank you so much for your support. It means the world to me... :)

    • @noNullMoments
      @noNullMoments 11 месяцев назад

      Discord server was the early birds? 😀@@vincibits

    • @joyaljose3666
      @joyaljose3666 11 месяцев назад +4

      Without having the API
      subscription can we able to do the python code

    • @vincibits
      @vincibits 11 месяцев назад +2

      @@joyaljose3666 you have to have the API subscription, however, if you open an account (for the first time) you'll have a few Free credits that you can use :)

  • @goo_tx
    @goo_tx 11 месяцев назад +110

    This dude's voice is so soothing I might learn this lesson in my sleep.

    • @vincibits
      @vincibits 10 месяцев назад +8

      Hahh.. Is that a good thing? I mean I want you to learn, and not to fall asleep :)

    • @thallesn
      @thallesn 10 месяцев назад +2

      Also liked it. Soft and clear. It's a good thing for sure.

    • @rolandcucicea6006
      @rolandcucicea6006 9 месяцев назад +4

      for real, it feels like I'm being taught by Kendrick Lamar

    • @vincibits
      @vincibits 9 месяцев назад +5

      @@rolandcucicea6006 lol! I hope that's a good thing?!

    • @aeonfoxie1260
      @aeonfoxie1260 8 месяцев назад +1

      @@vincibits, To me I feel like you teaching me like sitting next to me. 😄

  • @indatycreator9159
    @indatycreator9159 Месяц назад +5

    Wow, I just came across this lesson and I am impressed. The instructor has a very calm and organized way of teaching, making it easy to follow and actually undestand what he is saying. I have tried in the past to learn this topic and has been so frustraiting. I actually was able to undestand logs for the first time. I really like the description of how the components of an Assistant API actually work. I'm trully (for the first time) enjoying learning about this subject. Thank you for this course!

  • @deja00
    @deja00 9 месяцев назад +19

    I am casually watching this course, and I like the teacher. I am casually considering trying to follow along. I appreciate the relaxed speed of the course. I have seen some other hotshot young RUclipsrs, talking about Assistants API, but they are so fast, so I don't understand anything. This teacher's speed is just right for me :)

  • @craignine5074
    @craignine5074 11 месяцев назад +26

    Paulo was the first to do Flutter Courses. Love to see he’s still making great videos.

    • @vincibits
      @vincibits 11 месяцев назад +3

      Thank you so much for your kind words :)

  • @charlesongom7307
    @charlesongom7307 10 дней назад +1

    I stumbled on this and it helped me incorporate a summary section into another project I was working on. master piece GG

  • @karimbouche3563
    @karimbouche3563 11 месяцев назад +11

    Mr.bo this gentleman is an excellent teacher take care of him

  • @fatumaali4398
    @fatumaali4398 8 месяцев назад +5

    Randomly came across this tutorial and the instructor has such a calming voice and so so easy to grasp the lesson. This is something I haven’t even considered learning before and I am so focused on the subject that I’m excited to give it a try. Thank you!!

  • @TheYoungSoul
    @TheYoungSoul 7 месяцев назад +10

    Thank you very much for putting this video together. Just as an FYI for anyone trying to get the Studdy Buddy to work. You should pin your openai python package to 1.14.0 ( later versions might work, but the latest will not ) because the API changed in the latest version of the OpenAI Python API.

  • @Xantianis
    @Xantianis 11 месяцев назад +5

    I just finished this course and I must say I thoroughly enjoyed it! The content was well-explained and beginner-friendly. I would be really excited to see more videos on this topic in the future. Please continue with the great work, and I'm looking forward to the next videos!

    • @vincibits
      @vincibits 10 месяцев назад

      Thank you so. much!

  • @leonardosantiago8251
    @leonardosantiago8251 8 месяцев назад

    Great course, thank you for making available this high quality content 😃

  • @AlexWoolford
    @AlexWoolford 11 месяцев назад +5

    Smooth, masterful, and timely walk-though of the OpenAI Assistants API. Very clear. Much more pragmatic than reading the docs. Fantastic job!

    • @kalamatej
      @kalamatej 11 месяцев назад

      i was just saying the exact opposite to myself 😅
      Anyway, thank authors for the effort and for the ideas included 😌

    • @vincibits
      @vincibits 10 месяцев назад

      @@kalamatej You don't like the course? I am just curious :)

  • @isorabins
    @isorabins 5 месяцев назад +1

    Thanks for taking the time to make this, great course! Followed it to the end and have a real handle on the API now, thanks again!

  • @rafaelcattan287
    @rafaelcattan287 8 месяцев назад +2

    Great content! Unlike speedy, marketer, shallow content that is often seen, this man provides in depth, nicely paced, original content. 👏👏

    • @vincibits
      @vincibits 8 месяцев назад

      Thank you so much! I really appreciate it!

  • @sullgun7600
    @sullgun7600 11 месяцев назад +11

    Amazing Teacher, Very detailed Tutorial.

    • @vincibits
      @vincibits 11 месяцев назад +1

      Thank you so much! I really appreciate you!

  • @karimkrimou399
    @karimkrimou399 11 месяцев назад +5

    Mr paulo really your style is excellent and that was very helpfull,hope to see more frequently in this channel,hope mr bo will accept

    • @vincibits
      @vincibits 11 месяцев назад

      Thank you so much!

  • @rocketPower047
    @rocketPower047 7 месяцев назад

    This was really excellent! For the study buddy, I think things are different now since the code doesn't work, so I converted the related functions to work like it does in the openai documentation for file searching. Works great!
    Thanks so much!

  • @togepilinhvuu906
    @togepilinhvuu906 11 месяцев назад +7

    Thanks a lot for this tutorial. I've learned a lot from this.
    2:14:48 I wonder why we need to create the assistant everytime users click the button? This creates a lot of assistant in the OpenAI account. Should we just create it one time when the app is built?

  • @cliffordcheng5927
    @cliffordcheng5927 5 месяцев назад

    Very detailed and good pace. This is something I would bookmark and watch over and over again. Thanks.

  • @pragadoegito
    @pragadoegito 11 месяцев назад +7

    Paulo is great. I did one of his courses on another plataform. Happy to see him here

    • @vincibits
      @vincibits 11 месяцев назад

      Thank you so much for your kind work! I am humbled!

    • @vincibits
      @vincibits 11 месяцев назад

      Thank you for your kind words. It means a lot!

    • @disrael2101
      @disrael2101 11 месяцев назад

      i watched the first 10 minutes but i'm still confused regarding what assistant api actually does, i even asked chatgpt but it doesn't know either.. is it just chatgpt api or i can use this to teach the chat's api to learn only my specific dataset and answer questions regarding that data without answering other topics? thanks! p.s. i've subscribed to your youtube channel btw, i saw few interesting python projects there i hope you keep it up and not give up after a year or. so like most youtubers@@vincibits

  • @ezekiel-adetoro
    @ezekiel-adetoro 10 месяцев назад +2

    Thanks for this tutorial, this solves my tasks for this sprint.

  • @peerjako
    @peerjako 9 месяцев назад +4

    In the Study Buddy you need to fix upload_to_openai so that the file actually gets a name when uploaded:
    def upload_to_openai(filepath):
    with open(filepath, "rb") as file:
    response = client.files.create(file=(os.path.basename(filepath), file),
    purpose="assistants")
    return response.id

    • @Rahulkp220
      @Rahulkp220 9 месяцев назад

      Correct.

    • @miguelospina5848
      @miguelospina5848 9 месяцев назад

      thanks very much,

    • @aeharrison1able
      @aeharrison1able 9 месяцев назад

      Thanks a million. i had nothing working until you provided this. very kind of you!!!

    • @aeharrison1able
      @aeharrison1able 9 месяцев назад +1

      it really gets to me that error prevented the assistant from working and only you mentioned it. im lucky i saw your comment and connected the problem to the code,. not familiar with python i would have never figured that out. i cant thank you enough. made all the difference.
      i have a big question for you: do you think my sql tables with extensive business calculation knowledge examples can be read in and recognized as the models for building any workflow? organized by access, functions and sequence, this methodology can define any business process. if an assistant can read in my proven formulas that reside in 15 sql tables and let users select from them and build new ones anything can be defined, matched and executed.

    • @Nathan-pu9um
      @Nathan-pu9um 4 месяца назад +1

      @@aeharrison1able JUST ASK CHAT GPT :)

  • @Gardetsky
    @Gardetsky 11 месяцев назад +6

    I was looking for this many weeks, most of the other information is out of date and code is not working. Thank you so much! if you can make another video about how to connect this to simple webinterface - would be great!

  • @GBS.NOCODEAI
    @GBS.NOCODEAI 9 месяцев назад

    Thanks!

  • @intelpakistan
    @intelpakistan 11 месяцев назад +2

    Love Paulo! Always a pleasure to see him.

    • @PauloDichone
      @PauloDichone 11 месяцев назад

      Thank you so much! It means a lot to me. Thank you!

    • @vincibits
      @vincibits 11 месяцев назад

      Thank you so much!

  • @KAIZENTECHNOLOGIES
    @KAIZENTECHNOLOGIES 11 месяцев назад +5

    Oh my god finally 😭I've been waiting for this

  • @Nestormeregildo
    @Nestormeregildo 2 месяца назад

    Спасибо, наверное, это для меня лично самый полезный видос за пару лет, русскоязычному сегменту не хватает гайдов/обзоров по теме п2п

  • @skale1963
    @skale1963 7 месяцев назад

    Great instructor, calm and methodical. Thank you 🙏

  • @mariuswilsch4035
    @mariuswilsch4035 10 месяцев назад +6

    I think there is a little mistake in the video description. The personal trainer github repo shows up twice and the newsSummarizer is missing!

  • @cdorado1526
    @cdorado1526 4 месяца назад

    This is so well explained. Just perfect, thanks

  • @xenaidop6416
    @xenaidop6416 11 месяцев назад +4

    As always Steve Jobs giving great advice thanks steve.

  • @arepitas5019
    @arepitas5019 11 месяцев назад +1

    Thank you so much for this tutorial!! Very helpful

  • @DJLNR.
    @DJLNR. 17 дней назад

    Excellent tutorial 💥💥💥💥

  • @d.Santos18
    @d.Santos18 10 месяцев назад

    Great Course!
    watched from Brazil

  • @rmn6088
    @rmn6088 11 месяцев назад

    thank you so much for this video. saved us all a ton of time. the api from the application is generating inconsistent responses and behaves as if the files don't event exist. However, from the playground, it works as expected.

    • @vincibits
      @vincibits 10 месяцев назад

      Thank you so much!

  • @EwoutvanDijck
    @EwoutvanDijck 10 месяцев назад +1

    Thank you so much.
    This is what i need 🎉

  • @lepsivedet
    @lepsivedet 10 дней назад

    Awesome! Thank you for this gem.

  • @sayedmobashir7803
    @sayedmobashir7803 11 месяцев назад +1

    This course is very nice and useful for us thanks all of that

    • @vincibits
      @vincibits 11 месяцев назад

      Thank you! I am glad you find it helpful!

  • @oscarfernandez7845
    @oscarfernandez7845 6 месяцев назад

    This guy is AMAZINGLY GOOODDDD !

  • @visulino
    @visulino 6 месяцев назад

    I wanted to see the final results with the user interface. I used to work for Dow Jones (publishers of the WSJ) and my job was programming that news compilation, once at the end of each month, but it was made in C++. Running that executable took more than 12 hours. We left the program running overnight. In any other language, Visual Basic, or any other, the program took almost 24 hours to run. It was even slower for scripting languages. So the only solution was C++.

  • @deepaksood9592
    @deepaksood9592 11 месяцев назад +7

    Please share the slides / presentation for notes. Thanks 🙏

  • @limebulls
    @limebulls 6 месяцев назад

    Exactly what I needed, thank you

  • @not_subodh.7998
    @not_subodh.7998 8 месяцев назад

    Thank you for such a indepth tutorial and it has help me alot and I think you have alot to offer.You can really provide alot of value if you just brush up a little in your teaching skills as I am totally lost sometimes on which part I am coding when your writing a monolith and only seeing the final result in the end. I dont know which part is broken or which part does what. Again I dont mean this to come in a bad way.

  • @VinayakGNair
    @VinayakGNair 11 месяцев назад +1

    Paulo 's flutter course was good. I took it in udemy.

    • @vincibits
      @vincibits 11 месяцев назад

      Thank you!

  • @IonizedSun
    @IonizedSun 11 месяцев назад +1

    Thank you very much. Easy to follow. I'll try it in NodeJS ❤

    • @vincibits
      @vincibits 11 месяцев назад +1

      Thank you!

  • @nigeldogg
    @nigeldogg 9 месяцев назад +2

    Great content, thanks! Do you have a preference when building a RAG app to work with the OpenAI Assistants API, Llama Index, or Langchain?

  • @sharp2448
    @sharp2448 3 месяца назад

    Amazing teacher!

  • @RhinoInsight
    @RhinoInsight 11 месяцев назад

    Fantastic job Paulo!

    • @vincibits
      @vincibits 11 месяцев назад +1

      Thank you so much!

  • @jason77nhri
    @jason77nhri 8 месяцев назад

    Thank you for the tutorial, it's truly awesome. I need to find time to thoroughly review it. I
    have a question: I'm currently looking to analyze simulated data from interviews between psychologists and clients. Each interview is about 20,000 tokens long, and I want to summarize the Q&A content to create a case report for each client.
    However, loading all the data at once is a significant challenge. I've considered dividing the data into batches and feeding it to the assistant for processing, but this often leads to incoherent outputs, as if the assistant is hallucinating.
    My current plan is to split the data into multiple files, then gradually submit these to the assistant to generate summaries, and finally integrate these into a comprehensive case report.
    The issue is that my current programming skills are limited to simple interactions-submitting a question and receiving an answer. Although I can use a for loop to process batches of data for summaries, these seem to be treated as separate conversations without shared context, which means the AI might not remember past interactions.
    How can I program it so that my prompts are processed in a single thread, similar to how the assistant interface maintains context throughout a conversation?
    Thank you for your help.

  • @hoangnguyenhuy8360
    @hoangnguyenhuy8360 10 месяцев назад

    (58:58) why the response when call assistant was so slow ? Do u have a solution or something explain that ?

  • @Steven_Shelton
    @Steven_Shelton 6 месяцев назад

    This is really awesome.

  • @xdominguez1978
    @xdominguez1978 11 месяцев назад +1

    Amazing tutorial! One question about the cost. Is cheaper to create a new thread for each message or it's the same we use the same thread for each messages ? How to calculate cost of usage ?

    • @osamaa1891
      @osamaa1891 11 месяцев назад

      same question I have

  • @parislatino6214
    @parislatino6214 19 дней назад

    Awesome teacher

  • @euginekholmogorov5196
    @euginekholmogorov5196 9 месяцев назад

    thanks a million for this content

  • @juliotriana4449
    @juliotriana4449 11 месяцев назад

    Very useful, Thank you Paulo

    • @vincibits
      @vincibits 11 месяцев назад

      Thank you!

  • @RobotIsaac12
    @RobotIsaac12 4 месяца назад

    This was a nice video, the only issue I have is that it was very difficult to follow you creating the class, as there were no comments on the github nor any sort of flowchart showing how the functions were working with each other.
    Other than that, loved your work @vincibits!

  • @davestorm6718
    @davestorm6718 7 месяцев назад

    How did you get intellisense on the openai parameters (enums, etc) in VS Code?
    Which extension? (there are dozens, but I like what I'm seeing on your video)

  • @Cymricus
    @Cymricus 9 месяцев назад

    This is a wonderful video @vincibits
    This may be premature since I haven’t tried it yet, but I’ve been doing a lot of work so I’m not token hogging and this assistants API feels like it may eat up tokens. I’ll benchmark each for comparison. The convo history compression alone would be something I’d rather managed in a thread, but if it’s using up tokens, it’s gonna be expensive

  • @paramshah2890
    @paramshah2890 2 месяца назад +1

    he didnt specify that we have to add the credit card credentials???
    someone please clarify what to do about the card details

  • @astroewok7298
    @astroewok7298 11 месяцев назад +2

    What are the benefits of using this over say the custom GPT’s?

    • @juandager5220
      @juandager5220 11 месяцев назад +1

      Using someone else's configuration versus making your own. More power and more control to you at the expense of having to do the work...

    • @tyranmcgrathmnkklkl
      @tyranmcgrathmnkklkl 11 месяцев назад

      But you make your own Custom GPT's anyway

  • @jean-yveshillion6749
    @jean-yveshillion6749 8 месяцев назад

    @vincibits
    Thank you very much for your explanations.
    I can't find the link to get code about News Summarizer.
    Could-you publish it again?

  • @fintech1378
    @fintech1378 9 месяцев назад

    would assistant API follow the same response with custom GPT if we give them both the same instruction?

  • @VivekSharmaNZ
    @VivekSharmaNZ 7 месяцев назад

    Is there a reason that we have to wait for the run to complete? I see that OpenAI allows streaming - client.beta.threads.runs.stream

  • @maenwhile_italia
    @maenwhile_italia 8 месяцев назад

    why didn't you get directly with google colab? No need to install coder or python libraries as is all in one. Makes sense ora do you see any issue in using google colab?

  • @naehalmulazim
    @naehalmulazim 9 месяцев назад +1

    This isn't possible without credit card info, right? Even the $5 credits on the new account aren't a lot?

  • @luke_will_taylor
    @luke_will_taylor 2 месяца назад

    Does anyone know how to enable the widget that pops up with the function arguments when the parentheses are created--just as in the video? I've been trying to figure out how to enable that but couldn't figure it out.

  • @collinvelarde7473
    @collinvelarde7473 8 месяцев назад

    This was excellent. Do you do consultations as well? Thanks.

  • @providence6643
    @providence6643 11 месяцев назад

    Paulo, wonderful course, and thank you. Is the OpenAI Assistant python class code you demonstrated available anywhere? I looked at the links provided (two were the same) and didn't see anything regarding the class development. Again, thank you so much for your time.

  • @jacobji0415
    @jacobji0415 10 месяцев назад

    Love this video! By the way, is there the code of function calling provided? I do not find it in the profile.

  • @slahomar1497
    @slahomar1497 4 месяца назад

    What is the difference between the assistant and fine tuning?

  • @snehalgamit6004
    @snehalgamit6004 6 месяцев назад

    Good explanation. 👍👍
    But what if i want to read from more than one file for last project of study buddy then? how can I do it?

  • @H.T.CProgram
    @H.T.CProgram 7 месяцев назад

    awesome video!

  • @WhatsUpEastcoast
    @WhatsUpEastcoast 2 месяца назад +1

    Please make an AI app which is tracking movements of maga, project 2025 staffing, legal actions or policies

  • @BharatKhadodra
    @BharatKhadodra 9 месяцев назад

    Can I create a single PDF chatbot assistant and use it for multiple users or I have to create a new assistant for each user ? I am talking about android application.

  • @DeepDiveNotebook
    @DeepDiveNotebook 10 месяцев назад

    This is a goldmine

  • @KumR
    @KumR 11 месяцев назад

    nice. so assistance api is something which is doing what langchain does??

  • @aeharrison1able
    @aeharrison1able 9 месяцев назад

    hi where you supply the 3 links for your course code, there is an error the 2nd project link, the first persona-trainer code is repeated so i have been trying to type in every word as you say it and its very hard to comprehend at the same time. could you please fix that link to go to NEWS-SUMMERIZER code instead?

    • @ramangupta5918
      @ramangupta5918 9 месяцев назад

      Yes, I can't find the news summarizer code as well @vincibits

  • @skyhappy
    @skyhappy 11 месяцев назад

    I used assistants api a week after it released. I'm just a small text file it was super slow I'm saying 10 seconds for a simple question. It's a really unoptimized rag system.

  • @marklangley7135
    @marklangley7135 8 месяцев назад

    As a knowledge base can’t you just get it to retrieve large files and then the chat gpt will incorporate it into its answer without all the coding?

  • @Shorts-lb2if
    @Shorts-lb2if 10 месяцев назад

    in the function call, how can we connect to the database?

  • @fintech1378
    @fintech1378 9 месяцев назад

    sorry im new OAI asssistant API..i have already had 'credentials' from my custom GPT in GPT store. how can i connect it to my separate app with assistant API? not recreating the instruction on assistant API but just connect it to custom GPT in GPT store that i have already created earlier

  • @swarupsaha1976
    @swarupsaha1976 11 месяцев назад

    Plz tell me which version of dell laptop is required for OpenAI project

  • @ExodusUz
    @ExodusUz 7 месяцев назад

    The best!

  • @bibly_Tech
    @bibly_Tech 4 месяца назад

    Thank you very much

  • @hitenkaistha3221
    @hitenkaistha3221 11 месяцев назад +1

    where will we get these notes ?? plz help

  • @Damontaesmith-o5l
    @Damontaesmith-o5l 2 месяца назад

    если вам дать в управление USDT за какое время сможете иксануть?

  • @ecstaticsolution
    @ecstaticsolution 8 месяцев назад

    Its awesome.

  • @nguyenquangngoc3993
    @nguyenquangngoc3993 11 месяцев назад

    Great job. It would be great if you can teach us how to implement stream responses when it release for tge Asistant api

    • @vincibits
      @vincibits 11 месяцев назад +1

      Will do!

    • @nguyenquangngoc3993
      @nguyenquangngoc3993 9 месяцев назад

      Please do a short follow up with the streaming responses 😊😊😊

  • @karimgamal1208
    @karimgamal1208 10 месяцев назад

    thanks for the video, but I a getting this error:"TypeError: OpenAI.__init__() takes 1 positional argument but 2 were given"

  • @Basirafeef
    @Basirafeef 9 месяцев назад

    thanks for sharing great knowledge sir, can we have assistant api implementation in php

  • @seewave544
    @seewave544 9 месяцев назад

    Dude I just fall in love with you ❤❤

  • @codearabawy
    @codearabawy 7 месяцев назад

    Does anyone face very slow api calls? I even tried with latest model '4o' but I'm getting many failures and in case of success, it could take up to 10 seconds or more to get a response.

  • @ahsanmalik9576
    @ahsanmalik9576 8 месяцев назад

    Why I cant see is no save button, when I am creating assistant?

  • @LandmarkPeak
    @LandmarkPeak 2 месяца назад

    anyone knows how to use an existing assistant and existing thread from vscode, and how to catch the assistant responses?

  • @aleperezmoreno2368
    @aleperezmoreno2368 10 месяцев назад

    Interesting how about 70% of the video just shows things you can already do with the normal chat completions API (function calling), but with way less overhead and cost. Anyway, good video 👍

  • @grigorqnkov3928
    @grigorqnkov3928 7 месяцев назад +1

    15:12 BULGARIA mantioned !

  • @shristypriyadarshini7514
    @shristypriyadarshini7514 7 месяцев назад

    Voice!!! ❤

  • @ZyLkeFarroh
    @ZyLkeFarroh 8 месяцев назад +1

    I would like to ask how to activate, (source myenv/bin/activate), I am stuck here, I am a windows user and I followed the steps you instructed but I am stuck at this early hahahaha, could you instruct me?

  • @daaimrehman717
    @daaimrehman717 10 месяцев назад

    does anyone know that gpt 4 subscription which costs 20 dollar per month allow access to openai assitants api toekns or not ?

    • @mentalpump
      @mentalpump 10 месяцев назад

      No it doesn't. Open AI's api and chatgpt plus are different things which doesn't correlate. Got OpenAI's billing section and just add no more than $10 to start working with an api.

    • @daaimrehman717
      @daaimrehman717 10 месяцев назад

      @@mentalpump so it's like 10 dollars per month for the assistants api?

    • @mantavyasoni1773
      @mantavyasoni1773 10 месяцев назад

      @@daaimrehman717 No. 10 dollars is just a thresholding price which I personally suggested. You can have whatever. And your balabce will deduct as you use api after that from that balace you hold ie 10 dollars or whatever.

  • @tiffanyw3794
    @tiffanyw3794 9 месяцев назад

    Does this cover how to create images with assistants