How to let GPT control anything & 10x powerful | 8 mins tutorial about GPT funtion calling

Поділитися
Вставка
  • Опубліковано 8 січ 2025

КОМЕНТАРІ •

  • @gustavobenites5438
    @gustavobenites5438 Рік тому +3

    Best YT Video on the new Functions Calling from OpenAI. Congrats!

  • @DRINOMAN
    @DRINOMAN Рік тому +1

    best video i’ve seen so far on the practicality of these function calls nice addition with the lights.

  • @MisCopilotos
    @MisCopilotos Рік тому +18

    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 👏🏼

  • @chiragthesia2065
    @chiragthesia2065 Рік тому +14

    Dude your videos are amazing! Keep at it!

  • @TeamUpWithAI
    @TeamUpWithAI Рік тому +3

    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

  • @celsospencer416
    @celsospencer416 Рік тому +4

    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.

  • @jaysonp9426
    @jaysonp9426 Рік тому

    Dude...this was the best function call video I've found. Thank you so much! Subscribed

  • @mauritsotrolado7857
    @mauritsotrolado7857 Рік тому +1

    Wow, this is super cool! Nice work bro.

  • @losokos
    @losokos Рік тому +1

    This
    is
    AMAZING
    so much potential!

  • @adamrodriguez7598
    @adamrodriguez7598 Рік тому +1

    Thank you!!! Love these videos. Super informative

  • @LeighBriody
    @LeighBriody Рік тому +2

    Finally a good video that explains this well , thank you

  • @pleabargain
    @pleabargain Рік тому +2

    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?

    • @OryginTech
      @OryginTech Рік тому

      Price movements change every second.

  • @shivamroy1775
    @shivamroy1775 Рік тому +1

    Great content, please continue making such informative videos

  • @clairewhite3461
    @clairewhite3461 Рік тому +1

    OMG! It's so powerful. Great video, thank you!

  • @rezomomo
    @rezomomo Рік тому +1

    love your videos dude!

  • @chaseclingman
    @chaseclingman Рік тому +1

    Very helpful, thank you Jason

  • @derekcheungsa
    @derekcheungsa Рік тому +1

    Outstanding work Jason

  • @kevon217
    @kevon217 Рік тому +1

    Great video!

  • @intrestingness
    @intrestingness Рік тому +2

    How do embeddings and function calling work together? Can you create a tutorial on that?

  • @hchentw9154
    @hchentw9154 Рік тому

    cool thing, thank you Jason. Great videos.

  • @kamalkamals
    @kamalkamals Рік тому +1

    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

  • @sayantandas7544
    @sayantandas7544 Рік тому +1

    damn man!! really awesome video!

  • @tugrulpinar16
    @tugrulpinar16 Рік тому

    awesome content, keep it up!

  • @jdoejdoe6161
    @jdoejdoe6161 Рік тому

    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.

  • @ColinTimmins
    @ColinTimmins Рік тому +2

    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. 😊

  • @jordanquiroz-u5t
    @jordanquiroz-u5t Рік тому

    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.

  • @rory1653
    @rory1653 Рік тому

    that is pretty friggin cool

  • @nat.serrano
    @nat.serrano Рік тому +1

    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?

    • @AIJasonZ
      @AIJasonZ  Рік тому +1

      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

    • @IceMetalPunk
      @IceMetalPunk Рік тому +1

      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).

    • @nat.serrano
      @nat.serrano Рік тому

      @@IceMetalPunk thanks, make sense

  • @jadson.empreendedor
    @jadson.empreendedor Рік тому

    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.

  • @chivesltd
    @chivesltd Рік тому +1

    can you do a video that uses the function calling with AutoGPT?

    • @AIJasonZ
      @AIJasonZ  Рік тому +1

      This is a cool idea, let me think about it’!

  • @jdoejdoe6161
    @jdoejdoe6161 Рік тому

    can we also leave all the irrelevant outputs and show only the desired output in well formatted state?

  • @maxnakama21901
    @maxnakama21901 Рік тому +1

    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.

    • @AIJasonZ
      @AIJasonZ  Рік тому

      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 :)

  • @ko-Daegu
    @ko-Daegu Рік тому

    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 ?

    • @AIJasonZ
      @AIJasonZ  Рік тому

      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

  • @kevon217
    @kevon217 Рік тому

    Wondering what errors you’ve run into and if you need to consider any particular try/except blocks.

  • @edwardyb8970
    @edwardyb8970 Рік тому +1

    Where to get types, parameters and objects from? Are they in any api documentation?

    • @AIJasonZ
      @AIJasonZ  Рік тому

      Oh yep! They normally lives in the documentation of the api endpoints you are using :)

  • @mbrihoum
    @mbrihoum Рік тому +1

    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?

    • @AIJasonZ
      @AIJasonZ  Рік тому +3

      Great suggestion! I’m making a video now in terms of integration with google sheets, will let you know once it’s done!

  • @pleabargain
    @pleabargain Рік тому

    Will this code work with gpt3? And you misspelled function.

  • @Pork-Chop-Express
    @Pork-Chop-Express Рік тому

    Can you show this using the S&P 500? And then provide the code?

  • @tomich20
    @tomich20 Рік тому

    Can we use this by creating a chatGPT plus plugin or its only available through openAI api?

    • @AIJasonZ
      @AIJasonZ  Рік тому +1

      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)

  • @royalauclair
    @royalauclair Рік тому +1

    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?

    • @sl554
      @sl554 Рік тому

      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!

  • @jdoejdoe6161
    @jdoejdoe6161 Рік тому

    can we add sentiment analysis to this?

    • @AIJasonZ
      @AIJasonZ  Рік тому

      Yes! I’m actually making a new video about it :)

  • @bobuputheeckal2693
    @bobuputheeckal2693 Рік тому

    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

    • @reinerheiner1148
      @reinerheiner1148 Рік тому +1

      Just use the same principle to give gpt4 access to a function that returns the system time.

    • @Meza201
      @Meza201 Рік тому

      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.

  • @holistic_hass
    @holistic_hass Рік тому

    Great video as always Jason! PS: Check your emails ;)

  • @blazi_0
    @blazi_0 Рік тому

    You have typo in the title

  • @yogiwp_
    @yogiwp_ Рік тому

    Does this work on 3.5?

    • @danielsevilla5216
      @danielsevilla5216 Рік тому

      Yes. You have to specific the model as shown in the video. Turbo-0613

  • @Mzulfreaky
    @Mzulfreaky Рік тому

    More pls

  • @zac1427
    @zac1427 Рік тому

    wooow,真牛逼啊

  • @Ray-mf6vx
    @Ray-mf6vx Рік тому

    We don't need Langchain anymore

  • @kelcitangri4429
    @kelcitangri4429 Рік тому

    *promo sm*

  • @AylaCroft
    @AylaCroft Рік тому

    Subscribed and followed you on Git & Twitter