A system pattern combining retrieval with generation to ground output in external memory or documents.