← All drills

Call an LLM Like an Engineer

What you'll be able to do

Make a reliable, costed first call to a language model from your own code, the base every chatbot, copilot and agent feature is built on.

⌁ Every product that calls a language model API, from support chatbots to coding assistants and in-app copilots.
Start this internship
Create an account to unlock the 10 sections, the workbench, and askThili.
Begin

Sections

1. Call an LLM Like an Engineer
🔒 locked
2. Your first call
🔒 locked
3. Tokens
🔒 locked
4. The context window is a budget
🔒 locked
5. The model has no memory
🔒 locked
6. Sampling
🔒 locked
7. Streaming and latency
🔒 locked
8. When calls go wrong
🔒 locked
9. A chat that meters itself, and which model to use
🔒 locked
10. Reading the log like an engineer
🔒 locked

Dig deeper

🔗Groq documentation (the API used in this drill)
docs
🔗thilillm, the reference implementation you check your code against
code

Part of these learning paths

I'm a student and I want to get my first AI/ML job
View path →