Loading courses, problems and your progress. This takes just a moment.
0s
Generative AI & LLM APIs Cheat Sheet
Key ideas
Token ≈ ¾ of a word · you pay for input + output tokens
Temperature: low = steady, high = creative
LLMs have no memory: resend the conversation every call
Try: prompt → RAG → fine-tune
Prompt template
Role: You are a ...
Task: Do ... in under N words
Context: <data> ... </data>
Format: Return JSON like {...}
If unsure, say you don't know.