Skip to main content

Put document context directly into prompts

Contextโ€‹

The first prototype had a small corpus and needed a fast way to validate the interaction.

Decisionโ€‹

For the prototype only, supply a bounded collection of documents directly in the prompt. This reduced setup effort but made source selection and versioning difficult to audit.

Consequencesโ€‹

Prompt size grew with the collection. The shared record remains here as history; ADR-0002 replaces the approach when the corpus grows. No private implementation plan is required to understand that change.