A short conversational question lacks context and misses documents.
Build a complete search query from the conversation.
Choose two appropriate practices.
Rewrite the question into a self-contained query while preserving intent, permissions, and constraints, then validate the generated query.
Detailed explanation
A rewrite must not widen scope or change authorization.
Query rewriting cannot change access rights.
Pronouns and omitted terms can be made searchable.
Generated queries are untrusted data and need checks.
Check official documentation
Compare the following points with the official documentation.
AWS公式AIF-C01 Domain 3.2のRAG検索設計とプロンプトインジェクション対策を確認する。
Official references
What to confirm
検索用クエリ改善と、認可・意図の保持を両立する方法を説明できる。
Key points
- Query rewrite
- Intent
- Permissions
Notes
- Environment: AWS公式AIF-C01試験ガイドとAWS公式ドキュメントの確認
- Compare the definition with the AIF-C01 objective and the service documentation before applying it.
- Keep the concept separate from a particular answer choice or implementation step.
Foundation review
Query rewriting
Transforming a conversational question into a self-contained query suitable for retrieval.
Intent preservation
Keeping the user's purpose, constraints, scope, and authorization intact after transformation.