Learn how to use Claude 3.5 Sonnet's new PDF support in the API. In this tutorial we explore a standard API call as well as 2x Chat with PDF Apps (code provided) that include prompt caching, token counting, and streaming responses.
Claude PDF Support Docs: https://docs.anthropic.com/en/docs/bu...
Prompt caching: https://docs.anthropic.com/en/docs/bu...
Streaming docs: https://docs.anthropic.com/en/api/mes...
PDF I used: https://assets.anthropic.com/m/1cd9d0...
👉 Join my community: https://www.skool.com/become-an-ai-op...
🗂️ Gumroad: https://bartslodyczka.gumroad.com/l/i...
📋 Take This Quick Survey: https://forms.gle/otAr1xUamgyYZE5y7
🛠️ Hire me: [email protected]
👉 LinkedIn: / bartlomiejslodyczka
🤝 Sign up to Make.com: https://www.make.com/en/register?pc=b...
Learn AI & Coding (20% off Pro plan with my link):
https://v2.scrimba.com/the-ai-enginee...
Note: Affiliate links support this channel through commissions.
Timestamps:
00:00 Claude 3.5 Sonnet PDF Overview
00:30 Claude Chat Interface PDF Example
01:16 Code Overview
02:29 Prompt Caching & Token Costs Explained
04:07 How the PDF API works
05:04 Basic API Call Example
07:40 Standard Chat App
08:47 Breaking Down Token Costs
10:32 Streaming Chat App
13:16 Outro