The encyclopedic work "Taiping Guangji" (太平廣記) was compiled under the direction of Li Fang (李昉) and others during the Song Dynasty. This vast collection of anecdotes and stories served as a significant resource for later Buddhist literature and scholarship.