TECHNOLOGIESTieInn Technologies

LLM Fundamentals & Prompting practice

How large language models work and how to use them from Python: tokens, API calls, prompts, settings, structured JSON output, chat history, cost, retries and streaming.

  1. 01How LLMs work: tokens, the context window and next-word predictionShort notes · 11 questions
  2. 02Your first API call: keys, messages, roles and the responseShort notes · 10 questions
  3. 03Writing good prompts: instructions, context and examplesShort notes · 10 questions
  4. 04System prompts, temperature and other settingsShort notes · 10 questions
  5. 05Structured output: JSON, schemas and checking it with PydanticShort notes · 10 questions
  6. 06Multi-turn chat: history, context limits and summarisingShort notes · 10 questions
  7. 07Cost, rate limits, retries and streamingShort notes · 11 questions
  8. 08Choosing a model: open or closed, small or large, running one locally, when to fine-tuneShort notes · 10 questions