OpenAI Assistants Tutorial for Beginners

A lot of data professionals want to explore freelancing, but lack the systems, tools, and guidance on how to get started. If you're curious about how we help data analysts, engineers, and scientists, beyond these videos, the link below will explain. No nonsense, no webinar and no "free training". Check it out: www.datalumina.com/data-freel...
🔗 Links in this video
github.com/daveebbelaar/pytho...
📚 Check out ProjectPro
shorturl.at/dsAIR
⏱️ Timestamps
00:00 Introduction
01:31 OpenAI Connection
02:22 Understanding the New Assistants API
05:16 Create Your Assistant
08:20 What's ProjectPro?
09:17 Understanding Threads & Messages
12:07 Running Assistants
17:14 Building an Assistant's Framework
22:23 My Thoughts on the Assistants API
25:01 What is Data Alchemy?
👤 Follow me on LinkedIn
/ daveebbelaar
👋🏻 About Me
Hey there, my name is @daveebbelaar and I work as a freelance data scientist and run a company called Datalumina. You've stumbled upon my KZread channel, where I give away all my secrets when it comes to working with data. If you want to learn more about what I do, then head over to www.datalumina.com/

Пікірлер: 79

  • @daveebbelaar
    @daveebbelaar6 ай бұрын

    🔐 Copy my AI tools & workflows: bit.ly/data-alchemy 💰 Kick-start your data freelance career: www.datalumina.com/data-freelancer

  • @thegreycat
    @thegreycat5 ай бұрын

    Thank you so much for the video. This was the most helpful video I have watched on this subject so far. I immediately went and signed up for Data Alchemy and I am very impressed by the offerings there. Thanks again!

  • @abhishekdhoundiyal3512
    @abhishekdhoundiyal35123 ай бұрын

    Great Tutorial , Thank You so much for this

  • @PeterPan-hs5tu
    @PeterPan-hs5tu6 ай бұрын

    So good to see you Dave, love your work, gonna follow this tutorial def!!

  • @daveebbelaar

    @daveebbelaar

    6 ай бұрын

    Good to see you here again as well Peter!

  • @kexuanwang4197
    @kexuanwang41973 ай бұрын

    Thank you so much for this video!

  • @wongr643
    @wongr6435 ай бұрын

    This really is awesome content Dave. I really enjoy the video

  • @wongr643
    @wongr6435 ай бұрын

    Thanks Dave. Great content as always, what do you think about the retrival quality. You mentioned in 23:51 that that you had some issues. How would you rate the overall experience on a scale of 10? Clearly build this block by block usiong other framework takes a lot more work. And retrival time sometimes is quite long. Would be awesome if you can do another tutorial on this topic!

  • @theoneandonlygerald-tube1163
    @theoneandonlygerald-tube11636 ай бұрын

    Thank you so much! I have been struggling to make a simple chatbot using the Assistent API. No problem to get the first response, but it was really difficult to get the next. A modified version of your script solved the issue. Such a good presentation and demonstration 🙂

  • @AdityaNarayanasetti

    @AdityaNarayanasetti

    5 күн бұрын

    hey could u help me out im gettin an error

  • @Martyniqo
    @Martyniqo6 ай бұрын

    Thank you for this video! Can you consider recording function calling without using langchain?

  • @christiaanheydenrych1460
    @christiaanheydenrych14602 ай бұрын

    Thank you for this video!! You answered my big question: - ‘should i go all in?’ because i also have a current codebase linking openai, pinecone, etc. And, i like having that control :)

  • @tiagozaro2133
    @tiagozaro213328 күн бұрын

    Congrats man!

  • @GeobotPY
    @GeobotPY6 ай бұрын

    Nice walkthrough! I think one major advantage you did not go deep into is that the assistants API seamlessly integrates code interpreter, which has a lot advantages in certain domains. However, I also agree that the customizability from chat completions offer a more controllable RAG solution. I am currently considering trying to implement an assistant API function with code interpreter which I can utilize through a function call within the chat completion - thoughts on this approach? Additionally, I think building agent swarms with the assistants API is interesting - would love to see a video from you on this topic;) Keep up the good work!

  • @daveebbelaar

    @daveebbelaar

    6 ай бұрын

    Will definitely cover the code interpreter and function calling in future videos. The idea of these "swarms" also intrigues me.

  • @WahabAwudu
    @WahabAwudu6 ай бұрын

    Thanks so much for this video. I would still build a project on this while keeping an eye on it's development as time goes on. Again, thanks so much for the video. Kudos to you!

  • @daveebbelaar

    @daveebbelaar

    6 ай бұрын

    Thanks!

  • @YasuoMidOnly
    @YasuoMidOnly6 ай бұрын

    thanks so much, this allows for so much development potential!

  • @daveebbelaar

    @daveebbelaar

    6 ай бұрын

    Absolutely!

  • @manas.m22
    @manas.m224 ай бұрын

    Please consider increasing font size of the code editor when recording videos. Thanks for the great content.

  • @daninnamiranian6293
    @daninnamiranian62935 ай бұрын

    you deserved all the likes, thank you

  • @notmanas
    @notmanas6 ай бұрын

    Hi Dave, loved the video! Talking about RAGs, is it possible to create an assistant that would do NLP to SQL and connect directly to a database (like Snowflake etc.)? Although Langchain does provide an SQLDatabaseChain to do this exact same thing, but it's inefficient and can't track older messages - so I was thinking this could be a good assistant. But how, is my question.. how would this assistant create and test those queries in a database? Any ideas? TIA :)

  • @Patrick_Karlsen
    @Patrick_Karlsen6 ай бұрын

    Hey Dave, love your videos! You're really an inspiration to someone studying in the same field (AI). I'm hoping to also do some freelance work when I get a bit further into my studies. Can I ask how you managed to acquire clients when you first started? Has any of the connections been made through KZread?

  • @daveebbelaar

    @daveebbelaar

    6 ай бұрын

    That's awesome! When you're starting out, I would recommend using your network and LinkedIn. I now get clients through KZread, but this was not the case for the first 4 years of my freelance career.

  • @labrandons
    @labrandons3 ай бұрын

    i share the same hesitations as you do too. I think the downsides are the same as OpenAI 3.5 fine tuning, lack of control being the key. Ease of access is great, and I really wanted to use this for simple personal apps as the threads management is ideal for memory management, but lack of streaming and control is a tough sell.

  • @idotadmor2228
    @idotadmor22283 ай бұрын

    Great tutorial! How can we connect it to a library like streamlit to be able to give non developer users to play with my assistant in web env?

  • @alexeyefimik5710
    @alexeyefimik57106 ай бұрын

    Great tutorial! Dave, what's the extention you used to run python in real time on the right?

  • @daveebbelaar

    @daveebbelaar

    6 ай бұрын

    Thanks! Check out this video: kzread.info/dash/bejne/rKmgqa-Sl5PcZrg.html

  • @syenza
    @syenza6 ай бұрын

    Great video, thanks! Do you take on private clients to implement the above and other projects?

  • @daveebbelaar

    @daveebbelaar

    6 ай бұрын

    Yes! Check out Datalumina's website in the description.

  • @njoffra_6875
    @njoffra_68755 ай бұрын

    hey, great content keep it going. i would like to know how do you split your screen like that and on the right side you have some informations about code being executed etc. would love to learn that, thank you very much in advanced

  • @daveebbelaar

    @daveebbelaar

    5 ай бұрын

    Thanks! Check out this video: kzread.info/dash/bejne/rKmgqa-Sl5PcZrg.html

  • @michalvuthien6457
    @michalvuthien64576 ай бұрын

    Nice Video, great to hear you are also finding the same issues with the BETA version of the Assistant 😂

  • @starbuck1002
    @starbuck10026 ай бұрын

    Great video pal

  • @daveebbelaar

    @daveebbelaar

    6 ай бұрын

    Thanks! 🙏🏻

  • @Lenslyfe
    @Lenslyfe6 ай бұрын

    Just to note, unless you have $10 credit in your openai account, you can't use the model listed in the video. You can use: model="gpt-3.5-turbo-1106" for free and it works for the retrieval tool. Also Dave I think you forgot to add the FAQ pdf in the repo? Cheers though, nice to set this up last night, will wait for the rest 👍

  • @daveebbelaar

    @daveebbelaar

    6 ай бұрын

    Thanks for pointing that out! The /data/ was in the .gitignore file. I just fixed it ;)

  • @Nursultan_karazhigit
    @Nursultan_karazhigit6 ай бұрын

    Thanks for the video I have two questions. 1)Is there any difference between assistent and custom gpts ? 2)and How can i integrate them in instagram or whatsapp ?

  • @AliAbassi1
    @AliAbassi16 ай бұрын

    Good stuff 🙌

  • @daveebbelaar

    @daveebbelaar

    6 ай бұрын

    🤝

  • @micbab-vg2mu
    @micbab-vg2mu6 ай бұрын

    Thank you for the video - very usuful. The new APIs are great.

  • @daveebbelaar

    @daveebbelaar

    6 ай бұрын

    Glad it was helpful!

  • @deividaspaulauskas2751
    @deividaspaulauskas275118 күн бұрын

    Who needs netflix when you can binge watch this…

  • @cryptoairdroppp
    @cryptoairdroppp6 ай бұрын

    thank you far this amazing vid

  • @daveebbelaar

    @daveebbelaar

    6 ай бұрын

    You're very welcome!

  • @janwibhattar5439
    @janwibhattar543919 күн бұрын

    Hey Dave! Do we need to buy ChatGPT Plus for this? Please please please reply 🥺

  • @FazalMalik
    @FazalMalikАй бұрын

    Do we need premium ChatGPT model to use OpenAI 's "Retrieval" tool for creating personal Assistant?

  • @fintech1378
    @fintech13782 ай бұрын

    , a question, im new to OAI assistant 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

  • @dz1nker
    @dz1nker5 ай бұрын

    Did everything exactly, but the assistant is not being created. You have an error in the code in line 34 (the file variable is undefined), but somehow the code was compiled anyway. How can I fix the error?

  • @sup_nim
    @sup_nimАй бұрын

    make video in darkmode please. great work

  • @truehighs7845
    @truehighs78456 ай бұрын

    I was hoping you would show a way to output the chat to Whatsapp, so far I managed to do it with manychats, which is actually convenient also to build the workflow visually and not code it, as well as using built in function like forms and canned responses, but all in all if there was a way to do that without proprietary software it would be even better.

  • @daveebbelaar

    @daveebbelaar

    6 ай бұрын

    I will cover that in a next video! You can check out the repo already that is linked in the description. All the code and instructions are there already ;)

  • @truehighs7845

    @truehighs7845

    6 ай бұрын

    @@daveebbelaar Thanks a lot, keep up the good work!

  • @DJPapzin
    @DJPapzin6 ай бұрын

    🎯 Key Takeaways for quick navigation: 21:21 🧠 *Understanding OpenAI Assistant Integration* - Overview of integrating OpenAI Assistant with user-specific queries. - Demonstration of handling different user queries for John and Sarah. - Mention of the simplicity of achieving this in about 100 lines of code. 22:05 🚀 *Should You Go All-In on OpenAI Assistance API?* - Discussion on the hesitation to convert existing applications to OpenAI's new API. - Current approach of building custom functionality using length chain Vector databases. - Considerations about data control, beta version concerns, and potential issues with API responses. 24:37 🧭 *Future Recommendations and Exploration* - Encouragement to understand OpenAI Assistant concepts like managing threats and messages. - Recommendation to explore and play with the Assistant API while being cautious for full-scale applications. - Mention of the Alchemy Codex and free group "Data Alchemy" for further learning. 25:50 📚 *Closing Remarks and Future Plans* - Gratitude for watching and a request to like and subscribe. - Apology for recent absence, explanation of personal changes, and commitment to consistent future uploads. - Teaser for upcoming content, including the complete WhatsApp Bot video. Made with HARPA AI

  • @abdelhaibouaicha3293
    @abdelhaibouaicha32936 ай бұрын

    Generated by Talkbud: 📝 Summary of Key Points: 📌 The video tutorial explains how to work with the OpenAI Assistance API to build your own bots. It covers creating an assistant, enabling retrieval, uploading data, generating responses, and running the assistant. 🧐 The concept of threads and messages is introduced, allowing developers to keep track of different conversations. The tutorial demonstrates how to create and store threads based on unique identifiers and discusses using a database solution to store and retrieve thread information. 🚀 The speaker recommends keeping an eye on the development of the Assistance API and mentions their free online community, Data Alchemy, where they teach data science and artificial intelligence. 💡 Additional Insights and Observations: 💬 "The Assistance API is a powerful tool for building conversational AI bots." 📊 No specific data or statistics were mentioned in the video. 🌐 The speaker mentions their free online community, Data Alchemy, as a resource for learning data science and artificial intelligence. 📣 Concluding Remarks: The video tutorial provides a step-by-step guide on using the OpenAI Assistance API to build bots. It covers the creation of an assistant, retrieval, data uploading, generating responses, and running the assistant. The concept of threads and messages is explained, along with the use of a database solution for storing and retrieving thread information. The speaker recommends keeping an eye on the Assistance API's development and mentions their free online community, Data Alchemy.

  • @gaptekdev
    @gaptekdev5 ай бұрын

    Can you make screen more bigger please

  • @XiaoMoli7844
    @XiaoMoli78446 ай бұрын

    Can you do a video explaining the function calls and incorporating it into a bot tutorial like this? Plz I'm so confused 😭

  • @daveebbelaar

    @daveebbelaar

    6 ай бұрын

    Noted!

  • @jushotheone
    @jushotheone6 ай бұрын

    What I’ve been struggling with is to connect the assistant api to my slackbot

  • @ChronicleContent
    @ChronicleContent6 ай бұрын

    I didn't understand how is this related to airbnb and whatsapp? how does the bot sends messages to whatsapp?

  • @daveebbelaar

    @daveebbelaar

    6 ай бұрын

    That’s for another video. This part only covered the OpenAI integration. Not the WhatsApp integration.

  • @dheerajsachdeva5735

    @dheerajsachdeva5735

    6 ай бұрын

    @@daveebbelaarhope you are creating another video for this WhatsApp OpenAI assistant! Very interesting use case. Your tutorials are the best out there! 👍🏽

  • @shalaye1266
    @shalaye12662 ай бұрын

    Is that free to create open ai assistant

  • @naturallydope247
    @naturallydope2474 ай бұрын

    What’s Arc? Is that an app?

  • @daveebbelaar

    @daveebbelaar

    4 ай бұрын

    Web browser

  • @asiddiqi123
    @asiddiqi1234 ай бұрын

    Can you share your code?

  • @AIPulse118
    @AIPulse1186 ай бұрын

    What if you arent a developer and you want to do this?

  • @daveebbelaar

    @daveebbelaar

    6 ай бұрын

    Then I would look at tools like Botpress and Voiceflow.

  • @user-co9kt1ol7c
    @user-co9kt1ol7c4 ай бұрын

    There's so much assumed knowledge here that "true" beginners really get lost. You literally need to start from the basics to educate people like me who have no prior knowledge of this.

  • @osvaldohuerta5779

    @osvaldohuerta5779

    3 ай бұрын

    Or you start investigating on your own? Write what you dont know and ask GPT?

  • @NgocHieuDoan
    @NgocHieuDoanАй бұрын

    Is it free?

  • @liamboyd4676
    @liamboyd46766 ай бұрын

    I think langchain is still easier

  • @daveebbelaar

    @daveebbelaar

    6 ай бұрын

    Agree, and you have way more control.

  • @liamboyd4676

    @liamboyd4676

    6 ай бұрын

    @@daveebbelaar do you find a vector store better than others? Building an app with chroma but not sure if good choice

  • @stephenmcdermott1468
    @stephenmcdermott1468Ай бұрын

    I wouldn't exactly call this for "beginners"...most beginners don't run python lol...great info though

  • @chrisquinn3377

    @chrisquinn3377

    Ай бұрын

    Question, how did he store the pdf file as a path variable?

  • @user-cq1wc5tz7c
    @user-cq1wc5tz7c6 ай бұрын

    >> I believe we are meant to be like Jesus in our hearts and not in our flesh. But be careful of AI, for it is just our flesh and that is it. It knows only things of the flesh (our fleshly desires) and cannot comprehend things of the spirit such as peace of heart (which comes from obeying God's Word). Whereas we are a spirit and we have a soul but live in the body (in the flesh). When you go to bed it is your flesh that sleeps but your spirit never sleeps (otherwise you have died physically) that is why you have dreams. More so, true love that endures and last is a thing of the heart (when I say 'heart', I mean 'spirit'). But fake love, pretentious love, love with expectations, love for classic reasons, love for material reasons and love for selfish reasons that is a thing of our flesh. In the beginning God said let us make man in our own image, according to our likeness. Take note, God is Spirit and God is Love. As Love He is the source of it. We also know that God is Omnipotent, for He creates out of nothing and He has no beginning and has no end. That means, our love is but a shadow of God's Love. True love looks around to see who is in need of your help, your smile, your possessions, your money, your strength, your quality time. Love forgives and forgets. Love wants for others what it wants for itself. Take note, true love works in conjunction with other spiritual forces such as patience and faith (in the finished work of our Lord and Savior, Jesus Christ, rather than in what man has done such as science, technology and organizations which won't last forever). To avoid sin and error which leads to the death of our body and also our spirit in hell fire, we should let the Word of God be the standard of our lives not AI. If not, God will let us face AI on our own and it will cast the truth down to the ground, it will be the cause of so much destruction like never seen before, it will deceive many and take many captive in order to enslave them into worshipping it and abiding in lawlessness. We can only destroy ourselves but with God all things are possible. God knows us better because He is our Creater and He knows our beginning and our end. Our prove text is taken from the book of John 5:31-44, 2 Thessalonians 2:1-12, Daniel 7-9, Revelation 13-15, Matthew 24-25 and Luke 21. Let us watch and pray... God bless you as you share this message to others.