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

  Рет қаралды 1,923

Leon van Zyl

Leon van Zyl

Күн бұрын

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

Пікірлер: 17
@leonvanzyl
@leonvanzyl 2 ай бұрын
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 2 ай бұрын
Please make a video about Groq tool use too. With Javascript as always. 💙😊
@PIOT23
@PIOT23 2 ай бұрын
I second that please
@erickcampos50
@erickcampos50 Ай бұрын
What a fantastic tour trough the subject! By the way: Python please.
@maniecronje
@maniecronje 2 ай бұрын
Great content thank you Leon
@leonvanzyl
@leonvanzyl 2 ай бұрын
You're welcome 🤗
@Sinbad-wn6nx
@Sinbad-wn6nx 2 ай бұрын
Python please
@SorinHornoiu
@SorinHornoiu 2 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
@@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 2 ай бұрын
Thanks! Yes python please
@leonvanzyl
@leonvanzyl 2 ай бұрын
Will do
@awonglk
@awonglk Ай бұрын
Python please
@burstbytetechnology1436
@burstbytetechnology1436 2 ай бұрын
Python please
@leonvanzyl
@leonvanzyl 2 ай бұрын
Ok, will do 👍
Claude 3 Introduces Function Calling and Tool Usage
14:15
Prompt Engineering
Рет қаралды 7 М.
Luck Decides My Future Again 🍀🍀🍀 #katebrush #shorts
00:19
Kate Brush
Рет қаралды 8 МЛН
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 4,6 МЛН
Каха ограбил банк
01:00
К-Media
Рет қаралды 11 МЛН
We need to talk about this benchmark
42:25
Theo - t3․gg
Рет қаралды 64 М.
Grok-1 FULLY TESTED - Fascinating Results!
8:27
Matthew Berman
Рет қаралды 165 М.
Anthropic's Meta Prompt: A Must-try!
12:34
Sam Witteveen
Рет қаралды 87 М.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 227 М.
I Cannot Believe How Good This VS Code AI Coding Assistant Is!
20:04
This is the Only Right Way to Write React clean-code - SOLID
18:23
I'm a Mess, so I'm Making My Own File Organizer [TagStudio]
23:32
После ввода кода - протирайте панель
0:18
Up Your Brains
Рет қаралды 1 МЛН