Stuffing the prompt places a source document or large reference text alongside a question, giving the model an open-book context for answering topics absent from its training. section 3.2
A Spring application implements the technique by:
- Storing Burger Battle rules in a classpath text file. section 3.2
Answering a rules question
Asking what the Destroy card does returns an answer grounded in the supplied Burger Battle rules. The same endpoint can answer a chess question when chess rules are available.
