Skip to main content
🔒 Preview mode. The first 15 Foundations lessons are free; this one is Pro. Start a 7-day trial to unlock the editor, AI hints and the rest of the curriculum. Card required, cancel any time in Dashboard.
Start 7-day trial →
⚡
← Courses
›
AI Engineering with Python
›
Module 1 · LLM API Fundamentals · Recap
›
PDFs and the Files API
quiz
23 / 105
🇺🇸
EN
▼
↗
Share
⋯
More
+100 XP
📋
Task
📖
Theory
🤖
AI Help
Task
📝 **Question:** 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.
🎯 Quiz
Question
📝 **Question:** 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.
A
Always — inline base64 was deprecated last quarter and the API rejects it on any model newer than Sonnet 3.5
B
When you'll reference the same document across multiple requests — upload once, reuse by ID, save bandwidth
C
Only when the PDF is over 32 MB — under that size the inline base64 path is strictly faster end-to-end
D
Never for PDFs — the Files API only accepts plain-text and JSON payloads, scanned documents must stay inline
Submit answer
💬 Discussion
Be the first to ask a question or share a tip.
Sign in
to join the discussion. Reading is free.
Loading discussion…