Skip to content

Context Window

Definition
AI-generated

The context window is the maximum number of tokens a language model can attend to in a single forward pass—covering system instructions, user input, retrieved documents, and (for chat models) prior turns—beyond which text must be truncated, summarized, or split across calls.

Why it matters in GWAS

Long methods sections, full supplementary PDFs, or wide summary-statistic tables may exceed the window; chunking, retrieval, or column-wise processing affects what the model can “see” and therefore the reliability of automated checks or summaries.

Example usage

"We chunked the meta-analysis README into overlapping segments because the full file exceeded the API context window."

References

  • Vaswani A, et al. (2017). Attention is all you need. NeurIPS.

Last updated (UTC · Git history)