QuestionQ13

Prompt and Context Engineering

Your Claude application processes 50-page legal contracts and generates summaries with citation references to the source. The team is considering whether to send each contract as a whole or divide it into smaller pieces. The contracts fit within Claude’s context window.

Initial testing indicates that whole-document processing produces summaries with better cross-section reasoning, but citation accuracy occasionally drifts in later sections. Chunked processing yields stronger citation accuracy for each chunk but loses cross-section reasoning. The team has not yet decided which property is more important. How would you guide the team’s decision?

Explanation

The processing approach should be driven by the quality property that is most important to the application’s actual use case: whole-document processing favors reasoning across contract sections, while chunking favors citation precision within each section. The selected approach should then be tested against representative contracts to confirm that it meets the required quality standard.

Community Discussion

No comments yet. Be the first to start the discussion!