OpenAI Assistants API Tutorial - Playground & NodeJS

  Рет қаралды 31,159

Leon van Zyl

Leon van Zyl

Күн бұрын

Пікірлер: 153
@samsquamsh78
@samsquamsh78 Жыл бұрын
Fantastic Leon! Really like how you don't rush and explain each step and avoid taking shortcuts! Well done!
@leonvanzyl
@leonvanzyl Жыл бұрын
Appreciate your feedback 🤗
@m4rtin419
@m4rtin419 Жыл бұрын
It’s a few weeks in since Assistants were released and this is still the video that explains it best!!! Would be great to great to see more Assistants API videos from you!
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you very much. I'll definitely create more videos on Functions, Code Interpreter and Retrieval.
@Kutsushita_yukino
@Kutsushita_yukino 11 ай бұрын
damm its only been that long?
@nickmills8476
@nickmills8476 6 ай бұрын
That was a great intro to the Assistants API. Concise, and easy to understand.
@ClownCallout
@ClownCallout Жыл бұрын
You are the best! I became a Flowise god using your tutorials, now Flowise has added OpenAi assistants in version 1.4.0
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you very much, you made my day with this comment 🤗.
@nicolasgramnea1324
@nicolasgramnea1324 Жыл бұрын
​@@leonvanzyl you have one more here that you helped a ton 👋
@musumo1908
@musumo1908 Жыл бұрын
@leonvanzyl adding to the love here!
@The_Outkeeper
@The_Outkeeper Жыл бұрын
One more
@ClownCallout
@ClownCallout Жыл бұрын
A pleasure! ... You made my decade! So grateful for your brilliant straight to the point clear tutorials I am now on the path to greatness! I am joining your discord I have a Mulit $Million Idea I want to share with you.
@sebastiandeanda2085
@sebastiandeanda2085 Жыл бұрын
This was a great demonstration of how to run the Assistants outside the playground. I haven't seen any other videos though explaining how to hook up the actions to the assistant.
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you for the feedback! Exactly, no one is going to use this in playground only. We WANT to integrate this into our applications.
@lyda1283
@lyda1283 8 ай бұрын
Thanks for such a useful video. It's taken me days to find a video that actually shows you step by step how to create and import the assistant. And you explained it in such an easy to understand way.
@leonvanzyl
@leonvanzyl 8 ай бұрын
You're welcome 🤗
@JoeD0403
@JoeD0403 Жыл бұрын
Great video! People may make some interesting assistants directly within OpenAI, but what you explained is the key to making amazing and practical assistants.
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you for the feedback!
@kirilkirchev285
@kirilkirchev285 Жыл бұрын
Thanks for the comprehensive approach in your videos. They always have straight to the point approach. I am a great fan of your channel since I discovered it in April this year. I have a question - do you use some tools when creating an audio for a video?
@leonvanzyl
@leonvanzyl Жыл бұрын
Amazing comment! Thank you! 🙏. I don't really use any SFX in my own videos, so can't really give a recommendation 😅
@brilliant332
@brilliant332 Жыл бұрын
Thanks Leon, I'd love to see how you work with tools and functions and how to bring some decision making into the AI.
@leonvanzyl
@leonvanzyl Жыл бұрын
Will do 👍
@bigbadcatbigbcy2933
@bigbadcatbigbcy2933 Жыл бұрын
This tutorial is so clear. You can get everything you need to do with openai api. Thanks a lot
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you 🙏
@matheus.maiberg
@matheus.maiberg Жыл бұрын
You are an awesome person, the world needs more people like you. I appreciate every bit of effort that you put into this video. Thank you so much!
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you for the kind words 🙏
@AleXzorZ
@AleXzorZ Жыл бұрын
Yes please, more videos on the assistant API! This guide is the first one I've seen that actually got me coding along (I'm noob) 8-) I feel like i gradually started to understand the logic of the language. Thanks!
@leonvanzyl
@leonvanzyl Жыл бұрын
That is awesome! Glad you enjoyed it. I'll definitely continue this series. We still need to look at programmatically adding files to the knowledge base, and custom functions.
@Kira-fj8el
@Kira-fj8el Жыл бұрын
This video is the best tutorial that I found for open ai assistant but there is small issue that encounted. That is when i try to run whole code onece, the reply msg is not retrive and remaining code is being executed. When next time fun again, previously retrived answer appered, due to time delay of the api responce
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you for the compliment!
@Kira-fj8el
@Kira-fj8el Жыл бұрын
@@leonvanzyl can u resolve that issue from a video
@leonvanzyl
@leonvanzyl Жыл бұрын
@@Kira-fj8el yes, I'll continue with the series looking at practical examples. If I understand your issue correctly, you are unsure of how to get the AI response after running the agent. In a nutshell, you have to fetch the latest status of the run in a loop until a completed status is received. After this you can fetch the list of messages to retrieve the AI response.
@codearabawy
@codearabawy 7 ай бұрын
Thank you very much! I watched the DevDay keynote and your video to understand the practical side of it. Would really be helpful if you make a video for calling assistance apis functions too.
@leonvanzyl
@leonvanzyl 7 ай бұрын
Will do
@NickSealPueo
@NickSealPueo Жыл бұрын
Thanks this was helpful. I couldn’t figure out why I kept getting assistant api errors until watching this.
@leonvanzyl
@leonvanzyl Жыл бұрын
You're welcome 🤗
@riotov1706
@riotov1706 8 ай бұрын
Hey I’m trying to use the retrieve method to retrieve an assistant I made on the open Ai website but I’m getting an error saying the openai.beta.(assistants).retrieve Assistants in brackets because that’s what it’s saying does not exist
@leonvanzyl
@leonvanzyl 8 ай бұрын
I don't think the SDK changed (my own implementations of the solution are still working). Why is assistants in parentheses in your example? Be sure to check the docs as well. platform.openai.com/docs/assistants/overview?context=with-streaming
@joshbrowndev
@joshbrowndev 11 ай бұрын
Thanks Leon! Great video and fantastic explanations. Would love to see more Assistants related content
@leonvanzyl
@leonvanzyl 11 ай бұрын
Noted. I appreciate your comment. Helps to know what I should focus on. Anything I should cover?
@joshbrowndev
@joshbrowndev 11 ай бұрын
@@leonvanzyl Anything regarding best practices working with the API in real world use cases. Integrating into a UI, writing instructions, using tools, current limitations (eg streaming). I’m still very new to this so any content that provides a better understanding of working with the API in a practical sense would be very valuable, at least for me. Thanks again!
@NewUser12345-i
@NewUser12345-i Жыл бұрын
Hello, with this openai update, what do you consider to be the advantages of using flowise with pinecone vs building everything with open ai assistants api?
@leonvanzyl
@leonvanzyl Жыл бұрын
The Assistants API does not offer an easy solution for embedding it in apps and websites. You could use Flowise with the Assistants node for this. Also note that the Assistants API has a massive limit on the Knowledge Base. Think you can only load 10 or so files, where Flowise (Langchain) does not have these limits. The Assistants API is just not ideal for larger enterprise solutions in its current state. This could change of course, but until then there is still a need for frameworks like Langchain and AutoGen. Vector Stores like Pinecone does not have a limit on the amount of sources that you upload.
@NewUser12345-i
@NewUser12345-i Жыл бұрын
@@leonvanzyl Thanks! One other important question: if I build an application on top of flowise. Do I have any risk in case flowise goes out of business or if it's hacked? I think it's not possible to export code
@codewithtae6637
@codewithtae6637 7 ай бұрын
This is good stuff. Appreciate the video! Keep them coming!
@leonvanzyl
@leonvanzyl 7 ай бұрын
Will do
@personone6881
@personone6881 Жыл бұрын
My "node app" doesn't appear in my list of Assistants when I refresh the browser window. I have been meticulous following along however, the only thing I can see that is different between your screen and mine (apart from the project directory, naturally) is that in the Terminal, my path starts with: """ (base) PS C:\etc... """ Where-as yours simply reads: """ PS C:\etc... """ What have I screwed up? :/
@personone6881
@personone6881 Жыл бұрын
Nevermind... Solved: I had it the file in my OneDrive project directory... (I moved it to a directory on my ACTUAL "C:\etc." - at least I think that was the issue - doing so seemed to fix it :))
@leonvanzyl
@leonvanzyl Жыл бұрын
Glad you got it sorted 👍
@samnelson9702
@samnelson9702 Жыл бұрын
cant get it working for me, for some reason I cannot get it to create a new assistant or fetch an existing one, no communication between the two. I tried different API keys, made sure everything was exact to your video and still cant get it working.
@leonvanzyl
@leonvanzyl Жыл бұрын
What's the error?
@andrescondo62
@andrescondo62 6 ай бұрын
Currently, there is a bug, which takes a while to respond, since the run remains in an "in_process" state. Do you already know how to solve it?
@alex_turing
@alex_turing 10 ай бұрын
So after you do run the run can have a status of queued you said. Does this mean retrieving the new message at that moment is not possible? Do we have to somehow wait for status to be complete before getting the new message? If so what way do you suggest to do it? Use an interval to check every second if the status is complete or something? And the assistant can send multiple new messages. So how do we know what the new messages are to only send those to the user? Do we iterate the list till we meet his message?
@leonvanzyl
@leonvanzyl 10 ай бұрын
That's correct. You cannot send new messages while run is incomplete. You might notice on OpenAI Playground, that they actually disable the ability to send messages while the run is busy You might want to implement something similar in your app.
@alex_turing
@alex_turing 10 ай бұрын
@@leonvanzyl I've created a system where each user has his own thread. However, I've noticed I get this error often: InternalServerError: 500 The server had an error while processing your request. Sorry about that! at APIError.generate (/home/container/node_modules/openai/error.js:65:20) at OpenAI.makeStatusError (/home/container/node_modules/openai/core.js:263:33) at OpenAI.makeRequest (/home/container/node_modules/openai/core.js:306:30) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async useChatGPT (/home/container/chatGPT.js:46:19) { status: 500, headers: { 'alt-svc': 'h3=":443"; ma=86400', 'cf-cache-status': 'DYNAMIC', 'cf-ray': '854ff8299fae4bc9-BUF', connection: 'keep-alive', 'content-length': '175', 'content-type': 'application/json', date: 'Tue, 13 Feb 2024 20:54:56 GMT', 'openai-organization': 'user-bdcywrsyy5ryvdhirztdzweb', 'openai-processing-ms': '65', 'openai-version': '2020-10-01', server: 'cloudflare', 'set-cookie': '__cf_bm=MRPGCHelicgR.JMSiDoHRvBTESgbCYG5n7_PyzC8OSk-1707857696-1-ATcgUKolTD9tplyk4tkTTA7E9E3xyTf1GaSFUWE+ygjiygiUcsUSLAMLcbmGiiCJZjIb3+bCA/GvMurlOtSxRqM=; path=/; expires=Tue, 13-Feb-24 21:24:56 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None, _cfuvid=rBZbxj8loSlW2Zv6v7oAGzIkEeSlsELg6tSY508k7q0-1707857696379-0-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None', 'strict-transport-security': 'max-age=15724800; includeSubDomains', 'x-request-id': 'req_2c92df819af026c3b6cafbdfbe2ce0ef' }, error: { message: 'The server had an error while processing your request. Sorry about that!', type: 'server_error', param: null, code: null }, code: null, param: null, type: 'server_error' } It happens when I make some request to chat gpt, like to make a new message in a thread. I think it happens always when two users want to send a message at the same time, the first user will be successful while the second will get this error. As if OpenAI cannot service two threads in parallel. Some times though I get this error even when only one user requests a message
@amajid0268
@amajid0268 Жыл бұрын
Excellent video. Are you able to do a walkthrough of using custom api that has oauth secure authentication, used in an assistant. Using nodejs to execute the assistan
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you 🙏. I'll look into this.
@InLifeGPT
@InLifeGPT 11 ай бұрын
Great Work Leon!!! Keep it going👍
@leonvanzyl
@leonvanzyl 11 ай бұрын
Thank you 🙏
@faizaniqbal3629
@faizaniqbal3629 Жыл бұрын
Hi Leon! I have one more confusion. If I understand correctly, as an AAA agency, our primary objective should be to master the development of Assistant APIs. Additionally, we require a cost-effective platform that allows us to embed these assistants into websites, with a view to offering a more affordable solution than existing chatbot builders like Voiceflow, Botpress, and Flowise AI. Please let me know if my understanding is incorrect
@leonvanzyl
@leonvanzyl Жыл бұрын
You're understanding is correct. First, OpenAI Assistants include Retrieval and Memory built in. This is a significant cost reduction as you don't have to sell additional services likes vector stores to your clients. You can then select a mechanism to include the assistant in an app / website like Botpress, Voiceflow,.Flowise, etc. It's important for AAAs to understand this tech.
@faizaniqbal3629
@faizaniqbal3629 Жыл бұрын
@@leonvanzyl thank you for your answer.I really appreciate it.
@traxtibidox5775
@traxtibidox5775 Жыл бұрын
I was waiting for this video from you 😂 ❤️ Thank you so much for this Leon 🙏
@leonvanzyl
@leonvanzyl Жыл бұрын
Whoohoo 🤗. Glad I could help!
@AliKibao
@AliKibao Жыл бұрын
I've been waiting for your take. Thank you.
@leonvanzyl
@leonvanzyl Жыл бұрын
You're welcome 🤗
@TAMIMMAHMUD
@TAMIMMAHMUD Жыл бұрын
Best video on the assistant API. Period 👏
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you
@asrulmunir
@asrulmunir Жыл бұрын
Can we use Function tool to call external APIs?
@leonvanzyl
@leonvanzyl Жыл бұрын
Absolutely! I'm working on a function calling video where we'll use the function to call an external API.
@bendingreality-
@bendingreality- Жыл бұрын
This is great! Is this possible to set up in Flowise too? (in the graphic interface)
@leonvanzyl
@leonvanzyl Жыл бұрын
Yes, already created a video on that as well 😄
@bendingreality-
@bendingreality- Жыл бұрын
@@leonvanzyl ah lol, I'm blind. Awesome, just watching :)
Жыл бұрын
Nice tutorial, Leon! Simple and effective! Thank you!
@leonvanzyl
@leonvanzyl Жыл бұрын
You're welcome 🤗
@tigana
@tigana 6 ай бұрын
So incredibly helpful
@leonvanzyl
@leonvanzyl 6 ай бұрын
You're welcome 🤗
@ConAim
@ConAim Жыл бұрын
What is the limitation on this? Not that they will allow everyone with just basic package can write websites spamming their services????
@leonvanzyl
@leonvanzyl Жыл бұрын
Not sure I understand the question, but there isn't a limit. You are charged for the tokens used, so if you don't have rate limiting and "spam" the service then you'll simply end up with a massive bill. OpenAI will be quite happy 😊
@OndrejDusek-w4d
@OndrejDusek-w4d Жыл бұрын
Love this vid, Leon. Thank you! Learning only from you these days :). In case you're scouting for follow-up topics - I'd love to see how to use the new OpenAI assistant in Flowise in complex and multistage-agent setups :)
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you for the feedback and suggestions 🤗. Glad I could help.
@LucasLaino
@LucasLaino 9 ай бұрын
Great work!!
@leonvanzyl
@leonvanzyl 9 ай бұрын
Thank you
@marcelo5688
@marcelo5688 9 ай бұрын
It´s amazing. Everything worked. Thank you
@leonvanzyl
@leonvanzyl 9 ай бұрын
You're welcome 🤗
@danielgibbon2463
@danielgibbon2463 Жыл бұрын
Hey Leon. Loved the video. I just wanted to ask what the difference is between the OpenAI assistants API and something like flowise. Because to my knowledge, you can set a very similar system to an OpenAI assistant with vector stores in langchain. Does using the OpenAI assistance API actually provide any advantages or is it equivalent to just setting up a vector store in something like flowise?
@leonvanzyl
@leonvanzyl Жыл бұрын
Hey there. I am going to release a new video in the next few days that combined Flowise with Assistants API. That should hopefully answer your questions. In short, Assistants offer long term memory and Vector Search out of the box. No need for paying for services like Pinecone, etc. Assistants API does not provide an easy solution for embedding the bot in your website. This is where combining Flowise with Assistants API is the perfect fit.
@danielgibbon2463
@danielgibbon2463 Жыл бұрын
@@leonvanzyl Can't wait! I think Liam Ottley showed how to set something up like this with Voiceflow (kzbin.info/www/bejne/gZ-ZnGmlmKqUgZYsi=hleedIyIQ2jE9vlx) and I just wanted to ask how Flowise would compare to Voiceflow for this kind of application?
@khalidkifayat
@khalidkifayat Жыл бұрын
@@danielgibbon2463considering cost effectiveness, flowise is opensource & free, while VF comes with 50$/month. FW UI is not that mature but can do tasks comparing VF.
@insight-guy
@insight-guy Жыл бұрын
Thanks. Always appreciate your insights.
@leonvanzyl
@leonvanzyl Жыл бұрын
You're welcome 🤗
@oOserkanCakmakOo
@oOserkanCakmakOo 9 ай бұрын
Thanks for sharing useful informations its so clear
@leonvanzyl
@leonvanzyl 9 ай бұрын
You're welcome
@khalidkifayat
@khalidkifayat Жыл бұрын
Leon u simply rocked. just a hypothetical question. What should be the asking price of this maths tutor project, if a client needs it and wants me to make it for him ?
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you 👍. You'll probably want to also embed the agent on the clients website, apps, etc. The cost should include the effort to set up the agent as well as the effort to and costs for these tools (Flowise, Botpress, Voiceflow, etc). Or maybe the client wants something completely custom with user authentication and subscription plans. It's really hard to give you an answer based on these points.
@khalidkifayat
@khalidkifayat Жыл бұрын
@@leonvanzylif all your points are included, what should be a decent price ?
@alex_turing
@alex_turing 10 ай бұрын
@@khalidkifayat I would tell the client to use his own API key that he can pay to increase the credits it has. Also I would tell the client to use his own server service for hosting it. Then he should only pay for your efforts. And in my opinion this is something you can make in one day so the price could be pretty low. But if there is demand and not any other people providing it then you can ask for more than it's actually worth. I wouldn't ask for more than 50 euro to be honest
@habertvler8363
@habertvler8363 Жыл бұрын
does it works if we create assistant with files uploaded in chatgpt ui, and then just run a new thread with that assistant id, would it work? ( i think so )
@leonvanzyl
@leonvanzyl Жыл бұрын
Interesting question. The file needs to be associated with the specific assistant. Uploading the file via ChatGPT will not automatically assign the files to the assistants.
@Kira-fj8el
@Kira-fj8el Жыл бұрын
No it works for me
@Kira-fj8el
@Kira-fj8el Жыл бұрын
We can upload files via assistant gui
@alexeyefimik5710
@alexeyefimik5710 Жыл бұрын
Great tutorial, thank you! Please, make more! :) I wanted to point out how you can improve your videos: Please take a bit more time for typing of the code, i had to go back so many times.
@alexeyefimik5710
@alexeyefimik5710 Жыл бұрын
+ it was a bit hard to follow the code as it was constantly under the pop-out windows 12:09
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you very much for the feedback. I'm always looking for ways to improve
@faizaniqbal3629
@faizaniqbal3629 Жыл бұрын
Hi Leon! can you please answer this? What is stopping OpenAI from introducing a subscription model in the future, where for a fee like $50 per month, businesses could effortlessly integrate GPT into their websites or WhatsApp using a GPT builder without any coding? What potential barriers could deter OpenAI from rolling out such a service? As AI garners increasing attention from the business community, will competitors likely follow suit with this monetization strategy? Moreover, what could be the consequences for AI automation agencies as this trend advances?
@leonvanzyl
@leonvanzyl Жыл бұрын
As a AAA you should stay up to date with the service offerings by OpenAI and their competition. Honestly, nothing is stopping OpenAI from releasing those services. However, clients will always be willing to pay for convenience and your knowledge and experience.
@faizaniqbal3629
@faizaniqbal3629 Жыл бұрын
@leonvanzyl, this implies that in this business approach, there's always the possibility that OpenAI might turn into a competitor at any point. I agree with your view that numerous clients are ready to invest in integrating these systems efficiently into their businesses. I had thought earlier that Open Ai would not offer such a service as it needs a very large database to store the user information and knowledge or similar technical issues which is stopping them from doing so.
@greyhairchooselife
@greyhairchooselife Жыл бұрын
defaq, you enlighten me a lot!
@leonvanzyl
@leonvanzyl Жыл бұрын
You're welcome 🤗
@nicolassuarez2933
@nicolassuarez2933 Жыл бұрын
Outstanding!
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you
@juanmartinkuasnosky55
@juanmartinkuasnosky55 Жыл бұрын
Hi leon, great video!!! do you have this repository on github??
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you! I'm working on a comprehensive video. Will include all source code in that project.
@DanielNicolasFrenchCookies
@DanielNicolasFrenchCookies Жыл бұрын
I do not see Assistant in my OpenAi. I have GPT4
@leonvanzyl
@leonvanzyl Жыл бұрын
I'm not aware of any restrictions. Ensure to use the link on the description.
@mhb11
@mhb11 Жыл бұрын
Can an assistant spawn (and later destroy) another assistant?
@leonvanzyl
@leonvanzyl Жыл бұрын
Guess it's possible. You could add functions to add and destroy agents. These functions then call the APIs.
@matthewkk5087
@matthewkk5087 10 ай бұрын
You exceeded your current quota, please check your plan and billing details. I am getting this error. should I buy something? on the other hand your video is an amazing
@leonvanzyl
@leonvanzyl 10 ай бұрын
Hey there. That means you've exceeded your OpenAI credit limit, or your free credits have expired.
@TinyMagiq
@TinyMagiq Жыл бұрын
Good one @leon a create in playground and tie it with code.
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you 🙏
@mikew2883
@mikew2883 Жыл бұрын
Excellent overview! 👍
@leonvanzyl
@leonvanzyl Жыл бұрын
Excellent comment 👏. Thank you 😊
@Ryan-yj4sd
@Ryan-yj4sd Жыл бұрын
I’d be interested to see the Flowise integrations
@leonvanzyl
@leonvanzyl Жыл бұрын
Working on it
@XCmdr007
@XCmdr007 Жыл бұрын
Makes two of us. Would you Leon say that using Flowise to access Langchain functionality is still powerful? I saw your comment about using it as a Wrapper which makes sense if the use case is to use it for chatting. Langchain’s functions go beyond this as we mall know and Flowise provides for lots of cool stuff. What is your take? …. And … would you be working on a video that shows how to create actions with the Assistant API … and perhaps something from Flowise? 😅 Thanks so much for your awesome content. It is done with much clarity and wisdom. The impact you have on folks like me is transformative. Thank you again!
@leonvanzyl
@leonvanzyl Жыл бұрын
@@XCmdr007 I use both Flowise and Langchain all the time. If you're not a developer, then Flowise is a fantastic low-code solution for creating and selling flows to your clients. For bespoke solutions I use Langchain (mostly the JS version). I'll be covering Assistants API with Flowise SOON, and will definitely create a video on Actions / Functions as well 😁.
@nicolasgramnea1324
@nicolasgramnea1324 Жыл бұрын
​​@@leonvanzyl Flowise needs to be deployed on the cloud to embed a chatbot on a live website? Or how does they work? I looked many of your videos but this part is not clear to me, as I see you work mainly on local host. Thank you for your time.
@leonvanzyl
@leonvanzyl Жыл бұрын
@@nicolasgramnea1324 I have a video on deploying Flowise that you should out then 👍. For these tutorials I simply run Flowise on Localhost, but for real world, production applications, you need to run Flowise in the cloud. For example, if you want to embed Flowise in a website (which is online) then you cannot use a local endpoint.
@Kondrill
@Kondrill Жыл бұрын
Hi Leon, great content! Subscribed directly! Do you think it is possible to use this Assistants API Beta and create an UI with Chainlink with it? I've tried it, but I have to admit that I am not so long in the coding business.. Anyways, thank you for your Videos!
@leonvanzyl
@leonvanzyl Жыл бұрын
Thanks for the compliment and sub 🤗. I'm not familiar with Chainlink, so don't want to risk giving you an answer. I might work on a video showing how we can create a UI for Assistants API.
@Kondrill
@Kondrill Жыл бұрын
Ah that's great to know and thank you for your quick answer! @@leonvanzyl
@anow2
@anow2 Жыл бұрын
It's a shame that the Assistant builder doesn't have the same features at ChatGPT's "GPT Builder" - importing an API by just providing the OpenAPI YAML was magical.
@leonvanzyl
@leonvanzyl Жыл бұрын
Agreed
@musumo1908
@musumo1908 Жыл бұрын
Awesome video! Thank god for people who do proper coding to explain everything 😉😄 Do you think this will get rid of needing memory stores and vector dbs for simple cases?? Im now able to run amazing stuff from just the openai assistant node in. FW….although not checked my bills yet
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you for the feedback! This will definitely replace the need for seperate memory and vector stores. This is still in beta, so your results may vary, but it's exciting to know that the results will improve.
@musumo1908
@musumo1908 Жыл бұрын
Yeah for sure! I see you can actually upload a doc into threads from the openaidocs…if you’re ok with a closed system it’s now way easier to build stuff…will def kill a lot of those endless startups lol…now to find a cool frontend to wrap all this in!
@alexismatzopoulos6930
@alexismatzopoulos6930 11 ай бұрын
Thanks Leon!
@leonvanzyl
@leonvanzyl 11 ай бұрын
You're welcome 🤗
@gerdberlin2
@gerdberlin2 Жыл бұрын
More of that please!
@leonvanzyl
@leonvanzyl Жыл бұрын
Will do. Working on retrieval and custom functions. Stay tuned 😁
@Pure_Science_and_Technology
@Pure_Science_and_Technology Жыл бұрын
CAUTION! FYI there is a failure of direct retrieval with GPT-4 using the new OpenAI Assistant API. GPT tokenizes text and creates its own vector embeddings based on its specific training data. The new terms and sequences may not connect well to the pretrained knowledge in GPT's weight tensors. There was no semantic similarity between the new API terms and GPT's existing vector space. This is a fundamental issue with retrieval augmentation systems like Rag - external knowledge is not truly integrated into the model's learned weights. Adding more vector stores cannot solve this core problem. The solution is to have multiple learned "knowledge planes" with trained weight tensors for specific tasks that can be switched in. This is better than just retrieving separate vector representations.
@leonvanzyl
@leonvanzyl Жыл бұрын
Interesting. The solution is still in beta, so I'm sure this will be improved soon enough.
@BitsNBytesAI
@BitsNBytesAI Жыл бұрын
Excellent
@leonvanzyl
@leonvanzyl Жыл бұрын
Thank you
@leonardosouzaconradodesant6213
@leonardosouzaconradodesant6213 8 ай бұрын
Super like
@Hana-qf5sn
@Hana-qf5sn Жыл бұрын
Thanks
@leonvanzyl
@leonvanzyl Жыл бұрын
You're welcome
@Lucaslima-gz9vk
@Lucaslima-gz9vk 4 ай бұрын
you need to make 9237 requests to get a simple response :(
Integrating OpenAI Assistants with Websites using FlowiseAI
27:03
Leon van Zyl
Рет қаралды 28 М.
MindStudio Tutorial: AI Agents That Work For You
18:30
Leon van Zyl
Рет қаралды 2,7 М.
OpenAI Assistants Tutorial for Beginners
27:03
Dave Ebbelaar
Рет қаралды 70 М.
ElevenLabs Conversational AI Agents (Crash Course)
9:01
Leon van Zyl
Рет қаралды 12 М.
OpenAI Assistant API Tutorial With Code Examples
21:52
codewithbrandon
Рет қаралды 30 М.
OpenAI Assistants API  - Code Tutorial  (NodeJs)
12:47
SerpApi, LLC
Рет қаралды 4,4 М.
How to Create Agent Swarms With the NEW OpenAI Assistants API
10:24
Arseny Shatokhin
Рет қаралды 37 М.
🤯 OpenAI Assistants API Python (Full Tutorial)
15:18
AssemblyAI
Рет қаралды 74 М.
Build your FIRST OpenAI Assistant With Function Calling
12:26
Make Stuff With AI
Рет қаралды 32 М.
The Easiest Way to Use 280+ AI Models (Including FREE Ones)
8:07
Leon van Zyl
Рет қаралды 4,8 М.
OpenAI Assistants API coding tutorial
17:27
Ralf Elfving
Рет қаралды 45 М.
Bee Agent Framework: Build AI Agents Fast 🔥
27:55
Leon van Zyl
Рет қаралды 5 М.