QuestionQ15
VerifiedContext Compression and CompactionA context engineer is building a retrieval-augmented generation agent on Databricks to answer questions about a large collection of legal contracts. Each contract is a structured PDF averaging 40 pages, with clearly defined sections such as “Definitions,” “Obligations,” and “Termination Clauses.” The embedding model in use has a 512-token context window. User queries are highly targeted, such as “What are the termination conditions in the indemnification clause?”, and require precise, clause-level retrieval rather than broad document summaries.
Which chunking strategy should the context engineer use?
Community Discussion