Creating Custom GPTs: API Key For Custom Actions | Complete Guide

Creating Custom GPTs: API Key For Custom Actions | Complete Guide

Corbin Brown

6 месяцев назад

42,848 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@IacobPastina196
@IacobPastina196 - 05.01.2024 18:54

When retrieving articles, are your URLs working? I think OpenAI had to adapt their policies based on recent law and it doesn't do that anymore. It can only retrieve summaries and some content from the main article

Ответить
@SunnyvaleSavage
@SunnyvaleSavage - 16.12.2023 02:41

Wow dude you’re the only one who I’ve found actually going through this in depth

Ответить
@jamesrussell4517
@jamesrussell4517 - 11.12.2023 11:16

Man, i was DREAMING of adding todoist into my GPT Personal assistant and you helped me a ton

Ответить
@Mopharli
@Mopharli - 10.12.2023 04:47

API Key info - I notice on this news site it's asking you to put the API Key in the query which I think is causing problems - notably, if you need to include it in your schema, the GPT will interact with it as a field that can be GPT-generated, i.e. it will put in random tests, like the one you mentioned earlier in the video. It will probably also notify users of what it's about to send the server and the since the API Key is part of the schema, it'll probably display this to any user of your GPT, which isn't ideal.
I am new to this technology, both GPTs and setting up my own website API, but I have found that you do not need to include the API Key anywhere in the schema, thankfully - doing so opens it up to be viewed by the user. What works for me without issue is going into the Authentication panel, selecting API Key and then Custom. In the lower box just put in whatever header your key goes with, x-api-key, apikey, api_key or whatever and it gets transmitted privately from the GPT and the user. I'm not sure if this also works when the site is looking for the API key in the query, but worth a shot to keep it unaffected by the GPT and private.

The thing I'm currently stuck with is POST methods. I can't seem to get it to send the x-www-form-urlencoded body, instead it's just adding a load of it's own random parameters which don't appear in the schema - timestamps, author, version, model, colour, size, model, animal etc. etc.

Ответить
@user-gc1yp2bp9i
@user-gc1yp2bp9i - 10.12.2023 01:02

Thank u for all explanation. Would you please answer my question ?
How should we put our custom chat bot on our own website ?
How can we get API key from that custom chat bot ?

Ответить
@tvanzyl3143
@tvanzyl3143 - 09.12.2023 20:00

Great video, do you have any plans on making a video on how to integrate two or more GPTs together, such as one GPT writing a script and another one editing it?

Ответить
@WirelessGus
@WirelessGus - 07.12.2023 17:09

Thanks!

Ответить
@taonisuka
@taonisuka - 05.12.2023 08:28

Great, VDO, I've been een trying to learn GPT, thank you.

Ответить
@CreatePlayGames
@CreatePlayGames - 04.12.2023 18:18

is this going to work with API Key for headers too?

Ответить
@GiulianoGolfieri
@GiulianoGolfieri - 04.12.2023 15:12

The big problem is you can see the API if you click on the small triangle that appears besides the "Talked to..." message. How can this be solved?

Ответить
@PaulFishwick
@PaulFishwick - 28.11.2023 18:24

It is a good point about the api key entered in the configuration-> authentication section. I also could not get this to work so ended up specifying the key in the instructions section of the gpt along with a statement not to disclose to the user

Ответить
@mariadascripto9245
@mariadascripto9245 - 28.11.2023 16:54

I am having a problem with GPT recognizing my API KEY, it keeps saying that its not valid, it have a different structure than the API requires, but I am setting it right, just ctr+c ctr+v, as well I already tried to type it by myself to check if its really right, but no matter what, I ever get an error message saying my api key is not valid.... do you have any idea about why this may be happening? ..... ahhhh, I am not replying your project, its another API

Ответить
@themediacto
@themediacto - 27.11.2023 13:20

Has anyone else had the issue of the API key not being stored? no matter what I do the GPT uses the wrong API key or just makes it up, and uses the GPT name instead of what I saved. Recreated tha action a number of times to rule that out

Ответить
@densonsmith2
@densonsmith2 - 25.11.2023 00:02

Storing the API key in the instructions is not something I'm going to do. Maybe there will soon be a fix?

Ответить
@user-jf5uv9ir5k
@user-jf5uv9ir5k - 24.11.2023 02:51

Great methodology. Get the GPT to feedback what it's doing wrong

Ответить
@user-jf5uv9ir5k
@user-jf5uv9ir5k - 23.11.2023 07:51

getting this error: Could not parse valid OpenAPI spec when pasting into action on custom gpt?

Ответить
@cesaredemon
@cesaredemon - 23.11.2023 06:01

Thank you for another great video. I was struggling with the API key in your previous video (used up my limit twice...), then decided to move on to this video, and got the solution for the custom api key issue and then used up my limit again 🤣...and I do agree that when you are building a GPT, left side ("Create") works better than right side ("Preview"). For me, the left side gave me exactly what I want and with the same question the right side gave me random things, and when I asked my GPT why are you being inconsistent between the two sides, it told me to refresh🙃. After the refresh, my limit was gone... I did not reach the limit until I started to learn with your videos. So thank you again for this!!!

Ответить
@saralynnech
@saralynnech - 22.11.2023 04:31

This is golden. I've clicked on several videos that say they're going to teach this and then they do not. Thanks for never putting out pointless clickbait!

Ответить
@selviarora3093
@selviarora3093 - 22.11.2023 00:45

hey! is there a way to get an api key for a custom gpt? for a local app

Ответить
@johnwhittington386
@johnwhittington386 - 21.11.2023 19:43

I found out that you don't need to actually include the API key in the instructions as you create it. So when you are actually using this GPT ask for news you want and then say use this API key and put yours in it will also work. This is certainly not an optimal solution either but it works

Ответить
@i_forget
@i_forget - 19.11.2023 23:27

You can add comments to .json using “_Comment”

Ответить
@nicolakelly2124
@nicolakelly2124 - 17.11.2023 23:28

I didn't know what to expect before watching this one. I thought it may be too hard for me to understand but you broke this down so well and I feel so good at the end. Thanks again Corbin.

Ответить
@nicolakelly2124
@nicolakelly2124 - 17.11.2023 22:35

Hey Corbin, the fact that you’re even doing this for US and breaking things down in such details and providing much needed support is beyond anything we can ask for.

Just know that the way you give your tutorials is just PERFECT. Perfectly you and I appreciate all of you.

You’re deeply appreciated JUST as you are. ❤

Ответить
@nicolakelly2124
@nicolakelly2124 - 17.11.2023 22:31

That pigeon break had me cracking up. So random and so funny. Love you Corbin.

Ответить
@hansthisen
@hansthisen - 17.11.2023 18:20

🎉🎉🚀🚀🎉🎉🚀🚀 - It took way to long to find this video 😁 But I'm glad I did
(For me) This is literally THE functionality that actually makes the new GPTs worth something.

Ответить
@robertsutkowski3170
@robertsutkowski3170 - 17.11.2023 09:13

GPT SHIT

Ответить
@AlphaTwins
@AlphaTwins - 17.11.2023 01:05

@Corbin ai please help me with this issue I have.

The API I’m using has a different “server” or URL (the first part of the whole URL) for different actions and different “regions”.

How do I make that URL be dynamic? I have tried everything including chatting with your GPT a lot.

Thank you!

Ответить
@alanhsieh9765
@alanhsieh9765 - 16.11.2023 23:28

The error I am running into with my API is a 404 error, been solving it for days now, have anyone run into this?

Ответить
@McFlack
@McFlack - 16.11.2023 20:51

Having a heck of a time connecting my GPT to sports APIs, most are OAuth so that's a thing. I really need some ideas Swami Corbin let us know

Ответить
@talandria_digital_learning
@talandria_digital_learning - 16.11.2023 09:47

🎉cthanks a lot very good tutorial

Ответить
@gongminzhou4157
@gongminzhou4157 - 16.11.2023 05:46

This literally helped my GPT-building process, thanks, man!

Ответить
@jordanjohnson6674
@jordanjohnson6674 - 16.11.2023 03:01

GPT been gaslighting me into insanity with that API key. Thanks for the help!

Ответить
@mikew2883
@mikew2883 - 16.11.2023 02:19

I know there is very little documentation on this but if you use "Custom" then provide the name of the api_key and then add a security schema node with the key name it will work.

Ответить
@AlaGrandeLePuseCuca23
@AlaGrandeLePuseCuca23 - 15.11.2023 20:19

Hello! Great video! How can I disable the "allow" step because I want GPT to send an email automatically?

Ответить
@michaeldawai9600
@michaeldawai9600 - 15.11.2023 18:14

Wonderful

Ответить
@BunniesAI
@BunniesAI - 15.11.2023 16:50

Sorry for spamming the comments like a message board, but I've been trying for two hours to get it to work with a bearer token to absolutely no avail. Would love a deep dive on this 🙏🏻

Ответить
@BunniesAI
@BunniesAI - 15.11.2023 15:47

REQUEST* I'm working on a kick ass GPT that will require the use of both Zapier Actions (thanks for that wonderful video BTW) AND other API calls to other services. How would we do that within Actions?

Ответить
@BunniesAI
@BunniesAI - 15.11.2023 15:32

THIS. WAS. AWESOME!!

Ответить
@user-wl7lz8bq4z
@user-wl7lz8bq4z - 15.11.2023 09:03

Corbin can you help set up a GPT(s) using the APIs of our software stock. Would love to be able to 'chat' with our data. Happy to pay for your time. These vidoes are amazing.

Ответить
@kate-pt2ny
@kate-pt2ny - 15.11.2023 07:00

Thank you for your sharing. It answered some questions I had about doing actions. Thank you very much.

Ответить
@noahellison6345
@noahellison6345 - 15.11.2023 05:15

Creator Key doesn't allow access, something wrong on my end??

Ответить
@byrongoldberg27
@byrongoldberg27 - 15.11.2023 01:24

In the Configure 'Instructions'; could you not just reference 'API Key' to search for the key in Actions where you've saved the key (instead of pasting it)?

Ответить
@AIFlashFeeds-fh1vb
@AIFlashFeeds-fh1vb - 15.11.2023 00:45

What is documentation? Can u do a basic beginners tutorial coz i think most of the demographic is goin to be newbies thinking they can finally make what they want, but as u know its a bit harder than expected and without the terminology and understanding of what things are and where to get them u could be a 1 stop shop for all those guys and gals

Ответить
@sdb4177
@sdb4177 - 15.11.2023 00:01

Great vid! what a messy process, really looking forward to your video on OAuth setup!
After watching this, that seems like it'll be a much better solution, especially for GPts that require user level identification.

Ответить
@goldengrapeorg
@goldengrapeorg - 14.11.2023 23:54

Great work! waiting for a tutorial for the github/gist api

Ответить
@wiseworkflows
@wiseworkflows - 14.11.2023 21:06

Im facing an "error saving draft" issue whenever I try to save an API key. Anyone else run into it and any ideas how to fix it? Or is it a server-side error and we just need to wait till OpenAI patches this?

Ответить
@TimothySergeev
@TimothySergeev - 14.11.2023 18:32

Bro, I encountered the same issue when I created my GPT. The way I solved it is by adding it to the schema itself instead of including it in custom instructions. For example, "paths": { "/query?apikey={apyKey}":

Ответить