問題文
A company policy handbook is revised every month. An agent must answer questions about the current policy and must be able to show which paragraph its answer came from. Which approach satisfies both requirements?
選択肢
- Fine-tune the model on the handbook every month.
- Put the whole handbook into the system prompt of every request.
- Have the agent generate the answer from its own knowledge and then search the handbook for a paragraph that supports it, attaching that paragraph as the citation so that every answer is delivered with a reference to the source document.
- Retrieve the relevant paragraphs at request time and generate the answer from them, keeping the reference to each retrieved passage.