Claude 3 Tool Use (Function Calling) Tutorial | JavaScript & Anthropic API

Sdílet
Vložit
  • čas přidán 29. 06. 2024
  • In this Claude 3 Tool Use crash course video you will learn all there is to know about adding tools to your Claude 3 models. Tool Use (also known as Function Calling) can turn the Claude 3 models into powerful AI Agents that can interact with their environment.
    🙏 Support My Channel:
    Buy me a coffee ☕ : www.buymeacoffee.com/leonvanzyl
    PayPal Donation: www.paypal.com/ncp/payment/EK...
    📑 Useful Links:
    Source code: github.com/leonvanzyl/claude-...
    💬 Chat with Like-Minded Individuals on Discord:
    / discord
    🧠 I can build your chatbots for you!
    www.cognaitiv.ai
    🕒 TIMESTAMPS:
    00:00 - Introduction
    01:15 - Project setup
    02:26 - Calling the Anthropic API
    03:01 - Create Anthropic API Key
    03:29 - How to create Anthropic API Key
    06:15 - OPTIONAL Creating the Chatbot
    07:08 - Get User Input from Terminal
    11:55 - Adding Tools!
    12:59 - Creating Tools
    13:09 - Tool Schema
    15:39 - Tool Logic
    19:05 - Calling tools and returning tool responses
  • Věda a technologie

Komentáře • 17

  • @leonvanzyl
    @leonvanzyl  Před 2 měsíci +3

    First multi-modal support and now advanced Tool Use! Anthropic is giving OpenAI a run for their money.
    Let me know which models with function you calling you prefer.

  • @ihateorangecat
    @ihateorangecat Před 2 měsíci +4

    Please make a video about Groq tool use too. With Javascript as always. 💙😊

    • @PIOT23
      @PIOT23 Před 2 měsíci +1

      I second that please

  • @erickcampos50
    @erickcampos50 Před měsícem

    What a fantastic tour trough the subject!
    By the way: Python please.

  • @maniecronje
    @maniecronje Před 2 měsíci

    Great content thank you Leon

  • @Sinbad-wn6nx
    @Sinbad-wn6nx Před 2 měsíci +6

    Python please

  • @SorinHornoiu
    @SorinHornoiu Před 2 měsíci +1

    Hi Leon, I am following you Channel constantly, and I have to admit that I am fun of Flowise because of you. I was trying to use Anthropic Function Calling in Flowise (with XML Agent) but without success. Base on your videos I can use Function Calling with OpenAi …. Could you please create a video with Flowise, Anthropic Function Calling? Or please provide an example of prompt for XML Agent. Thank you, Sorin

    • @leonvanzyl
      @leonvanzyl  Před 2 měsíci

      Anthropic function calling is not yet supported in Flowise as far as I know. I'll definitely create a dedicated Claude + Flowise video as soon as it does 👍

    • @SorinHornoiu
      @SorinHornoiu Před 2 měsíci

      In Flowise there is XML Agent that could be used with Anthropic. I started to use, but I was able to use only one Tool…. I think my problem is how to create the prompt … the explanation from XML Agent is not enough for me …Take a look, please, to XML Agent. Thank you

    • @SorinHornoiu
      @SorinHornoiu Před 2 měsíci

      @@leonvanzyl Hi Leon, there is an update in Flowise: Tool Agent
      This tool is suppose to be compatible with: compatible with models that are capable of function calling. ChatOpenAI, ChatMistral, ChatAnthropic, ChatVertexAI. For me it's working fine with OpenAI, ... but still I am not able to make to work with Anthropic Claude. Will be great if you can take a look ... Thanks

  • @jarad4621
    @jarad4621 Před 2 měsíci

    Thanks! Yes python please

  • @awonglk
    @awonglk Před měsícem

    Python please

  • @burstbytetechnology1436
    @burstbytetechnology1436 Před 2 měsíci

    Python please