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

Jan 29
BREAKING: a new Chinese model is out.

And no. This is NOT DeepSeek.

Meet Qwen-2.5, from the giant Alibaba:

1. It can code, write text, search the web.
2. It can generate images, like Dall-E.
3. It can even generate videos.

Here's everything you need to know:
1. Omni-modal mastery:

☑Handles document parsing (tables, charts, handwriting)

☑ Object grounding (JSON coordinates)

☑Long video (hours-long footage with second-level event localization)

☑ Generates structured outputs for invoices, forms & spatial reasoning tasks

2. Scalable architecture

☑ Available in 3B, 7B, and 72B parameter sizes

☑ Proprietary MoE variants (Qwen2.5-Turbo/Plus) for enterprise-scale efficiency. Image
Read 8 tweets
Jan 20
BREAKING: DeepSeek released R1.

And it's already better than ChatGPT o1.

1. It's open-source.
2. API is 96.4% cheaper than chatgpt.
3. I run my tests below. A quick thread:
test #1 → act as an indie hacker to promote my SaaS business.

DeepSeek is so fast. It's insane.

It gave me an entire strategy in 7 actionable steps. So I asked for more:
I asked it to give me new strategies.

It suggested growing profiles with EasyGen and sharing the results.

That's actually what I did with my employees. I'm impressed.

Then, last test:
Read 6 tweets
Dec 30, 2024
DeepSeek is shaking up the AI industry.

1. It's open-source.
2. It's multimodal (images, PDFs...).
3. API is 94.81% cheaper than chatgpt.

I run my own tests below:
#1 → write an SEO-optimized article
#1. Search the web + write an SEO article

> DeepSeek provided 50 sources.
> chatgpt provided roughly 20 sources.

The article is even better than chatgpt.

DeepSeek won. Next test:
#2. DeepThink reasoning

It can reason while reading PDFs. So I uploaded a deck & asked for an article.

chatgpt o1 can only reason while reading images, not PDFs.

DeepSeek results are even faster.

Now, last test:
Read 5 tweets
Nov 14, 2024
I manage my employee's Linkedin.

We went from 0 to 3,836,555 impressions in exactly 178 days of daily posting.

The trick is... I didn't write any posts.

I do this instead: Image
Step 1: Pinterest

1. I go to Pinterest. I pick a viral quote.
2. Copy-paste it on ChatGPT.
3. Ask it to extract the quote.
Step 2: Ideogram

1. Go to Ideogram.
2. Ask for viral images with a quote.

My prompt here:

"a realistic whiteboard where it's written in bold [quote]"

Then, remix, iterate & choose a visual.

Last step:
Read 6 tweets
Oct 14, 2024
I took over someone's Linkedin, and grew it to 6.3M+ views & 6,000+ followers.

AI did everything, from copies to videos.

Here's exactly how: Image
Eitan branding is all about the humans behind AI, through interviews.

→ He shares only video clips.
→ He finds them on YouTube, X, or reddit.

Then he edits it with Opus Clip: Image
Step 2: Opus Clip for video editing

You only need a Youtube link to:
> get subtitles, colorized & dynamized.
> add b-rolls, and change them.
> get titles & potential intro.
> edit the script.

One video usually gives us ≈ 5 videos.
Then for the caption:
Read 5 tweets
Aug 22, 2024
Anthropic just released new interactive prompt engineering courses.

9-course links & academic papers.

Here's the link + a summary of each:

#1 → basic prompt structure Image
Anthropic shared a course on the basic structure of prompts used for AI models.

They explain the importance of the following parameters:
> model
> max_tokens
> system prompts

The system prompt is optional but a good way to provide context & instructions. Image
#2 → Being clear & direct

claude or any other LLMs or like humans.

→ If you're not clear, they won't guess what you need.

The more detailed your instructions, the better claude's response. Image
Read 11 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!

:(