Custom GPTs with Actions by connecting own API & Authentication (OpenAI GPTs Part 2)

  Рет қаралды 2,001

Hubel Labs

Hubel Labs

9 ай бұрын

In this video, we will explore more advanced functionality that comes with GPT. We will dive into give GPT the ability to take ACTIONS on our behalf by connecting it with our own APIs. We also walk through, step-by-step, how to configure the API authentication when using API keys in authentication headers.
We go under the hood on a real life example of how we built a tool for customer service agents to retrieve information about customers simply by using a natural language interface.
For more information about the different ways of passing an API key into a request, check out this blog post: blog.stoplight...

Пікірлер: 31
@SwingingInTheHood
@SwingingInTheHood 6 ай бұрын
Thanks for the video. It helped me get my GPT and action up and running within a couple hours. Good work!
@mikew2883
@mikew2883 9 ай бұрын
Excellent tutorial! Thanks for sharing. 👍
@cgc2300
@cgc2300 2 ай бұрын
Hello Could you give me examples so that I understand how the APIs work or more precisely the results that I could obtain depending on the different apps that I use? Do you know if there is a site that can give me examples of using GPTs with API just to have examples?
@vredrick_
@vredrick_ 9 ай бұрын
Thanks for sharing about the api keys. I been struggling around with that. Much appreciated ❤
@hubel-labs
@hubel-labs 9 ай бұрын
Did it work for you? I struggled with it for 2 days…
@cgc2300
@cgc2300 3 ай бұрын
hello is there a GPT to which I could give my ideas and my objectives and that it tells me how to build a m on where the prompts and if I should add a database and APIs? I ask the cat but he doesn't know how to do it, I don't think he's very intelligent and thank you for the videos
@cgc2300
@cgc2300 Ай бұрын
hello I wrote to you to tell you that I have a lot of difficulty understanding how GPT works
@nazihfattal974
@nazihfattal974 9 ай бұрын
Thanks for a great video. Seems like the AI assistant function call is bit easier to deal with and possibly more flexible.
@hubel-labs
@hubel-labs 9 ай бұрын
Yeah, I agree!
@mateuszpiechowiak2891
@mateuszpiechowiak2891 9 ай бұрын
Thanks for the video. Very helpful! Where can I find documentation for this schema?
@hubel-labs
@hubel-labs 9 ай бұрын
U mean the code interpreter part? platform.openai.com/docs/assistants/tools/code-interpreter
@mastermind5806
@mastermind5806 9 ай бұрын
thank you for the video very interesting.. can you please change the keyboard for next video it is very noisy.. Thank you again
@hubel-labs
@hubel-labs 9 ай бұрын
😅 good suggestion. I love that keyboard but you are right… it’s not really not suitable for video making LoL….
@averma12
@averma12 9 ай бұрын
Thanks for video. So Just to confirm you can define the api docs using the openapi schema and the schema should specify that it needs api key and then you add api key auth below correct?
@hubel-labs
@hubel-labs 9 ай бұрын
Correct 👍
@wiseworkflowsai
@wiseworkflowsai 9 ай бұрын
Hi, great video. Thanks for sharing. Quick question: at any point did you step into an "error saving draft" problem? If so, how did you manage to fix it? Im trying to figure out if its something on my end or on OpenAI's end.
@hubel-labs
@hubel-labs 9 ай бұрын
Yes, I did. I think it’s openAI. Platform Is still quite buggy.
@masterycgi
@masterycgi 8 ай бұрын
Great video!, do think It would be a good Idea to model the main possible interactions of the user and provide distinct endpoints to an assistant?, or would it be ending in too much overhead for complex questions?
@hubel-labs
@hubel-labs 8 ай бұрын
Yes, if I understand your question correctly…. It is possible to provide up many distinct endpoints. In the API version of this (assistants api), the max is 128.
@masterycgi
@masterycgi 8 ай бұрын
I was asking your opinion about keep adding endpoints. For example if you ask GPT a complex data analysis that needs to call 3 or 4 endpoints, to get the data, don't you think this could take too much time to respond?. In other words I'm concerned about the scaling of this solution. @@hubel-labs
@cgc2300
@cgc2300 3 ай бұрын
hello and thank you very much for your videos, however I still have a lot of things that I don't understand, could I ask you some questions
@hubel-labs
@hubel-labs 3 ай бұрын
Feel free to ask here and I will try to answer if I can
@cgc2300
@cgc2300 3 ай бұрын
@@hubel-labs I have around ten ideas and the first concerns SEO and automation. I don't know how to go about it and I would like to know if my ideas are good and feasible. I talk about my ideas to chatgpt so that he can tell me what he thinks about them and then correct me if these ideas are not good or so that he can make suggestions to me and also he can tell me how to make a GPT based on my ideas and my goals but these answers are very basic I would like to sell on eBay... my first idea I had regarding automation an idea would be that my analytical software scans all my listings on eBay then automatically scans me and searches for keywords then changes all the keywords automatically without my intervention so it's an idea that I had and I submitted it to gpt4 so that he can tell me if it's a good idea and if there is perhaps a better one to offer me but these answers are are very basic so can you tell me what you think about it? This is only my first idea but I also had many others and I wrote them on a Google doc but the problem is that I asked chatgpt to translate it for me into English understandable but he is also very bad at it I mean the translations remain very basic like with Google Translate
@cgc2300
@cgc2300 3 ай бұрын
@@hubel-labs I have around ten ideas and the first concerns SEO and automation. I don't know how to go about it and I would like to know if my ideas are good and feasible. I talk about my ideas to chatgpt so that he can tell me what he thinks about them and then correct me if these ideas are not good or so that he can make suggestions to me and also he can tell me how to make a GPT based on my ideas and my goals but these answers are very basic I would like to sell on eBay... my first idea I had regarding automation an idea would be that my analytical software scans all my listings on eBay then automatically scans me and searches for keywords then changes all the keywords automatically without my intervention so it's an idea that I had and I submitted it to gpt4 so that he can tell me if it's a good idea and if there is perhaps a better one to offer me but these answers are are very basic so can you tell me what you think about it? This is only my first idea but I also had many others and I wrote them on a Google doc but the problem is that I asked chatgpt to translate it for me into English understandable but he is also very bad at it I mean the translations remain very basic like with Google Translate
@cgc2300
@cgc2300 3 ай бұрын
@hubel-labs it's very complicated to understand how actions and APIs work I have around ten ideas and the first concerns SEO and automation. I don't know how to go about it and I would like to know if my ideas are good and feasible. I talk about my ideas to chatgpt so that he can tell me what he thinks about them and then correct me if these ideas are not good or so that he can make suggestions to me and also he can tell me how to make a GPT based on my ideas and my goals but these answers are very basic I would like to sell on eBay... my first idea I had regarding automation an idea would be that my analytical software scans all my listings on eBay then automatically scans me and searches for keywords then changes all the keywords automatically without my intervention so it's an idea that I had and I submitted it to gpt4 so that he can tell me if it's a good idea and if there is perhaps a better one to offer me but these answers are are very basic so can you tell me what you think about it? This is only my first idea but I also had many others and I wrote them on a Google doc but the problem is that I asked chatgpt to translate it for me into English understandable but he is also very bad at it I mean the translations remain very basic like with Google Translate
@cgc2300
@cgc2300 3 ай бұрын
to sum up : there are several topics that I would like to look into and I have 1000 questions, I would like to use gpt4 like a super teacher, to have him correct my ideas about marketing, and it's really not great for me despite the 100 billion pieces of data it has and I understood that if I do a gpts then the problem will be solved? there are directories of GPTs but what I would like is to see how they are made up for example there is a GPT it is called Universal primer and which apparently is the kind of GPT I need I mean who knows everything about everything and who can give me amazing tutorials, you know? but there is no way of knowing how this kind of gpt is done? also I would have liked to ask GPT 4 how to make a GPT according to my objective but gpt4 and as evasive as 3.5 and still in the construction of a GPT, I would have liked to know what it is possible to do with the APIs So what I would like is to tell you what I want to do, my objectives, and for you to tell me how I should build my GPS or is there a gpt that could help me say how Do I have to create my GPT for what I want, I fart 4 can't do it despite its 100 billion data
@arthexis
@arthexis 9 ай бұрын
Thanks for the video. I am still struggling with saving, my API seems valid but whenever I try to save I get the same "error saving draft". Since I can save it without the api key, but not with it, I tried testing my API (and I can see in my logs how chatgpt tries to reach it and gets bounced back by my own api-key security XD). IE, it just doesn't want to include the header.
@hubel-labs
@hubel-labs 9 ай бұрын
Are you using the same auth method as I am in the video? There were times when I had to refresh the page or even just create a new GPT to bypass the bugginess of the system.
@arthexis
@arthexis 9 ай бұрын
@@hubel-labs I added this to my api spec, and tried both adding the security element on the endpoints and to the root level of the json, no difference. Saving it before adding the auth is fine, but when you choose API Key or Bearer it doesn't let you save and just shows "Error saving draft" and doesn't go away until you remove. From the server side it just returns a "Internal Server Error" in a json under the hood (yeah I am trying to figure out if I can debug it for them or something at this point) "components": { "securitySchemes": { "api_key": { "type": "apiKey", "in": "header", "name": "x-api-key" } }, "schemas": {} }
@cgc2300
@cgc2300 2 ай бұрын
Hello
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 74 МЛН
Challenge matching picture with Alfredo Larin family! 😁
00:21
BigSchool
Рет қаралды 28 МЛН
Son ❤️ #shorts by Leisi Show
00:41
Leisi Show
Рет қаралды 10 МЛН
Google Gemini vs OpenAI chatGPT 4 bake-off - SURPRISING results!
34:51
How to connect to ChatGPT using C# [A new course on Udemy]
1:44
all about C# (CSharp)
Рет қаралды 23
How to Monetise GPTs in ChatGPT TODAY! (5 Examples)
15:08
Daragh Walsh
Рет қаралды 8 М.
🤫 I SHOULD BE SELLING THIS KEYWORD RESEARCH METHOD
12:46
Income stream surfers
Рет қаралды 56 М.
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 74 МЛН