Screen Too Small

This course material requires a larger screen to properly display the terminal and editor interfaces.

Please use a tablet, laptop, or desktop computer for the best learning experience.

You can continue browsing, but the experience will be significantly limited.

Espresso Extraction: Pulling Apart AI Parameters

During this morning’s caffeine-fueled Scrum, we declared: “Our AI calls must be as neat as a barista’s latte art.” Any call with multiple keyword args now gets its own line, wrapped in parentheses—no more parameter chaos!

Starting Text

vim@sandbox: ~/start.txt
vim
response = client.completions( model: "gpt-4", prompt: "Brew me a joke" max_tokens: 50, temperature: 0.5 )

Expected Output

vim@sandbox: ~/expected.txt
vim
response = client.completions( model: "gpt-4", prompt: "Brew me a joke", max_tokens: 50, temperature: 0.5, )

Hold on, cowboy

You gotta sign up to view challenges

New challenges appear every week. They're fun, and insightful

Sign up or sign in now!