Could you create a video explaining how to use "function calling" with Flowise or Langflow? Does it make sense to use "function calling" with langchain or they have a similar role? Thanks Jason as always 👏🏼
I extend the highest vibes to you Jason! Excellent train of thought, you are an AI whisperer. Email coming your way right after I consume the rest of your awesome content. Greetings from HM.
The top moving stocks changed from COHR at 8:13 to NEXT at 10:36. Can you please provide an explanation? Is there a way to force a link to the news source for verification?
this morning i create a small app with new features functions + langchain, it s very good idea because that s help for many cases like websearch ...etc
Can we make this prompt work? "What are the five stocks with the biggest price movement today and what are the latest news about these stocks that might have caused the price movement?. can we write the output in a normal table format instead of airtable? Thanks.
Very good content. Instant sub from me, I’ll have to look at your other videos for sure. I have made some amazing stuff but I’m still learning how to piece it all together. 😊
wow what a cool feature, thanks a lot for the tutorial i'm going to test this with my new RGB lights and a few other stuff. Also, can you create a video using the Ai gf concept but more in an assistive way integrating with a telegram for example?? it will be very useful to have that lovely assistant on the phone if I need something like searching for something or playing music etc.
great content. how does GPT knows what function to call? that's what's not clear to me. how does it decide to return text or call a function bsed on the auto parameter? just based on the DESCRIPTION of the function? what if the prompt by the user is bad (or doens't fully match the description) and doesn't pick the function based on the description?
I think they are using a prompt prob something like “you will decide if any tool in the array […] will help move towards the goal user intended, if so, return xxx” You can try similar prompt with GPT and I think it should work
Yep, it's deciding on its own based on the function name and description you provide it. If you set it to "auto", that is; in which case, if the user's prompt is exceptionally bad and it can't figure out what it needs to do, it'll just return text and not ask to call a function. You can also specify a particular function name instead of "auto" and it will *always* try to call the function you told it to (which is good to let GPT figure out what parameters to pass).
Am I mistaken or does function calling have the same effect as me making a query in the database via Python, for example (SELECT * FROM table), returning this query as JSON to GPT-3.5 and asking for it via role SYSTEM , USER etc to know who my top customers are? Do you know if it's the same as creating a call function for this, Jason? Thanks.
I am still in the middle of watching the video, but I was wondering if the "functions" that gpt calls have to be real code functions or they can be "functions" that aren't actually code, but rather a text based version of a function? Like get_stock_review; does it need to be real code or can it be just text? I am explaining poorly.
You are spot on, it doesn’t need to be real function! I’m actually making a new video to use function calling as a way to retrieve structured data, will share once it is done :)
where do we get/control the functions names I guess prompt engineering right ? If I want i can tell gpt model to use specific tool name when needing to do certain thing or do something using tool called cuz I'm grapping the name right ?
Not sure if Im getting your question correctly - but you will define an array of function descriptions, where you will define the name of function and pass it to GPT
Hi Jason, I'm interested in learning more about the possibility of creating an app that links directly from Excel to Thinkorswim (TOS). As you know, Ameritrade offers real-time quotes and news, and I think it would be very valuable to be able to access this data directly into Excel. I'm not familiar with both VBA and Python, did you explore the option of linking excel directly instead of using airtable?
I think function calling is actually the backbone of how plug-in ecosystem works! (So chatgpt using the same function calling to decide which plug-in to use)
It's cool. And nice showcase, but at same time you could have just used the functions you made to do that exact thing without needing chatgpt at all. The LLM usefulness here seems pretty limited and overkill?
You're missing the point of what the AI is actually doing here - the function and arguments give the model instructions of what it should do with the provided input. It's a better / more structured way of providing a list of things you want back. For example, you could create a prompt that said something like: "Give me a list of: 1. priority 2. Order amount 3.... Etc..." And get mixed results. Or use the "function calling" fine tuned model to give you a response in a predictable format that can easily be parsed!
Hello Jason. Nice presentation and use case. I have two questions. 1) do you know how to get todays date? I have a case where user want to check availability of a service for tomorrow or in future date. 2) in function calling, while describing function, can we default an argument parameter if it couldn’t be determined by chat gpt
ChatGPT already knows the date as it’s provided in the hidden prompt/ context/system message. Ask it the date, it will tell you. And if you ask it how it knows it will say it’s from the context you gave it previously.
Best YT Video on the new Functions Calling from OpenAI. Congrats!
Thanks man!!
best video i’ve seen so far on the practicality of these function calls nice addition with the lights.
Could you create a video explaining how to use "function calling" with Flowise or Langflow? Does it make sense to use "function calling" with langchain or they have a similar role?
Thanks Jason as always 👏🏼
Dude your videos are amazing! Keep at it!
Glad you like them!
You're such a good teacher! I can never do and talk at the same time about what I'm doing, so making tutorials is a struggle. I admire your skills :D
I extend the highest vibes to you Jason! Excellent train of thought, you are an AI whisperer. Email coming your way right after I consume the rest of your awesome content. Greetings from HM.
Dude...this was the best function call video I've found. Thank you so much! Subscribed
Wow, this is super cool! Nice work bro.
This
is
AMAZING
so much potential!
Thank you!!! Love these videos. Super informative
Finally a good video that explains this well , thank you
The top moving stocks changed from COHR at 8:13 to NEXT at 10:36. Can you please provide an explanation? Is there a way to force a link to the news source for verification?
Price movements change every second.
Great content, please continue making such informative videos
OMG! It's so powerful. Great video, thank you!
love your videos dude!
Very helpful, thank you Jason
Outstanding work Jason
Great video!
How do embeddings and function calling work together? Can you create a tutorial on that?
cool thing, thank you Jason. Great videos.
this morning i create a small app with new features functions + langchain, it s very good idea because that s help for many cases like websearch ...etc
damn man!! really awesome video!
awesome content, keep it up!
Can we make this prompt work? "What are the five stocks with the biggest price movement today and what are the latest news about these stocks that might have caused the price movement?. can we write the output in a normal table format instead of airtable? Thanks.
Very good content. Instant sub from me, I’ll have to look at your other videos for sure. I have made some amazing stuff but I’m still learning how to piece it all together. 😊
wow what a cool feature, thanks a lot for the tutorial i'm going to test this with my new RGB lights and a few other stuff.
Also, can you create a video using the Ai gf concept but more in an assistive way integrating with a telegram for example?? it will be very useful to have that lovely assistant on the phone if I need something like searching for something or playing music etc.
that is pretty friggin cool
great content. how does GPT knows what function to call? that's what's not clear to me. how does it decide to return text or call a function bsed on the auto parameter? just based on the DESCRIPTION of the function? what if the prompt by the user is bad (or doens't fully match the description) and doesn't pick the function based on the description?
I think they are using a prompt prob something like “you will decide if any tool in the array […] will help move towards the goal user intended, if so, return xxx”
You can try similar prompt with GPT and I think it should work
Yep, it's deciding on its own based on the function name and description you provide it. If you set it to "auto", that is; in which case, if the user's prompt is exceptionally bad and it can't figure out what it needs to do, it'll just return text and not ask to call a function. You can also specify a particular function name instead of "auto" and it will *always* try to call the function you told it to (which is good to let GPT figure out what parameters to pass).
@@IceMetalPunk thanks, make sense
Am I mistaken or does function calling have the same effect as me making a query in the database via Python, for example (SELECT * FROM table), returning this query as JSON to GPT-3.5 and asking for it via role SYSTEM , USER etc to know who my top customers are? Do you know if it's the same as creating a call function for this, Jason?
Thanks.
can you do a video that uses the function calling with AutoGPT?
This is a cool idea, let me think about it’!
can we also leave all the irrelevant outputs and show only the desired output in well formatted state?
I am still in the middle of watching the video, but I was wondering if the "functions" that gpt calls have to be real code functions or they can be "functions" that aren't actually code, but rather a text based version of a function? Like get_stock_review; does it need to be real code or can it be just text? I am explaining poorly.
You are spot on, it doesn’t need to be real function!
I’m actually making a new video to use function calling as a way to retrieve structured data, will share once it is done :)
where do we get/control the functions names I guess prompt engineering right ?
If I want i can tell gpt model to use specific tool name when needing to do certain thing or do something using tool called
cuz I'm grapping the name right ?
Not sure if Im getting your question correctly - but you will define an array of function descriptions, where you will define the name of function and pass it to GPT
Wondering what errors you’ve run into and if you need to consider any particular try/except blocks.
Where to get types, parameters and objects from? Are they in any api documentation?
Oh yep! They normally lives in the documentation of the api endpoints you are using :)
Hi Jason, I'm interested in learning more about the possibility of creating an app that links directly from Excel to Thinkorswim (TOS). As you know, Ameritrade offers real-time quotes and news, and I think it would be very valuable to be able to access this data directly into Excel.
I'm not familiar with both VBA and Python, did you explore the option of linking excel directly instead of using airtable?
Great suggestion! I’m making a video now in terms of integration with google sheets, will let you know once it’s done!
Will this code work with gpt3? And you misspelled function.
Can you show this using the S&P 500? And then provide the code?
Can we use this by creating a chatGPT plus plugin or its only available through openAI api?
I think function calling is actually the backbone of how plug-in ecosystem works! (So chatgpt using the same function calling to decide which plug-in to use)
It's cool. And nice showcase, but at same time you could have just used the functions you made to do that exact thing without needing chatgpt at all. The LLM usefulness here seems pretty limited and overkill?
You're missing the point of what the AI is actually doing here - the function and arguments give the model instructions of what it should do with the provided input.
It's a better / more structured way of providing a list of things you want back.
For example, you could create a prompt that said something like:
"Give me a list of: 1. priority 2. Order amount 3.... Etc..." And get mixed results. Or use the "function calling" fine tuned model to give you a response in a predictable format that can easily be parsed!
can we add sentiment analysis to this?
Yes! I’m actually making a new video about it :)
Hello Jason. Nice presentation and use case. I have two questions. 1) do you know how to get todays date? I have a case where user want to check availability of a service for tomorrow or in future date. 2) in function calling, while describing function, can we default an argument parameter if it couldn’t be determined by chat gpt
Just use the same principle to give gpt4 access to a function that returns the system time.
ChatGPT already knows the date as it’s provided in the hidden prompt/ context/system message.
Ask it the date, it will tell you. And if you ask it how it knows it will say it’s from the context you gave it previously.
Great video as always Jason! PS: Check your emails ;)
You have typo in the title
Does this work on 3.5?
Yes. You have to specific the model as shown in the video. Turbo-0613
More pls
wooow,真牛逼啊
We don't need Langchain anymore
elaborate please.
*promo sm*
Subscribed and followed you on Git & Twitter