RAG results contain redundant chunks.
Reduce context while preserving evidence and conditions.
Choose two appropriate practices.
Extract query-relevant sentences and preserve negations, conditions, source, version, and authorization metadata.
Detailed explanation
Unneeded input, cost, and latency can be reduced.
Unneeded input, cost, and latency can be reduced.
Compression must not change meaning or remove traceability.
Compression must not change meaning or remove traceability.
Important exceptions may be lost.
Important exceptions may be lost.
The source boundary still applies.
The source boundary still applies.
Try it yourself
An example you can run in a temporary verification environment.
AWS公式AIF-C01 Domain 3.2のRAGコンテキスト設計と出典管理を確認する。Expected result
コンテキスト削減と、情報欠落・出典保持のトレードオフを説明できる。Key points
- Compression
- Conditions
- Sources
Notes
- Environment: AWS公式AIF-C01試験ガイドとAWS公式ドキュメントの確認
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.