Chat Completions API, OpenAI, 2024 (OpenAI) - Official documentation illustrating how to structure messages with roles (system, user, assistant) to provide conversational context to large language models, implicitly covering the concept of a context window.
Introduction to Algorithms, Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein, 2022 (MIT Press) - Chapter 10, 'Elementary Data Structures,' explains queues and their First-In, First-Out (FIFO) behavior, which is the underlying mechanism for conversation buffer memory's fixed-size, sliding window approach.