Skip to content

Context

Definition
AI-generated

In large language model systems, context is the information the model can attend to in a single inference—typically the concatenation (or structured packing) of system instructions, user input, retrieved passages, tool outputs, and (in chat setups) prior turns.

Why it matters in GWAS

Logging and versioning the full context—not only the final user question—matters for reproducibility when LLMs summarize methods, harmonize traits, or validate summary-statistic columns; retrieval and chunking choices change the context and therefore the answer.

Example usage

"We diffed the two runs and found the mismatch was extra PubMed paragraphs in the second context, not a model upgrade."

References

  • Brown T, et al. (2020). Language models are few-shot learners. NeurIPS.
  • Vaswani A, et al. (2017). Attention is all you need. NeurIPS.

Last updated (UTC · Git history)