An insurer wants a chatbot that answers policy questions using its own documents, and the documents change monthly. Which architecture fits?
- Exam domain
- Generative AI architectures and use cases
- Difficulty
- Medium
- In this mock
- 5 questions on this domainPractise this domain
Why D is the answer
A chat model with retrieval-augmented generation over the documents
RAG retrieves the current documents at request time, so answers stay current without retraining when the policies change.
Remember: Changing documents: RAG.
In detail
- Changing facts: retrieve them.
- Tune for behaviour, not facts.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A rules-based FAQ with no model, rewritten by hand every time a policy changes anywhereWrong
Hand-written rules do not scale to free-form questions.
B. Prompt tuning on a fixed snapshotWrong
A fixed snapshot goes stale.
C. Fine-tune every month on the policy textWrong
Monthly fine-tuning is costly and still lags.
D. A chat model with retrieval-augmented generation over the documentsRight
Changing documents: RAG.
Use case
An illustrative scenario, not a real incident.
Illustrative: a claims bot cites the policy section it used for every answer.
See it in different ways
flowchart LR S0["Chunk documents"] --> S1["Embed and index"] --> S2["Retrieve for the question"] --> S3["Generate with the passages"]
How to read this chart
- Read it in order: Chunk documents, then Embed and index, then Retrieve for the question, then Generate with the passages.
flowchart TD
Q{"What needs to change?"}
Q -->|"Wording of one request"| A0["Prompt engineering"]
Q -->|"Behaviour on one task, weights frozen"| A1["Prompt tuning"]
Q -->|"Deeper task skill"| A2["LoRA fine-tuning"]
Q -->|"Facts that change"| A3["RAG"]How to read this chart
- At "What needs to change?": if "Wording of one request", go to "Prompt engineering"; if "Behaviour on one task, weights frozen", go to "Prompt tuning"; if "Deeper task skill", go to "LoRA fine-tuning"; if "Facts that change", go to "RAG".