OpenAI GPT-4 Function Calling: *HUGE* Potential

Wes Roth · Intermediate ·📰 AI News & Updates ·3y ago

Key Takeaways

The video discusses the potential of OpenAI GPT-4, particularly its function calling capability, which enables external tools and APIs to be connected to GPT's capabilities, allowing for automation of tasks and businesses. GPT-4 has been fine-tuned to detect what functions need to be called based on user input and has a 60k context version with cost reductions.

Full Transcript

so big news from openai today they've just announced that they're going to be allowing function calling within the Chad GPT system as well as similar API updates start coming this is kind of a big deal so let's take a look so here they're mentioning the new function calling ability and the chat completions API some updates to gbt4 and gpt4 3.5 turbo new 60k context version and some cost reductions as well but let's take a look at this function calling because I think this is going to be a huge deal so basically goal is to reliably connect gpt's capabilities of external tools and apis and these models have been fine-tuned to both detect what a function needs to be called depending on the user input so like if you're asking what's the weather it has no idea but it knows that means it can cause certain function called you know get the weather and then report it back to you for example you know things you can use it for is to create chat box that answer questions by calling external tools like various plugins you know if you want to say hey email this person she see if she wants to get coffee right so they're going to use a function like send mail to this person or what's the weather like it's get is going to call the function get current weather who are my top 10 customers this month they can go check the database pull those customers out and explain it to you or if you wanted to see every single person mentioned in a Wikipedia article it'll do that now this might not sound like a lot at first but it's important to understand that a lot of the signs of papers they've been coming out from Stanford Microsoft open AI itself a Google deepmind Etc they're all pointing to one thing is that the GPT model gpt4 already has a lot of power and when you start connecting various tools to it it gets much bigger much better the capabilities improve so a lot of it isn't necessarily about improving gpt4 to let's say GPT 5. it's more about how do we use this to the best of its ability so things like function calling like tools like plugins like different ways of prompting it really expands upon the power that error he has so allowing it to call functions is going to be huge for things like automation automating businesses automating your life so there's two sort of use cases that are really exciting to me in my own life one is having an AI assistant that can handle a lot of tasks plan out my calendar reach out to people remind me of things Etc something that's intelligent that knows me and like enable they can help me get through my day Etc and the second thing is this idea of like these fully autonomous businesses so I I ran an e-commerce store and I still do since 2011 so that 10 plus years I've been in e-commerce basically selling things online selling physical Goods through things like Shopify eBay Etsy Amazon Etc Shopify is when you have like your own store and the other ones are sort of third-party marketplaces and there's a lot of tools and software out there that can help you automate some of the stuff things like zapier and of course you know autoresponders they're things like 3pl's third-party Logistics where basically they'll ship the goods for you you just have to sort of make their 3pi their sort of Warehouse API talk to Shopify or whatever order take platform you're using there's only so far that it can go because at the end if you can't explicitly Define what you wanted to do it's not going to do it like it has to be very like perfectly defined what was always missing is just a little bit of intelligence a little bit of reasoning if you could just pour a little bit of reason on top of this automation that we already have everything changes so as soon as I saw what GPT 3.5 with gpt4 was capable of doing I realized that we have a lot of the infrastructure for automation already available to us we just need that glue that kind of is going to put it all together that's exactly what gpt4 provides so let me give you kind of an idea of what you're going to be able to do with this so first of all you're going to be able to interact with apis you can get the latest weather or stock market information that makes sense you can execute various programs so you can execute programming code you can have a code little scripts that you might need to help you run various things so let's say you know you go to a website that has like a million words on a page and you need to pull out certain things from that well you can you can say hey Chad gbt write me a quick script that's going to pull this things these things out it's going to write you that scripts put out a little program that you can do you execute you get gather that data oh within seconds all within your own kind of within your own AI agent that kind of knows how you prefer to work what kind of outputs you want that has certain memories about who you are which by the way is another thing that they announced recently open AI is each agent is going to have its own sort of long-term memory that you add to so that it knows some things that you like Etc next thing you do is things like database interactions so it can interact with databases you know pulling information out updating it manipulating data in there in response to your queries so for example in the past if I wanted to change a customer's email for example I would have to go into Shopify or you know if I'm using something like a MailChimp I would have to go in there and change their phone number or email or whatever in there we're not too far from where an AI agent can that knows all those places and how the API keys to connect to all those places you tell them hey this customer there they misspelled their email you know you know change the the first letter instead of an a to d or whatever right and it goes in there and starts doing it so it changes in Shopify it changes it in uh MailChimp all the other places where you've communicated with that person it's like your own personal smart AI assistant that knows everything about you about your business it can manage your email and calendar and can you do data analysis like a lot of these tools the data analysis tools are extremely expensive especially if you get to like the like the corporate level like the Enterprise level as long as you have access to the raw data and you're able to talk to Chad gbt a lot of this I feel like it's going to be able to do for you you know you're going to ask okay so what are what is the age group of my customers that spends the most money put that out in a in a chart for me by calling a few functions and having long-term memory about what you mean when you say my customers you can just ask the questions it's going to have access to all the databases it's going to pull that info and just spit it out for you with function calling you can also do things like music position let's say it knows that you know a couple times a week you need a two minute long segment about copyright music that's not copyrighted and you like a certain sound so every time you can just say hey I need a music like this I want a little bit more upbeat and let's have it fade out towards the end and boom a couple minutes later it creates an AI generated music for you and spits it out social media management how many people have you heard of that were social media managers as their career you know it's something that's very useful for Brands to be able to respond respond to customers to put content out there to promote stuff but you know what it takes time it takes effort you got to know the platform and you gotta be constant with it you got to upkeep it day to day to day so having a little agent that runs around it just kind of looks at the content that you're putting out there and puts it out to Twitter and Facebook and Instagram or whatever you're trying to get to that would really help automate that portion of it but not only that but it can also pull in the responses from your followers and actually analyze the sentiment this is something that I've been working with Chad GPT since it came out before it was gpt4 how well can it analyze the sentiment of what the person is saying so for example if I said how positive it is you know from one to ten first of all it's extremely good at that not only that but it can also sense sarcasm when it's present so in for example filter out the sarcastic responses right so if somebody's like you know your product broke as soon as I used it so great job as always it's not going to understand that to me you know 10 out of 10. good job it's going to be like oh this sounds bad because the person is sarcastic so when he's saying that that's great as usual that he doesn't mean that that's not a positive sentiment like it will pick up on that if you just sort of ask it correctly to to think through that so how I'm going to be trying to build this out how I'm going to be personally using this is number one to try to build my own AI assistant that's going to help me with the calendar that is going to help me with the email management Etc and number two I'm going to start applying this to trying to build fully autonomous businesses or maybe not fully but at least if I can automate you 90 of the tasks that I do you know that would be pretty exciting and I think all that's going to start with is by just creating an agent for each one of the sort of tasks that you're trying to do so for example one for social media management one for customer support you can create a specific one for data analysis I'm not sure if that's just going to be one sort of agent that you're looking at that's going to do all of this or you're going to have to separate them out each of its own specialized function but if you're following the channel we've already seen things like autonomous Minecraft agents that will learn how to run around the World of Warcraft create little scripts for themselves to continue exploring they continuously lower and improve and travel farther so there's really there's really no reason why you can't create something analogous something the same as that for the business world so pay attention attention to this because I feel like this is what a lot of people are missing so far it's the idea that we already have the power we we have the electricity the power plant so we don't need a better power plant we don't need gpt5 what we need is just to figure out how to get the most power this thing that we have already and function calling and long-term memory and all the stuff that openai is slowly releasing that's the thing that's really going to make it work more info coming soon my name is Russ Roth and thank you for watching

Original Description

🔥 Get my A.I. + Business Newsletter (free): https://natural20.com/ #ai #deepmind #alphazero
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Wes Roth · Wes Roth · 41 of 60

1 Which Vanguard index fund to buy? (hint: it's the one Warren Buffett recommends)
Which Vanguard index fund to buy? (hint: it's the one Warren Buffett recommends)
Wes Roth
2 What does PALANTIR do - Palantir Stock, Founder, Controversy Explained Simply (plus why I'm BUYING).
What does PALANTIR do - Palantir Stock, Founder, Controversy Explained Simply (plus why I'm BUYING).
Wes Roth
3 Paypal misinformation fine ($2,500) - Close Your Accounts ASAP!
Paypal misinformation fine ($2,500) - Close Your Accounts ASAP!
Wes Roth
4 China Was Just Sent Back to the Dark Ages  |  US starts aggressively cutting ties
China Was Just Sent Back to the Dark Ages | US starts aggressively cutting ties
Wes Roth
5 ChatGPT Business Ideas - How I Use ChatGPT to make money
ChatGPT Business Ideas - How I Use ChatGPT to make money
Wes Roth
6 ChatGPT Explained - The AI revolution is happening right now... [ chat gpt ]
ChatGPT Explained - The AI revolution is happening right now... [ chat gpt ]
Wes Roth
7 ChatGPT Banned - New York blocking network access to ChatGPT
ChatGPT Banned - New York blocking network access to ChatGPT
Wes Roth
8 ChatGPT Trading - this [INSANE] tool A.I. built for me
ChatGPT Trading - this [INSANE] tool A.I. built for me
Wes Roth
9 Small Business Grants for ChatGPT and A.I. (similar to PPP and EIDL in 2023) |
Small Business Grants for ChatGPT and A.I. (similar to PPP and EIDL in 2023) |
Wes Roth
10 How to Make Passive Income with ChatGPT AI
How to Make Passive Income with ChatGPT AI
Wes Roth
11 OpenAI’s GPT-4 Artificial Intelligence = AGI? TRILLIONS of Parameters Plus THIS
OpenAI’s GPT-4 Artificial Intelligence = AGI? TRILLIONS of Parameters Plus THIS
Wes Roth
12 How Nvidia AI Robot Trained 42 Years In 32 Hours And Did THIS | Google DeepMind AlphaCode
How Nvidia AI Robot Trained 42 Years In 32 Hours And Did THIS | Google DeepMind AlphaCode
Wes Roth
13 John Carmack | AGI by 2030 | Will John Carmack's AI company be the one to make it?
John Carmack | AGI by 2030 | Will John Carmack's AI company be the one to make it?
Wes Roth
14 AI Small Business Grants
AI Small Business Grants
Wes Roth
15 Elon Musk attacks OpenAI - here's Sam Altman's response
Elon Musk attacks OpenAI - here's Sam Altman's response
Wes Roth
16 Bill Gates on ChatGPT and OpenAI "The Age of AI has begun"
Bill Gates on ChatGPT and OpenAI "The Age of AI has begun"
Wes Roth
17 Sparks of AGI | Microsoft Researchers claim GPT-4 Is showing "Artificial General Intelligence"
Sparks of AGI | Microsoft Researchers claim GPT-4 Is showing "Artificial General Intelligence"
Wes Roth
18 Elon Musk and Others Call for Pause on AI as GPT-4 shows signs of AGI.
Elon Musk and Others Call for Pause on AI as GPT-4 shows signs of AGI.
Wes Roth
19 Comparing GPT-4 and Google's Bard AI - Who is getting closer to AGI?
Comparing GPT-4 and Google's Bard AI - Who is getting closer to AGI?
Wes Roth
20 Sam Altman on UBI, OpenAI to $100 TRILLION and Massive Job Losses from AI Automation
Sam Altman on UBI, OpenAI to $100 TRILLION and Massive Job Losses from AI Automation
Wes Roth
21 25 ChatGPTs play a videogame...
25 ChatGPTs play a videogame...
Wes Roth
22 NVIDIA's new AI: Better Games, Art and... better life?
NVIDIA's new AI: Better Games, Art and... better life?
Wes Roth
23 Google AI Documents Leak about "Google and OpenAI"
Google AI Documents Leak about "Google and OpenAI"
Wes Roth
24 PaLM 2 vs GPT-4 | why Google is having a hard time catching up...
PaLM 2 vs GPT-4 | why Google is having a hard time catching up...
Wes Roth
25 How To Access ChatGPT Plugins | They are LIVE! (but hidden)
How To Access ChatGPT Plugins | They are LIVE! (but hidden)
Wes Roth
26 Sam Altman to Congress "America HAS to lead the world in AI"...
Sam Altman to Congress "America HAS to lead the world in AI"...
Wes Roth
27 Sam Altman Opening Statement to Congress on AI Regulation
Sam Altman Opening Statement to Congress on AI Regulation
Wes Roth
28 Sam Altman Congress Hearing "AI is the Biggest Threat to Human Race"
Sam Altman Congress Hearing "AI is the Biggest Threat to Human Race"
Wes Roth
29 Tree of Thoughts - GPT-4 Reasoning is Improved 900%
Tree of Thoughts - GPT-4 Reasoning is Improved 900%
Wes Roth
30 Governance of Superintelligence | OpenAI proposes measures for safe AI development.
Governance of Superintelligence | OpenAI proposes measures for safe AI development.
Wes Roth
31 Model Evaluation For Extreme Risks of AI | Google DeepMind and OpenAI Paper
Model Evaluation For Extreme Risks of AI | Google DeepMind and OpenAI Paper
Wes Roth
32 Minecraft AI - NVIDIA uses GPT-4 to create a SELF-IMPROVING 🤯 autonomous agent.
Minecraft AI - NVIDIA uses GPT-4 to create a SELF-IMPROVING 🤯 autonomous agent.
Wes Roth
33 AI Human Extinction Risk - Experts Warn of "Serious Risk"
AI Human Extinction Risk - Experts Warn of "Serious Risk"
Wes Roth
34 LoRA - Low-rank Adaption of AI Large Language Models: LoRA and QLoRA Explained Simply
LoRA - Low-rank Adaption of AI Large Language Models: LoRA and QLoRA Explained Simply
Wes Roth
35 99.3% of ChatGPT Performance with OpenSource AI - [QLoRA paper]
99.3% of ChatGPT Performance with OpenSource AI - [QLoRA paper]
Wes Roth
36 AlphaFold2 Explained | Google's DeepMind Solves Protein Folding
AlphaFold2 Explained | Google's DeepMind Solves Protein Folding
Wes Roth
37 Illumina AI - ChatGPT for your genome...
Illumina AI - ChatGPT for your genome...
Wes Roth
38 Text to Video Invasion! Runway AI releases GEN 2 text to video.
Text to Video Invasion! Runway AI releases GEN 2 text to video.
Wes Roth
39 LLMs as Tool Makers [LATM] - GPT-4 *UPGRADES* lower AI Models.
LLMs as Tool Makers [LATM] - GPT-4 *UPGRADES* lower AI Models.
Wes Roth
40 AlphaDev - DeepMind AI Discovers Better Algorithms for Foundational Computing
AlphaDev - DeepMind AI Discovers Better Algorithms for Foundational Computing
Wes Roth
OpenAI GPT-4 Function Calling: *HUGE* Potential
OpenAI GPT-4 Function Calling: *HUGE* Potential
Wes Roth
42 GPT-4 leaked! 🔥 All details exposed 🔥 It is over...
GPT-4 leaked! 🔥 All details exposed 🔥 It is over...
Wes Roth
43 Elon Musk announced XAI - the answer to OpenAI = X.AI
Elon Musk announced XAI - the answer to OpenAI = X.AI
Wes Roth
44 Andrej Karpathy GPT - Advice for building AI agents
Andrej Karpathy GPT - Advice for building AI agents
Wes Roth
45 TEST TO SEE IF AI CAN MAKE $1,000,000   (modern Turing test)
TEST TO SEE IF AI CAN MAKE $1,000,000 (modern Turing test)
Wes Roth
46 ChatGPT custom instructions are *POWERFUL*  Replace AutoGPT and BabyAGI?
ChatGPT custom instructions are *POWERFUL* Replace AutoGPT and BabyAGI?
Wes Roth
47 WORLDCOIN LAUNCH is starting! Backed by Sam Altman of OpenAI.
WORLDCOIN LAUNCH is starting! Backed by Sam Altman of OpenAI.
Wes Roth
48 WORLDCOIN ORB - I went to L.A. to get my eye scanned for WorldCoin [my experience]
WORLDCOIN ORB - I went to L.A. to get my eye scanned for WorldCoin [my experience]
Wes Roth
49 The Biggest Week of AI News In Months!
The Biggest Week of AI News In Months!
Wes Roth
50 Google Deepmind RT 2 - Using LLMs to Build Thinking, Learning Robots
Google Deepmind RT 2 - Using LLMs to Build Thinking, Learning Robots
Wes Roth
51 AI News is Getting *WEIRD* Human Brain Matter in Chips. OpenAI tutorial. Amazon unleashed it's AI.
AI News is Getting *WEIRD* Human Brain Matter in Chips. OpenAI tutorial. Amazon unleashed it's AI.
Wes Roth
52 GPT 5 release date 🔥 might be closer than we think | OpenAI applies for GPT-5 Trademark in the US.
GPT 5 release date 🔥 might be closer than we think | OpenAI applies for GPT-5 Trademark in the US.
Wes Roth
53 AI Agents Simulate a Town 🤯 Generative Agents: Interactive Simulacra of Human Behavior.
AI Agents Simulate a Town 🤯 Generative Agents: Interactive Simulacra of Human Behavior.
Wes Roth
54 Proof that AI Understands? 👀 Andrew Ng on LLMs building mental models, Othello GPT,  Geoffrey Hinton
Proof that AI Understands? 👀 Andrew Ng on LLMs building mental models, Othello GPT, Geoffrey Hinton
Wes Roth
55 OpenAI acquires Biomes 👀 an open-source MMORPG. ChatGPT plus Minecraft? 🔥
OpenAI acquires Biomes 👀 an open-source MMORPG. ChatGPT plus Minecraft? 🔥
Wes Roth
56 OpenAI announces FINETUNING 👀 for ChatGPT
OpenAI announces FINETUNING 👀 for ChatGPT
Wes Roth
57 Autonomous AI Agents - why YOU should be building them... and HOW.
Autonomous AI Agents - why YOU should be building them... and HOW.
Wes Roth
58 ChatGPT Enterprise - OpenAI launches the next BIG thing
ChatGPT Enterprise - OpenAI launches the next BIG thing
Wes Roth
59 HOODWINKED -  AI gets away with MURDER 👀 GPT-4 is an effective killer...
HOODWINKED - AI gets away with MURDER 👀 GPT-4 is an effective killer...
Wes Roth
60 Install Open Interpreter in 2 min | The free, open source CODE INTERPRETER!
Install Open Interpreter in 2 min | The free, open source CODE INTERPRETER!
Wes Roth

The video teaches how to leverage GPT-4's function calling capability to automate tasks and businesses, and how to fine-tune the model for specific tasks. It also discusses the potential of GPT-4 in building fully autonomous businesses or automating 90% of tasks. The key takeaway is that function calling and long-term memory are key to unlocking GPT-4's potential.

Key Takeaways
  1. Execute programming code using GPT-4
  2. Pull out certain things from a webpage using GPT-4
  3. Write a script to perform a task using GPT-4
  4. Execute a script to gather data using GPT-4
  5. Interact with databases using GPT-4
  6. Use GPT-4 for sentiment analysis
  7. Automate tasks such as social media management and customer support using GPT-4
💡 Function calling and long-term memory are key to unlocking GPT-4's potential

Related Reads

Up next
Europe Heatwave LIVE News | Over 2000 Dead In Spain, France Due To Killer Europe Heatwave
Mint
Watch →