CertBrain
Sign in
← Back to decks
Sign in to save your progress.Sign in

How Generative AI Models Work

Generative AI models such as large language models write text by predicting what comes next. This lesson explains tokens, embeddings, prompts and the temperature setting, so you can describe how a model turns a prompt into a completion on the AI-901 exam.

10 cards

How Generative AI Models Work

In this lesson · 5 sections
Step 5 of 5

On the exam

Watch for three traps. First, rules and tone that must apply to every conversation belong in the system prompt, not in each user prompt. Second, temperature controls randomness, not accuracy or length. Third, when the need is to answer from your own current documents without retraining, the answer is RAG: retrieve the relevant text and add it to the prompt. If a question says the model must remember an earlier turn, think conversation history sent back inside the next prompt, not a change to the model.

CertBrain is an independent study tool. It is not affiliated with, endorsed by, or sponsored by Amazon Web Services, Inc. or Microsoft. Learn more

Quiz me on this
Token
Save
Embedding
Save
Prompt and completion
Save
System prompt vs user prompt
Save
Temperature
Save
Retrieval augmented generation (RAG)
Save