Calling an LLM API
Topics Covered
- POST with fetch (body + headers)
- OpenAI Responses API (model, input, instructions)
- reading the reply JSON (output array)
- shared course key via config.js + .gitignore
- same pattern across providers (OpenAI/Anthropic/DeepSeek)
Content Slides Open fullscreen β
Open slides ↗Taught In
- Thursday, 10/29 — Calling an LLM API