Ruben Hassid Profile picture
Jun 2, 2024 9 tweets 4 min read Read on X
Anthropic just released their first AI educational course on tool use.

7-course links & academic papers.

Here's the link + a summary of each:

#1 → Intro to tool use Image
First, what is tool use?

Tool use allows Claude to extend its capabilities by invoking:
> external tools
> functions

It allows us to write code that can perform specific tasks that Claude wouldn't be able to do.

#2 → Why does it matter? Image
It's a crucial feature that enhances the value & impact of Claude applications.

> Integrate your existing systems
> Extend Claude's capabilities
> Enhance user experience
> Automate complex tasks
> Scale and customize

#3 → How does it work? Image
Tool use involves defining tools for Claude.

1. Define tools with:
> names
> descriptions
> input schemas

2. Provide them to Claude.

3. Claude uses these tools to perform tasks, with results returned and integrated into responses.

#4 → Your first simple tool Image
They are sharing a simple example of tool use:

→ resolving math problems.

Claude struggles at doing complex math, so they provided a calculator tool.

Full example below: Image
#5 → Forcing JSON with tool use

The most interesting way of utilizing the tool use is forcing Claude to respond with structured content like JSON.

→ Simply ask for it.

Define a tool that describes a particular JSON structure. Claude will respond back. Image
#6 → Complete workflow

They shared a diagram of a general overview of the process:

1. You share the prompt
2. Clause uses a tool
3. You extract input & return results
4. Claude uses a tool to answer

The full process is explained below: Image
#7 → Tool use with multiple tools

Use case: build a customer support chatbot for an electronics company

They provide Claude with a suite of tools it can select from.

> get_user
> get_order_by_id
> get_customer_orders
> cancel_order

Here's the link: github.com/anthropics/cou…
Image
I test every major LLM to help me create better content faster - so you do too.

Check @rubenhssd for more.

It's me :) I'm ruben

If you'd like to support me, RTs cover my absurd API costs & SaaS subscriptions.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Ruben Hassid

Ruben Hassid Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @RubenHssd

Aug 27
BREAKING: New Stanford study tracking 25 million US workers finds AI is systematically eliminating entry-level jobs.

Here are 6 disturbing facts from one of the largest AI employment study ever conducted:

(hint: young workers are getting obliterated) Image
Fact 1: Employment for early-career workers (ages 22-25) has declined substantially in occupations most exposed to AI.

Software developers aged 22-25 saw nearly 20% employment decline since late 2022, while older workers in the same occupations continued to grow. Image
Fact 2: Overall employment continues to grow robustly, but employment growth for young workers has been stagnant since late 2022.

In the highest AI-exposed occupations, young workers declined 6% while older workers in those same occupations grew 9%. Image
Read 12 tweets
Aug 25
For the first time, Google has measured how much energy AI really uses in production.

Spoiler: the gap vs. all previous estimates is huge... 🧵 Image
Despite AI transforming healthcare, education, and research, we've been flying blind on its environmental footprint.

Every estimate was based on lab benchmarks, not real-world production systems serving billions of users.

Google decided to measure what actually happens. Image
The results from measuring Gemini in production:

• 0.24 watt-hours per text prompt
• Equivalent to watching TV for 9 seconds
• 5 drops of water consumed
• 0.03 grams of CO2 emissions

Substantially lower than public estimates. Image
Read 14 tweets
Aug 12
Meta just won the world's biggest brain competition by building an AI that can READ YOUR MIND while you watch movies.

1st place out of 263 teams.

This is the most insane paper I've ever read: 🧵

(hint: mind reading is here)
For context, the Algonauts competition challenged teams to build AI that predicts brain activity from videos.

263 teams competed.

Meta crushed it with the biggest 1st-2nd place gap ever.

Let me break down how: Image
TRIBE (TRImodal Brain Encoder) is the first AI trained to predict brain responses across multiple senses simultaneously.

Most brain studies focus on one thing; vision OR hearing OR language.

TRIBE does all three at once, just like your actual brain. Image
Read 17 tweets
Aug 5
China built a computer with 2 billion neurons mimicking a monkey's brain.

If Moore's Law is still valid, we will have human-level brain computers with 86 billion neurons by 2033.

We are closer to duplicating humans.

Thread Image
China's progress is insane:

2020: Darwin Mouse (120 million neurons)
2025: Darwin Monkey (2 billion neurons)
2027: 4 billion neurons
2030: 16 billion neurons
2033: 86 billion neurons ← Human brain level

China went from mouse to monkey in 5 years. Image
What does a human brain computer actually mean?

Every thought, memory, and decision you make could theoretically be replicated in silicon.

We're talking about artificial consciousness that thinks like you do.
Read 11 tweets
Aug 3
NVIDIA just dropped paper exposing a $57 billion AI industry mistake.

While Big Tech keeps pushing expensive LLMs like ChatGPT & Claude...

Small language models handle 70% of AI agent work at 1/30th the cost.

Here's why this changes everything:

(hint: less is more) Image
→ The $57 billion mistake ↓

The AI industry invested massively in centralized LLM infrastructure in 2024.

But the actual market for LLM API services is only $5.6 billion.

That's a 10x gap between investment and revenue no one wants to admit. Image
→ Most companies are betting everything on one operational model that may be fundamentally flawed.

They assume centralized, generalist LLMs will remain the cornerstone without substantial alterations.

The problem? This assumption is about to get very expensive. Image
Read 19 tweets
Jul 30
BREAKING: Scientists just analyzed 740,000 hours of human speech across YouTube and podcasts.

Turns out, ChatGPT is rewiring how humans speak to each other.

Here's what they discovered:

(hint: the first AI to successfully colonize our brains) Image
This shook me up first:

The changes showed up in SPONTANEOUS conversations, not scripts or prepared thoughts.

Random people chatting on podcasts started using ChatGPT's favorite words without realizing it.

The way scientists proved this was ingenious ↓ Image
They fed thousands of human texts to ChatGPT for "editing" and tracked every single change.

ChatGPT uses certain words up to 300x more than humans naturally would.

300 times. Not 3x or 30x, but three hundred.
Read 16 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(