siddhant

Knowledge / Generative AI

Prompting and Context Engineering

Instructions, demonstrations, structured outputs, context construction, and inference-time control.

By Siddhant Krishna · Published 2026-10-06 · Updated 2026-10-06

01

Prompt Structure

  • Task definition.
  • Relevant context.
  • Constraints.
  • Examples.
  • Output schema.
  • Verification requirements.

02

Context Engineering

Context engineering treats the entire model input as a system-design problem. Retrieved documents, conversation state, tool results, examples, and system instructions compete for limited context capacity and therefore must be selected deliberately.

References

  1. Brown et al. (2020), Advances in Neural Information Processing Systems.
    https://arxiv.org/abs/2005.14165
  2. Vaswani et al. (2017), Advances in Neural Information Processing Systems.
    https://arxiv.org/abs/1706.03762

Related

Contact

Get in Touch

Want to chat? Just shoot me a dm with a direct question on twitter and I'll respond whenever I can. I will ignore all soliciting.