Source prompt and completion