C.W.K.
Stream
Quiz · 4 questions

🐍 The Python SDK Deep Dive

Sync, async, streaming, tool loops, prompt caching, files, and batches in idiomatic Python

Level 0Observer
0 XP0/64 lessons0/13 achievements
0/150 XP to next level150 XP to go0% complete

Quiz

01You build a FastAPI app on uvicorn. Which client and lifetime is right?
02After a tool_use response, what do you append to messages before sending the tool_result?
03Which usage field tells you a prompt cache HIT happened on this call?
04Which workload is the wrong fit for the Batch API?
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.