Retrieval-augmented generation: preparing source documents, maintaining indexes, and evaluating whether retrieval finds useful evidence.