問題文
An agent must look up shared facts and also answer about a document the user just uploaded. How should the two be handled?
選択肢
- Add the uploaded document to the shared index on every request so that the same search tool answers both kinds of question and only one retrieval path has to be maintained
- A search tool over the shared index for the facts, and a per-request analysis or a file search over the single document that the user has only just now uploaded
- Rely on the shared index only and ignore the uploaded document, asking the user to add it to the shared source first if they want questions answered about it
- Put the entire shared index into the prompt along with the uploaded document, so the model can weigh the shared facts and the new document against each other directly