Creating Custom GPTs: OAuth Authentication For Custom Actions | Complete Guide
Vložit
- čas přidán 29. 08. 2024
- This instructional video offers an in-depth tutorial on crafting customized OpenAI GPT App Store. It places a special focus on integrating OAuth authentication mechanisms through the use of API keys, a crucial component for maintaining security and efficiency in OpenAI's application ecosystem. The guide is designed to provide clear, step-by-step instructions, ensuring that viewers can easily understand and implement these techniques in their own OpenAI-based applications.
SUBSCRIBE for more! 👉 bit.ly/3zlUmiS 👈
Navigate AI with Us 👇
linktr.ee/webcafe
GPT Creator 🛠️
bit.ly/GPT-Cre...
Introducing GPTs
openai.com/blo...
Authentication OAuth
Authorization URL
accounts.googl...
Token URL
oauth2.googlea...
Key Takeaways:
✩ Detailed Walkthrough on Custom GPT Development: The video provides a step-by-step guide on developing custom GPT models, including selecting model parameters, training processes, and optimization techniques.
✩ In-depth Coverage of OAuth Authentication: Special attention is given to OAuth authentication methods, explaining how to securely integrate API keys for application access and data protection.
✩ Tailored for OpenAI's Framework: The tutorial is specifically designed for developers working within the OpenAI ecosystem, focusing on applicable practices and examples relevant to this platform.
-------------------------------------------------
➤ Follow @webcafeai
• Twitter: / webcafeai
• TikTok: / webcafeai
-------------------------------------------------
▼ Extra Links of Interest:
☕ Submit Your AI Business
www.webcafeai....
💰 Become an Affiliate: webcafesoftwar...
Free AI Automation Workshop 💬
aitraining.web...
⚙️ AI Automation Tutorials: • Zapier For AI: Bridgin...
Welcome! I'm Corbin ai, the CEO and Full Stack AI Engineer behind the vision of Webcafe AI Nexus. While I lead our ventures into the vast world of AI-driven solutions, it's no secret that my fuel is a mix of tech enthusiasm and copious amounts of coffee. I’m on a mission to architect an ecosystem of AI-focused SaaS platforms, all destined to reshape the business landscape.
Together, we chart the unknown, innovate the unimaginable, and always have a cup ready for the next big idea ☕
I appreciate you going in depth, not skipping over stuff and not just saying what you're typing. A true definition of a tutorial, learned a lot!
Glad it was helpful!
This was very helpful thanks! You should definitely do one on connecting to Atlassian confluence. If gpt could leverage that in its analysis it would be such a powerful tool for teams.
Thanks a ton for this tutorial! It was a huge help. I was trying to integrate a different API (non-google) & yet the step-by-step breakdown was a massive help. Also, love your teaching style - good pace and to the point without any unnecessary fluff!
Just subscribed! Looking forward to seeing your channel grow.
Glad we could help with the community post to help you figure it out!
thank you thank you thank you thank you thank you!!! what a great guy!!! it is wonderful there are still people who make really helpful tutorials like these!!!!
Thanks!
Thanks Corbin. Looking forward to this one.
If I may throw my hat in the ring in terms of video suggestions; it appears that the assistant API allows for the creation and use of multiple assistants working together. Now *that* would be something 🎉
Very very, extremely absolutely beautiful knowledge that adds huge humongous time savings to my life. You made my life longer. I was going insane today trying to get oauth to work. - And incidentaly on a Google API. Then in an act of shear desperation and panic I did a search. What I find interesting though was that it was not positioned as 1 in the search, even though you have all the stuff that I was looking for.
Yip subscribed and all the rest.
I'm glad you found value here, welcome to the channel!
The say you can't teach an old dog new tricks@@webcafeaiyou did. I learned some stuff, from your vids.
Once again an awesome tutorial! Could you make a video on creating assistant functions on the OpenAI Platform? We are able to deploy these assistants to other platforms. The code that works in the ChatGPT application does not seem to work on the OpenAI Platform. Much appreciated!
Amazing can’t wait to try this
You are amazing. Excellent tutorial.
Can you do a tutorial about having your gpt generate a file then have it upload to Google drive and use that file as part of its knowledge resource.
+1
Love these videos! Hey anyway you could create a video on how to incorporate huggingface datasets to a GPT assistant. Example using a fitness dataset API with a fitness training assistant
can we add multiple scopes.. like one for reading emails and one for reading calendar events ?
Defiantly!
Great video! I'm wondering if it would be possible to connect gpt to a database so that it would ask for the user's login and password to proceed... This way, Custom GPTS could be the frontend of applications. Have you ever tried something like this?
I'm creating a personal email concierge to help me clear organize and clean out my personal gmail account that I use just for newsletters, sign-ups, etc. Just a private little GPT for me.
I got OAuth to work (thanks for the amazing vid. so simple a newbie like me could figure it out), but I'm running into an issue and I can't tell if it's a me thing or an OpenAI thing.
In preview, I can see the debug HTTP calls are formatted correctly, contain the right information, etc. I can also see the response from the gmail api has the correct information. However for some reason the AI is not using the information in the response to answer my chats. It's making up completely hallucinated message ids, subject lines, snippets, etc in the format of the api responses.
I've tried changing the initiating prompt a number of ways to try and work with the responses, but it's not working. Anybody else have similar challenges or ideas on what's causing it?
This one was fun. Learnt soooo much about how these worked on the backend. Very easy to follow. Looking forward to setting up my own.
Thanks for this. Super helpful and excited to give it a try. Quick question - Once you authorize the login, how long does that last? Did you revoke access or did the system remove it automatically? I'd like my OpenAI Assistant to be able to view my calendar feed to see if there are any events booked on that date and just let me know if the day is available /not available.
I had manually revoked access to showcase the authentication process. Regarding the frequency of reauthentication, it depends on the specific API. In this context, I am under the impression that Google API requires new access tokens every hour, although I am more familiar with CZcams API documentation, and the calendar API may be more lenient.
Thank you for this! Would love to hear from anyone who has a workaround for uncovering that OpenAI URL found in the Google error in the video, which unfortunately isn't revealed with some other APIs.
Is there a way to enable Oauth using the assistant API? How can I do it programmatically?
Definitely, this would require the context of coding a separate project in software like Visual Studio Code.
Hey Corbin - this is great! Are you able to share any insights on how to actually send invites and add conferencing to the events created in calendar? I've got as far as being able to create new events, but the conferencing part of the schema I cannot seem to get right.
Hey Corbin, how many API operation calls can we make?
Can we set up these type of GPTs to make multiple API calls for different platforms or is it just one API action call at a time?
OR
is this where the Assistant API comes in?
Thanks.
Would be great to see how you put this into a website without zapier or other wrapper platforms
hello could you help me understand how the APIs work, I mean how I could use them and what result I could obtain depending on my different apps
Tks
Or might you do one on implementing plugins that already exist in openai plugins to utilize in our own custom gpts? is there a limit to plugins that can be used? truly think this might be a way to customize a gpt to do all the use cases I personally might need if more then 3 plugins could be used? your thoughts man?
Hi, great video! But as I understand it is only possible for google workspace owners? I tried to set up the scope and it didn't provide mw the same options as you had. I tried to add custom scope but it said it's invalid.
From my understanding, it will require a Google Cloud and Workspace account for this to work. With these, we have the option to access Google's entire API suite.
Navigate to key moments👇
made via tubestamp.com
01:32 - Accessing data from a user's Gmail account.
02:06 - Troubleshooting the authentication process.
03:04 - Demonstrating GPTs access to external data.
03:23 - Accessing and listing calendar data.
04:02 - Demonstrating GPTs access to read-only API.
07:58 - Setting up a Google Cloud account.
08:19 - Activating the calendar API in Google Cloud.
09:58 - Creating credentials for Google Calendar API.
10:52 - Choosing the scope for accessing user data.
13:48 - Setting up OAuth for development phase access.
14:15 - Copying client ID and secret key for OAuth.
14:29 - Understanding OAuth setup for internal use.
15:21 - Explaining enabled API services and usage quotas.
17:07 - Troubleshooting potential errors with ChatGPT.
18:36 - Adjusting the URI for authentication request.
20:16 - Importance of O off consent screen for reauthentication.
21:43 - Default reminders set for events.
22:01 - Overview of Google Cloud for other backends.
22:22 - Discussing quota usage and cost-effectiveness.
Recap by TubeStamp ✏️
I probably said this already on another video but I want to be able to make calls to the notion API and get back document information, ive been pretty stuck on how to do that because I dont know much about API calls or how schemas work.
I was able to get the concept I want working by using a php middleware solution, witch someone made a custom GPT to help generate, but I feel like it should be possible without that.
Yes, I face the same problem to have Notion API connected to GPT. I cannot have GPT to pass the required headers to notion during submitting request. Is that any method to do so?
@@ChanSimon-dk2tm I have noticed with this GPT it doesnt realize that Notion requires a version header, have the GPT look up Notion documentation and it should help that issue, at least.
The main problem im getting is when I actually do get everything functioning and try to make a call I get a big ol empty back.
Hey! I plan to dedicate an entire video to the Notion API in the future. Most likely, I'll use Zapier AI Actions to facilitate this.
Please make a tutorial for notion integration without zapier!
Hey Man, Corbin, could you do one on youtube video api for searching specific content and summarizing transcripts? ;)
Would you also make a video of creating a GPT that could interact with your Gmail? Especially being able to find and create a draft response to an email. I tried with your recipe here, but adjusting to gmail scopes. I can get it to list email ID numbers, but nothing more.
Hello, I have a strange behavior. When I try to test the access to the calendar by saying for exemple "list my calendars", I got this chargpt error : "Couldn't log in with plugin." and chat GPT open a new window with CHATGTP Plugins. Very strange, I probably did something wrong.
I got same error today , do you solve this problem yet?
Hi men its possible to avoid gpt ask for allow the permissions for the actions? Sorry for my English
anyone one seen a GPT that connects to some sort of database to manage memory?
Hey, great Video. I tried to copy your instructions for the Google Sheets API and get instead of a green message a yellow one saying missing access_token, how can i fix this?
Hey , your videos are awesome .Could you make a video that ads a paywall like paypal to the gpt?
This type of logic would require you to build out the functionality you wish to achieve on an external backend when accessing the API, e.g., Firebase or AWS.
How can i add multiple scopes to the actions?
This would be adding to the schema. I suggest utilizing our GPT that can help with this:
chat.openai.com/g/g-iThwkWDbA-gpt-customizer-file-finder-json-action-creator
Can I also do it with woocommerce?
Yes, WooCommerce has API access!
where can I find the code you have used?
Dude we might not have a store now !
I’m gonna be pissed…literally invested a whole week making 30+ GPT’s
Dude, where’s my gpt?
bro it's gPt with P. Pronounce it correctly. The Subtext wrote 20 times GBT and one time DBT
Dude why don't you do it with zapier? It is way easier in it
This approach ensures we are not dependent on Zapier, which would incur costs, and also allows us to avoid relying on their backend for these functions in our GPT.